小编Cha*_*itu的帖子

npm install 返回 syscall spawn git 错误

我尝试运行 npm install 并在下面遇到这些问题

我尝试使用强制命令清除缓存,安装 git 和更新节点,但没有任何效果

这是错误

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 ssh://git@github.com/eligrey/FileSaver.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 …
Run Code Online (Sandbox Code Playgroud)

git node.js npm node-modules angular

12
推荐指数
2
解决办法
1万
查看次数

标签 统计

angular ×1

git ×1

node-modules ×1

node.js ×1

npm ×1