ReactNative找不到第三方报错

作者: 8ba7c349861d | 来源:发表于2018-05-30 17:05 被阅读17次
image.png

一般这种情况是因为同事添加了一个第三方的库导致的,重新安装即可。
其实,截图中已经提供了如下解决方法。
This might be related to https://github.com/facebook/react-native/issues/4968
To resolve try the following:

  1. Clear watchman watches: watchman watch-del-all.
  2. Delete the node_modules folder: rm -rf node_modules && npm install.
  3. Reset packager cache: rm -fr $TMPDIR/react-* or npm start -- --reset-cache.

相关文章

网友评论

    本文标题:ReactNative找不到第三方报错

    本文链接:https://www.haomeiwen.com/subject/gblxsftx.html