React-native-ignite没有安装依赖项

时间:2016-12-17 01:15:14

标签: android reactjs react-native

所以我正确地做了一切,但在我跑完

之后
ignite new MyApplication

出现:

⠋ Copying Ignite goodies
➟ Package manager:  [ ]︎ npm  |  [✔︎]︎ yarn
 Installing Ignite dependencies (~ 1 minute-ish)
✔︎ Linking external libs
✔︎ Updating android manifest file
⠋ Updating android manifest file/bin/sh: 1: plutil: not found
✔︎ Updating PList file
✔︎ Cleaning up after messy guests

Time to get cooking!  

To run in iOS:
  cd MyApplication
  react-native run-ios

To run in Android:
  cd MyApplication
  react-native run-android

所以它显示了一个' x' on"安装依赖项" 当我使用" react-native run-android"运行应用程序时 它说构建成功,但在模拟器中出现错误:

Requiring unknown module "reduxsauce".If
you are sure the module is there, try
restarting the packager or running "npm
install".

我试过了,但它没有解决我的问题。

1 个答案:

答案 0 :(得分:0)

在项目文件夹中生成:

yarn

npm install