npm安装无法正常工作并显示错误

时间:2020-03-21 13:59:30

标签: react-native npm installation

很多时候,我会遇到npm install这样的错误: 帮助将不胜感激,谢谢。...

    npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t https://github.com/naver/hammer.js.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Rafay\AppData\Roaming\npm-cache\_logs\2020-03-21T13_50_14_353Z-debug.log

0 个答案:

没有答案