Skip to content

Instantly share code, notes, and snippets.

@mortie
Created June 22, 2017 17:53
Show Gist options
  • Save mortie/b19674ac48291e4d92ade24c34b3c576 to your computer and use it in GitHub Desktop.
Save mortie/b19674ac48291e4d92ade24c34b3c576 to your computer and use it in GitHub Desktop.
The npm-debug.log from running `sudo npm install -g dedaemon`
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install', '-g', 'dedaemon' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 2a7c2ff34816ea6c
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 200 https://registry.npmjs.org/dedaemon 26ms (from cache)
8 silly pacote tag manifest for dedaemon@latest fetched in 53ms
9 silly install loadIdealTree
10 silly install cloneCurrentTreeToIdealTree
11 silly install loadShrinkwrap
12 silly install loadAllDepsIntoIdealTree
13 silly resolveWithNewModule [email protected] checking installable status
14 http fetch GET 200 https://registry.npmjs.org/hconfig 6ms (from cache)
15 silly pacote range manifest for hconfig@^0.4.0 fetched in 8ms
16 silly resolveWithNewModule [email protected] checking installable status
17 silly currentTree lib
18 silly idealTree lib
18 silly idealTree └─┬ [email protected]
18 silly idealTree └── [email protected]
19 silly install generateActionsToTake
20 silly diffTrees action count 2
21 silly diffTrees add [email protected]
22 silly diffTrees add [email protected]
23 silly decomposeActions action count 16
24 silly decomposeActions fetch [email protected]
25 silly decomposeActions extract [email protected]
26 silly decomposeActions preinstall [email protected]
27 silly decomposeActions build [email protected]
28 silly decomposeActions install [email protected]
29 silly decomposeActions postinstall [email protected]
30 silly decomposeActions finalize [email protected]
31 silly decomposeActions refresh-package-json [email protected]
32 silly decomposeActions fetch [email protected]
33 silly decomposeActions extract [email protected]
34 silly decomposeActions preinstall [email protected]
35 silly decomposeActions build [email protected]
36 silly decomposeActions install [email protected]
37 silly decomposeActions postinstall [email protected]
38 silly decomposeActions finalize [email protected]
39 silly decomposeActions refresh-package-json [email protected]
40 silly install executeActions
41 silly doSerial global-install 16
42 verbose correctMkdir /root/.npm/_locks correctMkdir not in flight; initializing
43 verbose lock using /root/.npm/_locks/staging-a072192f34a17023.lock for /usr/lib/node_modules/.staging
44 silly doParallel extract 16
45 silly extract [email protected]
46 silly pacote trying hconfig@https://registry.npmjs.org/hconfig/-/hconfig-0.4.1.tgz by hash: sha1-lB5czPeTfFFXBk6hoQZGa0Sr4pE=
47 silly extract [email protected]
48 silly pacote trying dedaemon@https://registry.npmjs.org/dedaemon/-/dedaemon-0.2.5.tgz by hash: sha1-DKnnVbhtgtm8NwZ12hPbWRXkOhI=
49 silly pacote hconfig@https://registry.npmjs.org/hconfig/-/hconfig-0.4.1.tgz extracted to /usr/lib/node_modules/.staging/hconfig-2aa1d2f7 by content address 51ms
50 silly pacote dedaemon@https://registry.npmjs.org/dedaemon/-/dedaemon-0.2.5.tgz extracted to /usr/lib/node_modules/.staging/dedaemon-6a6b5435 by content address 50ms
51 silly doReverseSerial remove 16
52 silly doSerial move 16
53 silly doSerial finalize 16
54 silly finalize /usr/lib/node_modules/dedaemon
55 silly finalize /usr/lib/node_modules/dedaemon/node_modules/hconfig
56 silly doParallel refresh-package-json 16
57 silly refresh-package-json /usr/lib/node_modules/dedaemon
58 silly refresh-package-json /usr/lib/node_modules/dedaemon/node_modules/hconfig
59 silly doParallel preinstall 16
60 silly preinstall [email protected]
61 info lifecycle [email protected]~preinstall: [email protected]
62 silly preinstall [email protected]
63 info lifecycle [email protected]~preinstall: [email protected]
64 silly lifecycle [email protected]~preinstall: no script for preinstall, continuing
65 silly lifecycle [email protected]~preinstall: no script for preinstall, continuing
66 silly doSerial build 16
67 silly build [email protected]
68 info linkStuff [email protected]
69 silly linkStuff [email protected] has /usr/lib/node_modules as its parent node_modules
70 silly linkStuff [email protected] is part of a global install
71 silly linkStuff [email protected] is installed into a global node_modules
72 silly linkStuff [email protected] is installed into the top-level global node_modules
73 verbose linkBins [email protected]
74 verbose linkBins [ { dedaemon: './dedaemon.js' }, '/usr/bin', true ]
75 verbose linkMans [email protected]
76 silly build [email protected]
77 info linkStuff [email protected]
78 silly linkStuff [email protected] has /usr/lib/node_modules/dedaemon/node_modules as its parent node_modules
79 silly linkStuff [email protected] is part of a global install
80 silly linkStuff [email protected] is installed into a global node_modules
81 verbose linkBins [email protected]
82 verbose linkMans [email protected]
83 silly doSerial global-link 16
84 silly doParallel update-linked 16
85 silly doSerial install 16
86 silly install [email protected]
87 info lifecycle [email protected]~install: [email protected]
88 silly lifecycle [email protected]~install: no script for install, continuing
89 silly install [email protected]
90 info lifecycle [email protected]~install: [email protected]
91 silly lifecycle [email protected]~install: no script for install, continuing
92 silly doSerial postinstall 16
93 silly postinstall [email protected]
94 info lifecycle [email protected]~postinstall: [email protected]
95 verbose lifecycle [email protected]~postinstall: unsafe-perm in lifecycle false
96 verbose lifecycle [email protected]~postinstall: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/usr/lib/node_modules/dedaemon/node_modules/.bin:/usr/lib/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/home/martin/bin:/home/martin/.local/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/martin/.gem/ruby/2.3.0/bin
97 verbose lifecycle [email protected]~postinstall: CWD: /usr/lib/node_modules/dedaemon
98 silly lifecycle [email protected]~postinstall: Args: [ '-c', 'make -C udev' ]
99 silly lifecycle [email protected]~postinstall: Returned: code: 2 signal: null
100 info lifecycle [email protected]~postinstall: Failed to exec postinstall script
101 verbose unlock done using /root/.npm/_locks/staging-a072192f34a17023.lock for /usr/lib/node_modules/.staging
102 verbose stack Error: [email protected] postinstall: `make -C udev`
102 verbose stack Exit status 2
102 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:283:16)
102 verbose stack at emitTwo (events.js:125:13)
102 verbose stack at EventEmitter.emit (events.js:213:7)
102 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14)
102 verbose stack at emitTwo (events.js:125:13)
102 verbose stack at ChildProcess.emit (events.js:213:7)
102 verbose stack at maybeClose (internal/child_process.js:897:16)
102 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:208:5)
103 verbose pkgid [email protected]
104 verbose cwd /home/martin/cloud/dev/dedaemon
105 verbose Linux 4.11.6-1-ARCH
106 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "dedaemon"
107 verbose node v8.1.2
108 verbose npm v5.0.3
109 error code ELIFECYCLE
110 error errno 2
111 error [email protected] postinstall: `make -C udev`
111 error Exit status 2
112 error Failed at the [email protected] postinstall script.
112 error This is probably not a problem with npm. There is likely additional logging output above.
113 verbose exit [ 2, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment