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

Build fails on Node v8.7 (node-gyp) #405

Open
webarthur opened this issue Oct 15, 2017 · 4 comments
Open

Build fails on Node v8.7 (node-gyp) #405

webarthur opened this issue Oct 15, 2017 · 4 comments

Comments

@webarthur
Copy link

$ sudo npm i -g slap@latest

gyp WARN EACCES user "root" does not have permission to access the dev dir "/usr/lib/node_modules/slap/node_modules/marker-index/.node-gyp/8.7.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/slap/node_modules/marker-index/.node-gyp"

@TomSchillemans
Copy link

Still happens in node 9.3

@tomdol
Copy link

tomdol commented Mar 27, 2018

It's not a problem with slap or any other package that you want to install globally. If your nodejs was installed using apt-get for example, you might have problems with using 'sudo npm install ...' and the issue is probably in npm.

What helped me was cleaning the npm cache and then running install like this: sudo npm i -g --unsafe-perm slap

@JulesGM
Copy link

JulesGM commented Nov 29, 2018

this repo is not maintained anymore.

@MuhammadSawalhy
Copy link

See this issue, I have answered it, #414

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