安装React Native出现的WARN unmet dependency
安装React Native时,出现下面的WARN
/usr/local/bin/react-native -> /usr/local/lib/node_modules/react-native-cli/index.js
npm WARN unmet dependency /usr/local/lib/node_modules/npm/node_modules/read-installed/node_modules/readdir-scoped-modules requires graceful-fs@'^4.1.2' but will load
npm WARN unmet dependency /usr/local/lib/node_modules/npm/node_modules/read-installed/node_modules/graceful-fs,
npm WARN unmet dependency which is version 3.0.8
[email protected] /usr/local/lib/node_modules/react-native-cli
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
请问是缺少npm包吗?
我又执行了sudo npm install -g graceful-fs
,还是不行