CentOS 安装 bower


安装bower前,需要先安装 nodejs 和 npm 。

# yum install nodejs

# yum install npm

然后通过npm 安装bower,但是在安装的过程中报错

#npm install -g bower


npm ERR!     at SecurePair. (tls.js:1430:32)
npm ERR!     at SecurePair.emit (events.js:92:17)
npm ERR!     at SecurePair.maybeInitFinished (tls.js:1029:10)
npm ERR!     at CleartextStream.read [as _read] (tls.js:521:13)
npm ERR!     at CleartextStream.Readable.read (_stream_readable.js:341:10)
npm ERR!     at EncryptedStream.write [as _write] (tls.js:418:25)
npm ERR!     at doWrite (_stream_writable.js:226:10)
npm ERR!     at writeOrBuffer (_stream_writable.js:216:5)
npm ERR!     at EncryptedStream.Writable.write (_stream_writable.js:183:11)
npm ERR!     at write (_stream_readable.js:602:24)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Linux 2.6.32-696.1.1.el6.x86_64
npm ERR! command "node" "/usr/bin/npm" "install" "-g" "bower"
npm ERR! cwd /yjdata/www/fastadmin
npm ERR! node -v v0.10.48
npm ERR! npm -v 1.3.6
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /yjdata/www/fastadmin/npm-debug.log
npm ERR! not ok code 0


# npm config set strict-ssl false

或者:npm config set registry=”http://registry.npmjs.org/”

然后再执行:npm install -g bower



6 thoughts on “CentOS 安装 bower

  1. longchamp bags

    My wife and i have been now ecstatic Raymond could complete his homework with the precious recommendations he received in your blog. It’s not at all simplistic to simply possibly be giving out points the others might have been selling. And we grasp we’ve got the writer to be grateful to for that. These explanations you made, the easy site navigation, the relationships you will assist to create – it’s got everything astonishing, and it’s really aiding our son and us understand this subject is fun, which is extremely vital. Many thanks for all!

  2. golden goose sneakers

    I enjoy you because of all your valuable efforts on this web page. My aunt loves conducting internet research and it’s really obvious why. My partner and i hear all regarding the compelling means you deliver both interesting and useful things by means of this web site and even attract participation from people on that area of interest so our simple princess is in fact studying a lot. Take advantage of the remaining portion of the year. Your carrying out a brilliant job.

  3. satta king

    I simply couldn’t go away your site before suggesting that I actually loved the usual information a person supply on your visitors? Is gonna be back ceaselessly in order to inspect new posts

  4. kd 11

    My husband and i got absolutely joyful Ervin could complete his web research while using the ideas he came across through the web pages. It’s not at all simplistic to just continually be handing out points which usually many people could have been making money from. And we all fully grasp we have got the blog owner to be grateful to for this. These explanations you made, the straightforward website menu, the relationships you will help create – it is mostly astounding, and it’s really leading our son in addition to the family reckon that this issue is amusing, which is exceptionally important. Thanks for all!