1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

brunch.ioのインストールに失敗した(ansi-colorのせい?)

Last updated at Posted at 2014-02-02

Nodeよくわからん人です。

ansi-colorで失敗しているらしい。

$ npm install -g brunch
(略)
npm http 304 https://registry.npmjs.org/connect-slashes
npm http 304 https://registry.npmjs.org/ansi-color
npm http GET http://packages:5984/ansi-color/-/ansi-color-0.2.1.tgz
npm ERR! fetch failed http://packages:5984/ansi-color/-/ansi-color-0.2.1.tgz
(略)
npm http GET http://packages:5984/ansi-color/-/ansi-color-0.2.1.tgz
npm ERR! fetch failed http://packages:5984/ansi-color/-/ansi-color-0.2.1.tgz
npm http GET http://packages:5984/ansi-color/-/ansi-color-0.2.1.tgz
npm ERR! fetch failed http://packages:5984/ansi-color/-/ansi-color-0.2.1.tgz
npm ERR! network getaddrinfo ENOTFOUND
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network 
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

npm ERR! System Darwin 13.0.0
npm ERR! command "/usr/local/Cellar/node/0.10.25/bin/node" "/usr/local/bin/npm" "install" "-g" "brunch"
npm ERR! cwd /Users/myname/Works/demo/frontend
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! syscall getaddrinfo
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/myname/Works/demo/npm-debug.log
npm ERR! not ok code 0

別にansi-colorをインストールしたらいけたっぽい。

$ npm install -g ansi-color
$ npm install -g brunch

※やべー、再現しない

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?