You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"
The text was updated successfully, but these errors were encountered:
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
$ 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"
The text was updated successfully, but these errors were encountered: