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 got@5.7.1: 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: got@5.7.1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! marker-index@4.0.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the marker-index@4.0.0 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 npm@6.14.2
3 info using node@v13.11.0
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 slap@0.1.61 checking installable status
17 http fetch GET 304 https://registry.npmjs.org/base-widget 198ms (from cache)
18 silly pacote version manifest for base-widget@1.1.0 fetched in 201ms
19 silly resolveWithNewModule base-widget@1.1.0 checking installable status
.........
............
...............
9246 silly install parse-json@2.2.0
9247 info lifecycle parse-json@2.2.0~install: parse-json@2.2.0
9248 silly install path-is-absolute@1.0.1
9249 info lifecycle path-is-absolute@1.0.1~install: path-is-absolute@1.0.1
9250 silly install async@0.2.10
9251 info lifecycle async@0.2.10~install: async@0.2.10
9252 silly install pinkie@2.0.4
9253 info lifecycle pinkie@2.0.4~install: pinkie@2.0.4
9254 silly install pinkie-promise@2.0.1
9255 info lifecycle pinkie-promise@2.0.1~install: pinkie-promise@2.0.1
9256 silly install pkginfo@0.3.1
9257 info lifecycle pkginfo@0.3.1~install: pkginfo@0.3.1
9258 silly install prepend-http@1.0.4
9259 info lifecycle prepend-http@1.0.4~install: prepend-http@1.0.4
9260 silly install process-nextick-args@1.0.7
9261 info lifecycle process-nextick-args@1.0.7~install: process-nextick-args@1.0.7
9262 silly install random-seed@0.2.0
9263 info lifecycle random-seed@0.2.0~install: random-seed@0.2.0
9264 silly install atom-patch@0.3.0
9265 info lifecycle atom-patch@0.3.0~install: atom-patch@0.3.0
9266 silly install display-index@0.1.0
9267 info lifecycle display-index@0.1.0~install: display-index@0.1.0
9268 silly install marker-index@2.1.1
9269 info lifecycle marker-index@2.1.1~install: marker-index@2.1.1
9270 silly install line-length-index@0.0.2
9271 info lifecycle line-length-index@0.0.2~install: line-length-index@0.0.2
9272 silly install marker-index@4.0.0
9273 info lifecycle marker-index@4.0.0~install: marker-index@4.0.0
9274 verbose lifecycle marker-index@4.0.0~install: unsafe-perm in lifecycle false
9275 verbose lifecycle marker-index@4.0.0~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 marker-index@4.0.0~install: CWD: /usr/lib/node_modules/slap/node_modules/marker-index
9277 silly lifecycle marker-index@4.0.0~install: Args: [ '-c', 'node-gyp rebuild' ]
9278 silly lifecycle marker-index@4.0.0~install: Returned: code: 1 signal: null
9279 info lifecycle marker-index@4.0.0~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 got@5.7.1: 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: got@5.7.1
9286 verbose notsup Not compatible with your version of node/npm: got@5.7.1
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: marker-index@4.0.0 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 marker-index@4.0.0
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 marker-index@4.0.0 install: `node-gyp rebuild`
9296 error Exit status 1
9297 error Failed at the marker-index@4.0.0 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