cnpmjs怎么变慢了,基本不能用啊
发布于 1年前 作者 dlutwuwei 650 次浏览

换回npmjs.org 还是很慢,找个源真不容易,是不是得自己搭一个了

6 回复

什么情况?能描述详细一些吗?

很慢,而且在文件下载到中间的时候卡住,长时间没有反应,难道服务器在国外,今天上github,google都巨卡

@dlutwuwei 有可能是你安装的包依赖了 github 上的包

@dlutwuwei 具体的包名是?

@dlutwuwei

$ cnpm install cheerio --no-cache
npm http GET http://r.cnpmjs.org/cheerio
npm http 200 http://r.cnpmjs.org/cheerio
npm http GET http://r.cnpmjs.org/cheerio/download/cheerio-0.15.0.tgz
npm http 200 http://r.cnpmjs.org/cheerio/download/cheerio-0.15.0.tgz
npm http GET http://r.cnpmjs.org/entities
npm http GET http://r.cnpmjs.org/CSSselect
npm http GET http://r.cnpmjs.org/lodash
npm http GET http://r.cnpmjs.org/htmlparser2
npm http 200 http://r.cnpmjs.org/CSSselect
npm http GET http://r.cnpmjs.org/CSSselect/download/CSSselect-0.4.1.tgz
npm http 200 http://r.cnpmjs.org/htmlparser2
npm http GET http://r.cnpmjs.org/htmlparser2/download/htmlparser2-3.7.1.tgz
npm http 200 http://r.cnpmjs.org/htmlparser2/download/htmlparser2-3.7.1.tgz
npm http 200 http://r.cnpmjs.org/CSSselect/download/CSSselect-0.4.1.tgz
npm http 200 http://r.cnpmjs.org/entities
npm http GET http://r.cnpmjs.org/entities/download/entities-1.0.0.tgz
npm http 200 http://r.cnpmjs.org/entities/download/entities-1.0.0.tgz
npm http 200 http://r.cnpmjs.org/lodash
npm http GET http://r.cnpmjs.org/lodash/download/lodash-2.4.1.tgz
npm http 200 http://r.cnpmjs.org/lodash/download/lodash-2.4.1.tgz
npm http GET http://r.cnpmjs.org/domutils
npm http GET http://r.cnpmjs.org/domelementtype
npm http GET http://r.cnpmjs.org/readable-stream
npm http GET http://r.cnpmjs.org/domhandler
npm http GET http://r.cnpmjs.org/CSSwhat
npm http 200 http://r.cnpmjs.org/domhandler
npm http GET http://r.cnpmjs.org/domhandler/download/domhandler-2.2.0.tgz
npm http 200 http://r.cnpmjs.org/domelementtype
npm http GET http://r.cnpmjs.org/domelementtype/download/domelementtype-1.1.1.tgz
npm http 200 http://r.cnpmjs.org/domutils
npm http GET http://r.cnpmjs.org/domutils/download/domutils-1.4.3.tgz
npm http 200 http://r.cnpmjs.org/domelementtype/download/domelementtype-1.1.1.tgz
npm http 200 http://r.cnpmjs.org/readable-stream
npm http GET http://r.cnpmjs.org/readable-stream/download/readable-stream-1.1.12.tgz
npm http 200 http://r.cnpmjs.org/readable-stream/download/readable-stream-1.1.12.tgz
npm http 200 http://r.cnpmjs.org/domutils/download/domutils-1.4.3.tgz
npm http 200 http://r.cnpmjs.org/CSSwhat
npm http GET http://r.cnpmjs.org/CSSwhat/download/CSSwhat-0.4.5.tgz
npm http 200 http://r.cnpmjs.org/CSSwhat/download/CSSwhat-0.4.5.tgz
npm http 200 http://r.cnpmjs.org/domhandler/download/domhandler-2.2.0.tgz
npm http GET http://r.cnpmjs.org/core-util-is
npm http GET http://r.cnpmjs.org/isarray/0.0.1
npm http GET http://r.cnpmjs.org/string_decoder
npm http GET http://r.cnpmjs.org/inherits
npm http 200 http://r.cnpmjs.org/core-util-is
npm http GET http://r.cnpmjs.org/core-util-is/download/core-util-is-1.0.1.tgz
npm http 200 http://r.cnpmjs.org/isarray/0.0.1
npm http GET http://r.cnpmjs.org/isarray/download/isarray-0.0.1.tgz
npm http 200 http://r.cnpmjs.org/string_decoder
npm http GET http://r.cnpmjs.org/string_decoder/download/string_decoder-0.10.25-1.tgz
npm http 200 http://r.cnpmjs.org/string_decoder/download/string_decoder-0.10.25-1.tgz
npm http 200 http://r.cnpmjs.org/core-util-is/download/core-util-is-1.0.1.tgz
npm http 200 http://r.cnpmjs.org/isarray/download/isarray-0.0.1.tgz
npm http 200 http://r.cnpmjs.org/inherits
npm http GET http://r.cnpmjs.org/inherits/download/inherits-2.0.1.tgz
npm http 200 http://r.cnpmjs.org/inherits/download/inherits-2.0.1.tgz
[email protected] node_modules/cheerio
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected])
回到顶部