我在移动android设备上运行应用程序时不断收到此错误,任何人都可以帮助。安卓反应 - 获取“需要未知的模块反应”
实际的错误:
Error: Requiring unknown module "react". If you are sure the module is there, try restarting the package or running "npm install". (index.android.bundle:93)
我在移动android设备上运行应用程序时不断收到此错误,任何人都可以帮助。安卓反应 - 获取“需要未知的模块反应”
实际的错误:
Error: Requiring unknown module "react". If you are sure the module is there, try restarting the package or running "npm install". (index.android.bundle:93)
发展中国家阵营的本机应用
人大常委会在项目的根fgrep一样-rlo“响应”时,这是一个很常见的错误。 | grep -v“node_modules”会给你所有“React”被调用的地方
如果这不能帮助你找到你的问题,有很多东西你可以尝试,但你将不得不提供更多的代码
希望这有助于
尝试删除node_modules
文件夹,并在命令行中,在项目的根目录运行npm install
。如果仍然失败,请尝试运行npm install react --save