正在查找无效目录

时间:2015-12-27 00:58:10

标签: javascript node.js react-native babeljs

我正在帮助一个项目。代码主要使用TypeScript编写。我们使用babel来翻译ES6-> ES5。前端采用反应原生技术开发。最近,在更新了babel之后,包裹变得“失踪”。我手动在本地安装每个软件包,并逐个让项目编译到下面的错误,显示在打包程序启动后的某个时间。

+ react-native bundle --entry-file index.ios.js --platform ios --dev true --bundle-output /Users/shmukler/Library/Developer/Xcode/DerivedData/MyApp-gjqyntaykupdmhaecjypkdppuznf/Build/Products/Debug-iphonesimulator/MyApp.app/main.jsbundle --assets-dest /Users/shmukler/Library/Developer/Xcode/DerivedData/MyApp-gjqyntaykupdmhaecjypkdppuznf/Build/Products/Debug-iphonesimulator/MyApp.app
uncaught error Error: UnableToResolveError: Unable to resolve module LinkedStateMixin from /Users/shmukler/Projects/myproject/myapp-ios/node_modules/react-native/Libraries/react-native/react-native.js: Invalid directory /Users/node_modules/LinkedStateMixin

我使用npm install react-addons-pure-render-mixin安装了LinkedStateMinin,就像所有其他软件包一样。为什么要寻找它 / Users / node_modules / LinkedStateMixin?我怎么能改变呢?指定的路径在哪里?我可以手动破解路径只是为了让应用程序构建,作为向前推进的临时方式吗?

谢谢

0 个答案:

没有答案