安装Rsshub,在npm install这一步报错:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm ERR! code ENOENT npm ERR! syscall spawn git npm ERR! path git npm ERR! errno -2 npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/postlight/browser-request.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! /root/.npm/_logs/2020-07-20T05_43_51_809Z-debug.log |
解决方法:
1 2 3 |
npm i --save module-alias npm install dotenv npm install https-proxy-agent |
成功解决:
RSSHub安装说明:
本文最后更新于2020年7月20日,已超过 1 年没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!