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

ENOENT during npm install #16

Open
weedgrease opened this issue Sep 23, 2016 · 4 comments
Open

ENOENT during npm install #16

weedgrease opened this issue Sep 23, 2016 · 4 comments

Comments

@weedgrease
Copy link

weedgrease commented Sep 23, 2016

npm ERR! Linux 3.13.0-96-generic
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.10.25
npm ERR! npm  v3.10.8
npm ERR! path /vagrant/dashboard/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/bin/sshpk-conv
npm ERR! code ENOENT
npm ERR! errno 34

npm ERR! enoent ENOENT, chmod '/vagrant/dashboard/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/bin/sshpk-conv'
npm ERR! enoent ENOENT, chmod '/vagrant/dashboard/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/bin/sshpk-conv'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

Most of my debug log is here: https://gist.github.com/kevingelion/7343d98fa5734719fed06085fe8ddd69

@tkgalk
Copy link

tkgalk commented Dec 22, 2016

Same here. Vagrant machine is affected.

@austinried
Copy link

Was there ever a workaround or solution to this discovered? I am trying to upgrade an existing project to node 6 and I'm unable to run npm install due to another module's dependency on this package and the above error.

@arekinath
Copy link
Contributor

The published sshpk packages definitely all contain the file being complained about in the log above. In the debug log linked, you can clearly see the sshpk-conv file being extracted by npm earlier in the process.

I also can't reproduce this on any node or npm version I have access to (or any running on prod machines at Joyent). So, in short, I'm having trouble understanding how this can be an issue with sshpk. If someone with access to a machine experiencing the problem can debug it further and suggest a fix, I'm happy to take it, but I don't have any suggestions, sorry.

@RiverSongFox
Copy link

I had a similar issue with npm 4.1.2, and it disappeared after updating to latest 4.6.1. There is also a workaround for the issue: npm install --no-bin-links; in this case, npm won't attempt to chmod these files.

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

5 participants