node-lessons icon indicating copy to clipboard operation
node-lessons copied to clipboard

lesson3的依赖好像不能用了

Open zhanwen opened this issue 8 years ago • 5 comments

安装时,报错,返回404 Registry returned 404 for GET on https://registry.npmjs.org/PACKAGE_NAME`

zhanwen avatar Mar 15 '16 13:03 zhanwen

具体的语句是什么?

2016-03-15 21:47 GMT+08:00 hanwen [email protected]:

安装时,报错,返回404 Registry returned 404 for GET on https://registry.npmjs.org/PACKAGE_NAME`

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/alsotang/node-lessons/issues/86

alsotang avatar Mar 15 '16 14:03 alsotang

https://registry.npmjs.org/PACKAGE_NAME https://registry.npmjs.org/PACKAGE_NAME%EF%BD%80 这不是一个正常的包名

2016-03-15 22:43 GMT+08:00 alsotang [email protected]:

具体的语句是什么?

2016-03-15 21:47 GMT+08:00 hanwen [email protected]:

安装时,报错,返回404 Registry returned 404 for GET on https://registry.npmjs.org/PACKAGE_NAME`

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/alsotang/node-lessons/issues/86

alsotang avatar Mar 15 '16 14:03 alsotang

@alsotang 具体的语句是,我执行这行命令报错, npm install --save PACKAGE_NAME
报错信息是如下
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/PACKAGE_NAME npm ERR! 404 'PACKAGE_NAME' is not in the npm registry.

zhanwen avatar Mar 16 '16 11:03 zhanwen

@zhanwen 你需要把PACKAGE_NAME换成相应的包名的。

npm install express superagent cheerio --save

funnyData avatar Mar 17 '16 00:03 funnyData

@funnyData 谢谢,我还以为这是集成好的呢,现在发现这个问题问的太low了

zhanwen avatar Mar 17 '16 05:03 zhanwen