急速模块图中不存在模块“反应”

时间:2018-08-23 05:52:26

标签: react-native linkedin react-native-android react-native-ios linkedin-api

我正在尝试在我的应用程序中进行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 个答案:

答案 0 :(得分:4)

在终端中运行此命令,然后重试

npm start -- --reset-cache