undefined ls-remote -h 报错问题如下:
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/talyssonoc/react-katex.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:
解决方案:
安装git,之后重新开cmd命令窗口执行即可。
未经允许不得转载:最优质网--最有指望 » undefined ls-remote -h 报错问题
评论前必须登录!
登陆 注册