有人用过bower吗?
发布于 2年前 作者 sergiozhao 1101 次浏览

我用清华的registry怎么下不下来… ? 换了下其他的registry貌似也找不到

2 回复

我用官方源是可以的

➤➤ npm install bower
npm http GET https://registry.npmjs.org/bower
npm http 200 https://registry.npmjs.org/bower
npm http GET https://registry.npmjs.org/bower/-/bower-0.6.6.tgz
npm http 200 https://registry.npmjs.org/bower/-/bower-0.6.6.tgz
...此处省略很多行...
npm http GET https://registry.npmjs.org/traverse
npm http 200 https://registry.npmjs.org/traverse
npm http GET https://registry.npmjs.org/traverse/-/traverse-0.3.9.tgz
npm http 200 https://registry.npmjs.org/traverse/-/traverse-0.3.9.tgz
npm WARN prefer global [email protected] should be installed with -g

> [email protected] postinstall /opt/www/lottery/node_modules/bower
> node cleanup

[email protected] node_modules/bower
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected])

清华的npm源好像有问题. 我的Ubuntu用它的源也经常连不上, 然后被我换了. http://mirrors.tuna.tsinghua.edu.cn/

回到顶部