马春杰杰 Exit Reader Mode

npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/postlight/browser-request.git

安装Rsshub,在npm install这一步报错:

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

解决方法:

npm i --save module-alias
npm install dotenv
npm install https-proxy-agent

成功解决:

 RSSHub安装说明:

本文最后更新于2020年7月20日,已超过 1 年没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!