有人用过bower吗?
发布于 12 年前 作者 sergiozhao 5677 次浏览 最后一次编辑是 8 年前

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

5 回复

我用官方源是可以的

➤➤ 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 bower@0.6.6 should be installed with -g

> bower@0.6.6 postinstall /opt/www/lottery/node_modules/bower
> node cleanup

bower@0.6.6 node_modules/bower
├── stable@0.1.2
├── colors@0.6.0-1
├── archy@0.0.2
├── tmp@0.0.16
├── async@0.1.22
├── mkdirp@0.3.4
├── semver@1.1.1
├── request@2.11.4
├── hogan.js@2.0.0
├── lodash@0.9.2
├── nopt@2.0.0 (abbrev@1.0.3)
├── rimraf@2.0.2 (graceful-fs@1.1.14)
├── fstream@0.1.19 (inherits@1.0.0, graceful-fs@1.1.14)
├── tar@0.1.14 (inherits@1.0.0, block-stream@0.0.6)
├── vows@0.6.4 (eyes@0.1.8, diff@1.0.4)
├── rc@0.0.6 (config-chain@0.3.3, optimist@0.3.5)
├── read-package-json@0.1.12 (graceful-fs@1.1.14, lru-cache@2.0.4, slide@1.1.3, npmlog@0.0.2)
├── glob@3.1.14 (inherits@1.0.0, graceful-fs@1.1.14, minimatch@0.2.9)
└── unzip@0.0.4 (pullstream@0.0.4, binary@0.3.0)

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

@meteormatt 用cnpm 或者nrm

@i5ting 2年前的帖子了. 今天是不是论坛有问题. 各种老帖子都被翻出来了.

@meteormatt 那个人的问题,把所有webrtc的都翻出来了

回到顶部