hexojs / hexo

A fast, simple & powerful blog framework, powered by Node.js.
https://hexo.io
MIT License
39.52k stars 4.86k forks source link

install failed on mac osx with npm 2.0 node 0.10.32 #869

Closed iolo closed 10 years ago

iolo commented 10 years ago

as title said...

$ npm install -g hexo
info attempt registry request try #1 at 20:46:21
http request GET https://registry.npmjs.org/hexo
http 200 https://registry.npmjs.org/hexo
info attempt registry request try #1 at 20:46:23
http fetch GET https://registry.npmjs.org/hexo/-/hexo-2.8.3.tgz
...
http fetch 200 https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz
  SOLINK_MODULE(target) Release/fse.node
  SOLINK_MODULE(target) Release/fse.node: Finished
/usr/local/bin/hexo -> /usr/local/lib/node_modules/hexo/bin/hexo
npm ERR! Darwin 13.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "hexo"
npm ERR! node v0.10.32
npm ERR! npm  v2.0.0
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package npmconf does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer npm-registry-client@3.2.2 wants npmconf@^2.1.0
...
iolo commented 10 years ago

only with -g option.

tommy351 commented 10 years ago

Sorry, I don't know the reason. Maybe you can try to reinstall Node.js.

iolo commented 10 years ago

it's an early npm 2 issues and resolved with latest npm:

$ npm update -g

thanks.