Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannost install js-yaml #55

Closed
Almad opened this issue Nov 9, 2012 · 1 comment
Closed

Cannost install js-yaml #55

Almad opened this issue Nov 9, 2012 · 1 comment

Comments

@Almad
Copy link

Almad commented Nov 9, 2012

Just tried on a clean install. Randomly-tested other modules are OK:

almad@namtar /tmp $ node --version
v0.6.10
almad@namtar /tmp $ npm --version
1.1.0-3
almad@namtar /tmp $ npm install js-yaml
npm http GET https://registry.npmjs.org/js-yaml
npm http 200 https://registry.npmjs.org/js-yaml
npm http GET https://registry.npmjs.org/js-yaml/-/js-yaml-1.0.3.tgz
npm http 200 https://registry.npmjs.org/js-yaml/-/js-yaml-1.0.3.tgz
npm http GET https://registry.npmjs.org/argparse
npm http 200 https://registry.npmjs.org/argparse
npm http GET https://registry.npmjs.org/argparse/-/argparse-0.1.7.tgz
npm http 200 https://registry.npmjs.org/argparse/-/argparse-0.1.7.tgz
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/underscore.string
npm http 200 https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/underscore/-/underscore-1.3.3.tgz
npm http 200 https://registry.npmjs.org/underscore.string
npm http GET https://registry.npmjs.org/underscore.string/-/underscore.string-2.1.1.tgz
npm http 200 https://registry.npmjs.org/underscore/-/underscore-1.3.3.tgz
npm http 200 https://registry.npmjs.org/underscore.string/-/underscore.string-2.1.1.tgz
npm ERR! error installing js-yaml@1.0.3

npm ERR! Error: ENOENT, no such file or directory '/tmp/node_modules/js-yaml/bin/js-yaml.js'
npm ERR! 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! 
npm ERR! System Linux 3.2.1-gentoo-r2
npm ERR! command "node" "/home/almad/.nvm/v0.6.10/bin/npm" "install" "js-yaml"
npm ERR! cwd /tmp
npm ERR! node -v v0.6.10
npm ERR! npm -v 1.1.0-3
npm ERR! path /tmp/node_modules/js-yaml/bin/js-yaml.js
npm ERR! code ENOENT
npm ERR! message ENOENT, no such file or directory '/tmp/node_modules/js-yaml/bin/js-yaml.js'
npm ERR! errno {}
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /tmp/npm-debug.log
npm not ok
almad@namtar /tmp $ 
@puzrin
Copy link
Member

puzrin commented Nov 9, 2012

That's 99% npm issue.

  1. Upgrade youe node. If you really need 0.6 branch - to latest 0.6.XX
  2. Delete existing js-yaml folder
  3. Delete npm cache
  4. Install again.

Or just search in previous issues, how people solved npm troubles.

@puzrin puzrin closed this as completed Nov 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants