安装NativeBase npm install native-base --save时出现此错误,但我的项目无法正常工作
npm WARN rm not removing E:\ReactNative\Project\node_modules\.bin\jest.cmd as it wasn't installed by E:\ReactNative\Project\node_modules\jest
npm WARN rm not removing E:\ReactNative\Project\node_modules\.bin\jest as it wasn't installed by E:\ReactNative\Project\node_modules\jest
npm WARN rm not removing E:\ReactNative\Project\node_modules\.bin\json5.cmd as it wasn't installed by E:\ReactNative\Project\node_modules\json5
npm WARN rm not removing E:\ReactNative\Project\node_modules\.bin\json5 as it wasn't installed by E:\ReactNative\Project\node_modules\json5
npm WARN rm not removing E:\ReactNative\Project\node_modules\.bin\esparse.cmd as it wasn't installed by E:\ReactNative\Project\node_modules\esprima
npm WARN rm not removing E:\ReactNative\Project\node_modules\.bin\esvalidate.cmd as it wasn't installed by E:\ReactNative\Project\node_modules\esprima
npm WARN rm not removing E:\ReactNative\Project\node_modules\.bin\esparse as it wasn't installed by E:\ReactNative\Project\node_modules\esprima
npm WARN rm not removing E:\ReactNative\Project\node_modules\.bin\esvalidate as it wasn't installed by E:\ReactNative\Project\node_modules\esprima发布于 2018-03-02 03:37:58
尝试使用以下命令进行更新:
npm i如果不工作,检查哪些文件或文件夹删除或编辑错误!
然后尝试npm install native-base --save并重新安装...
当您想要生成、清理项目并重新生成它时
https://stackoverflow.com/questions/49039905
复制相似问题