0
ReactNativeプロジェクトでnode_modulesを削除してクリーンなnpmをインストールした場合、「[email protected]に[email protected]のピアが必要ですが、何もインストールされていません」という警告が表示されます。しかし、私はpackage.jsonファイルで依存関係としてリストされて反応していますnpmがインストールされないのはなぜpackage.jsonからの反応ですか?
{
"name": "MyApp",
"version": "1.1.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start"
},
"dependencies": {
"lodash": "^4.17.2",
"moment": "^2.16.0",
"react": "^15.3.1",
"react-native": "^0.37.0",
"react-native-drawer": "^2.2.6",
"react-native-htmlview": "^0.5.0",
"react-native-keyboard-spacer": "^0.3.0",
"react-native-material-design": "^0.3.7",
"react-native-modal-picker": "0.0.16",
"react-native-modalbox": "^1.3.4",
"react-native-vector-icons": "^3.0.0",
"react-native-viewpager": "^0.2.13",
"rebound": "0.0.13"
}
}
意味があります!ミントありがとう。 –