Unable to install via npm in vagrant
Closed this issue · 4 comments
I am running into an issue with installing butler via npm in vagrant. I've updated node and npm but maybe this is only an issue with vagrant: npm/npm#9633 (comment). Either way I'm reporting it in case other people run into the issue. Does it make sense to add it as a git clone instead?
npm ERR! Linux 3.19.0-47-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--save" "git://github.com/palantirnet/butler.git"
npm ERR! node v5.9.1
npm ERR! npm v3.8.3
npm ERR! path /var/www/palantir20.local/node_modules/@palantirnet/butler/bin/butler
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/var/www/palantir20.local/node_modules/@palantirnet/butler/bin/butler'
npm ERR! enoent ENOENT: no such file or directory, chmod '/var/www/palantir20.local/node_modules/@palantirnet/butler/bin/butler'
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
npm ERR! Please include the following file with any support request:
npm ERR! /var/www/palantir20.local/npm-debug.log
npm ERR! code 1
Looking through the npm-debug log this appears to be where the error is occurring:
74250 verbose unlock done using /home/vagrant/.npm/_locks/palantirnet-butler-4201a16bbdbb7355.lock for /var/www/palantir20.local/node_modules/@palantirnet/butler
74251 verbose stack Error: ENOENT: no such file or directory, chmod '/var/www/palantir20.local/node_modules/@palantirnet/butler/bin/butler'
74251 verbose stack at Error (native)
Getting the same error on my host machine. I don't think we want to git clone because the point of having it as a dependency is to allow projects to get updates while still in development.
"name" in package.json must be the same as folder name.
(from npm/npm#11698)
Working on this here - https://palantir.atlassian.net/browse/BUTLER-12
Closing this in favor of JIRA