[英]react native rebuild .bin folder in node modules
Cause of could not follow symbolic link
error after upgrading react native from 0.59.4 to 0.60.4, i should remove .bin folder.将 react native 从 0.59.4 升级到 0.60.4 后could not follow symbolic link
错误的原因,我应该删除 .bin 文件夹。 The problem is solved on android version but in iOS, when i use pod install
pod says :该问题在 android 版本上已解决,但在 iOS 中,当我使用pod install
pod 时说:
[!] Invalid `Podfile` file: No such file or directory - ./node_modules/.bin/react-native.
# from /path-to-project/ios/Podfile:40
# -------------------------------------------
#
> use_native_modules!
# end
# -------------------------------------------
Is there any way to rebuild .bin
folder?有没有办法重建.bin
文件夹?
Could you please help me?请你帮助我好吗?
Thanks谢谢
删除 node_modules 并重新安装。
rm -rf node_modules && npm i
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.