Skip to content

Instantly share code, notes, and snippets.

@Jirido
Last active March 15, 2020 15:09
Show Gist options
  • Save Jirido/b6dbf25f338432ca7c2f3acaa6f34e97 to your computer and use it in GitHub Desktop.
Save Jirido/b6dbf25f338432ca7c2f3acaa6f34e97 to your computer and use it in GitHub Desktop.
slap install error
[root@TiisiPurki ~]# npm -g install slap|gist
gyp WARN EACCES current user ("nobody") does not have permission to access the dev dir "/root/.cache/node-gyp/13.11.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/slap/node_modules/marker-index/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/slap/node_modules/marker-index/.node-gyp'
gyp ERR! System Linux 5.5.6-arch1-1
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/slap/node_modules/marker-index
gyp ERR! node -v v13.11.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=0.10.0 <7"} (current: {"node":"13.11.0","npm":"6.14.2"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-03-15T15_01_34_109Z-debug.log
----------------------------------------------------------------
cat /root/.npm/_logs/2020-03-15T15_01_34_109Z-debug.log
--------------------------
info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', '-g', 'install', 'slap' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 46fbe099d37235f3
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 304 https://registry.npmjs.org/slap 443ms (from cache)
8 silly pacote tag manifest for slap@latest fetched in 457ms
9 timing stage:loadCurrentTree Completed in 493ms
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 timing stage:loadIdealTree:cloneCurrentTree Completed in 1ms
13 silly install loadShrinkwrap
14 timing stage:loadIdealTree:loadShrinkwrap Completed in 1ms
15 silly install loadAllDepsIntoIdealTree
16 silly resolveWithNewModule [email protected] checking installable status
17 http fetch GET 304 https://registry.npmjs.org/base-widget 198ms (from cache)
18 silly pacote version manifest for [email protected] fetched in 201ms
19 silly resolveWithNewModule [email protected] checking installable status
.........
............
...............
9246 silly install [email protected]
9247 info lifecycle [email protected]~install: [email protected]
9248 silly install [email protected]
9249 info lifecycle [email protected]~install: [email protected]
9250 silly install [email protected]
9251 info lifecycle [email protected]~install: [email protected]
9252 silly install [email protected]
9253 info lifecycle [email protected]~install: [email protected]
9254 silly install [email protected]
9255 info lifecycle [email protected]~install: [email protected]
9256 silly install [email protected]
9257 info lifecycle [email protected]~install: [email protected]
9258 silly install [email protected]
9259 info lifecycle [email protected]~install: [email protected]
9260 silly install [email protected]
9261 info lifecycle [email protected]~install: [email protected]
9262 silly install [email protected]
9263 info lifecycle [email protected]~install: [email protected]
9264 silly install [email protected]
9265 info lifecycle [email protected]~install: [email protected]
9266 silly install [email protected]
9267 info lifecycle [email protected]~install: [email protected]
9268 silly install [email protected]
9269 info lifecycle [email protected]~install: [email protected]
9270 silly install [email protected]
9271 info lifecycle [email protected]~install: [email protected]
9272 silly install [email protected]
9273 info lifecycle [email protected]~install: [email protected]
9274 verbose lifecycle [email protected]~install: unsafe-perm in lifecycle false
9275 verbose lifecycle [email protected]~install: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/usr/lib/node_modules/slap/node_modules/marker-index/node_modules/.bin:/usr/lib/node_modules/slap/node_modules/.bin:/usr/lib/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin:/home/jirido/bin:/home/jirido/.gem/ruby/2.7.0/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/root/.gem/ruby/2.7.0/bin
9276 verbose lifecycle [email protected]~install: CWD: /usr/lib/node_modules/slap/node_modules/marker-index
9277 silly lifecycle [email protected]~install: Args: [ '-c', 'node-gyp rebuild' ]
9278 silly lifecycle [email protected]~install: Returned: code: 1 signal: null
9279 info lifecycle [email protected]~install: Failed to exec install script
9280 timing action:install Completed in 448ms
9281 verbose unlock done using /root/.npm/_locks/staging-a072192f34a17023.lock for /usr/lib/node_modules/.staging
9282 timing stage:rollbackFailedOptional Completed in 788ms
9283 timing stage:runTopLevelLifecycles Completed in 17479ms
9284 warn notsup Unsupported engine for [email protected]: wanted: {"node":">=0.10.0 <7"} (current: {"node":"13.11.0","npm":"6.14.2"})
9285 warn notsup Not compatible with your version of node/npm: [email protected]
9286 verbose notsup Not compatible with your version of node/npm: [email protected]
9286 verbose notsup Required: {"node":">=0.10.0 <7"}
9286 verbose notsup Actual: {"npm":"6.14.2","node":"13.11.0"}
9287 verbose stack Error: [email protected] install: `node-gyp rebuild`
9287 verbose stack Exit status 1
9287 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
9287 verbose stack at EventEmitter.emit (events.js:315:20)
9287 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
9287 verbose stack at ChildProcess.emit (events.js:315:20)
9287 verbose stack at maybeClose (internal/child_process.js:1026:16)
9287 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
9288 verbose pkgid [email protected]
9289 verbose cwd /root
9290 verbose Linux 5.5.6-arch1-1
9291 verbose argv "/usr/bin/node" "/usr/bin/npm" "-g" "install" "slap"
9292 verbose node v13.11.0
9293 verbose npm v6.14.2
9294 error code ELIFECYCLE
9295 error errno 1
9296 error [email protected] install: `node-gyp rebuild`
9296 error Exit status 1
9297 error Failed at the [email protected] install script.
9297 error This is probably not a problem with npm. There is likely additional logging output above.
9298 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment