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

npm install fail #7

Open
macmenco opened this issue Mar 6, 2018 · 0 comments
Open

npm install fail #7

macmenco opened this issue Mar 6, 2018 · 0 comments

Comments

@macmenco
Copy link

macmenco commented Mar 6, 2018

The jenkins build fails with

npm ERR! path /var/jenkins_home/workspace/solitaire/node_modules/http-server/bin/http-server
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/var/jenkins_home/workspace/solitaire/node_modules/http-server/bin/http-server'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

As suggested in https://stackoverflow.com/questions/17990647/npm-install-errors-with-error-enoent-chmod, creating a .npmignore fixes the issue.

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

1 participant