简体   繁体   English

在节点模块中反应本机重建 .bin 文件夹

[英]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.

相关问题 React Native 无效 podfile“没有这样的文件或目录 - ./node_modules/.bin/react-native。” - React Native invalid podfile "No such file or directory - ./node_modules/.bin/react-native." React-native在ios文件夹中寻找node_modules - React-native looking for node_modules in ios folder 带有React Native的无效目录/ Users / node_modules / superagent - Invalid Directory /Users/node_modules/superagent with React Native React Native iOS构建-修改node_modules包中的文件 - React Native ios build - modifying a file in a node_modules package 运行 react-native 应用程序时出现 node_modules 错误 - node_modules error when running a react-native app UnableToResolveError:无法解析模块`。/ node_modules / react-native / packager / src / components` React Native - UnableToResolveError: Unable to resolve module `./node_modules/react-native/packager/src/components` React Native 如何在React Native中重建iOS Picker动画 - How to rebuild the iOS Picker animation in React Native 在 `../node_modules/react-native/React` 中找不到`React-Core` 的 podspec - No podspec found for `React-Core` in `../node_modules/react-native/React` react-native:这些文件都不存在:* node_modules/@sentry/types/dist/loglevel(.native| - react-native: None of these files exist: * node_modules/@sentry/types/dist/loglevel(.native| 在反应原生中需要模块 - Requiring Modules in react-native
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM