【发布时间】:2017-06-01 11:48:11
【问题描述】:
我们的 React Native 应用程序有一个后端依赖项 (react-native-ble-plx),需要使用 carthage 编译后端框架。每次我运行 npm install 时,这个依赖依赖的 iOS 框架都会重新编译,这需要很长时间(> 10 分钟)。
有没有办法(npm 参数?)让npm install 每次运行时都不会从头开始重新编译所有内容?
【问题讨论】:
-
npm update能做到吗? -
纱线更快
-
@JamesQMurphy
npm update可以解决问题。请提供答案,以便我接受。
标签: react-native npm npm-install react-native-ios