alsotang / node-lessons

:closed_book:《Node.js 包教不包会》 by alsotang
16.54k stars 4.7k forks source link

lesson3的依赖好像不能用了 #86

Open zhanwen opened 8 years ago

zhanwen commented 8 years ago

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

alsotang commented 8 years ago

具体的语句是什么?

2016-03-15 21:47 GMT+08:00 hanwen notifications@github.com:

安装时,报错,返回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 commented 8 years ago

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

2016-03-15 22:43 GMT+08:00 alsotang alsotang@gmail.com:

具体的语句是什么?

2016-03-15 21:47 GMT+08:00 hanwen notifications@github.com:

安装时,报错,返回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

zhanwen commented 8 years ago

@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.

funnyData commented 8 years ago

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

npm install express superagent cheerio --save
zhanwen commented 8 years ago

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