所以我正确地做了一切,但在我跑完
之后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".
我试过了,但它没有解决我的问题。
答案 0 :(得分:0)
在项目文件夹中生成:
yarn
或
npm install