作者:茶人2502933107 | 来源:互联网 | 2022-12-06 19:55
我正在尝试在我的应用程序中进行LinkedIn集成。所以,我做了如下:
安装的依赖项如下:
npm install react-native-linkedin --save;
因此,在启动应用程序时,出现以下错误:
Failed to load bundle(http://localhost:8081/index.bundle?
platform=ios&dev=true&minify=false)with
error:(Unable to resolve module 'react' from
'mypath/App.js':Module 'react' does not exist
in the Haste module map
可能是什么问题?谢谢。
1> 小智..:
在终端中运行此命令,然后重试
npm start -- --reset-cache