Created
October 8, 2020 13:34
-
-
Save jimu/d624bc6813813666a1e89ecff63d3692 to your computer and use it in GitHub Desktop.
Install fails using npm on Centos 8 (/root/.npm/_logs/2020-10-08T13_19_25_110Z-debug.log)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 info it worked if it ends with ok | |
1 verbose cli [ '/usr/bin/node', '/bin/npm', 'install', '-g', 'nb.sh' ] | |
2 info using npm@6.14.4 | |
3 info using node@v13.13.0 | |
4 verbose npm-session d9f68adefd72faff | |
5 silly install loadCurrentTree | |
6 silly install readGlobalPackageData | |
7 http fetch GET 200 https://registry.npmjs.org/nb.sh 15ms (from cache) | |
8 silly pacote tag manifest for nb.sh@latest fetched in 24ms | |
9 timing stage:loadCurrentTree Completed in 53ms | |
10 silly install loadIdealTree | |
11 silly install cloneCurrentTreeToIdealTree | |
12 timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms | |
13 silly install loadShrinkwrap | |
14 timing stage:loadIdealTree:loadShrinkwrap Completed in 2ms | |
15 silly install loadAllDepsIntoIdealTree | |
16 silly resolveWithNewModule nb.sh@5.5.1 checking installable status | |
17 timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 4ms | |
18 timing stage:loadIdealTree Completed in 8ms | |
19 silly currentTree lib | |
20 silly idealTree lib | |
20 silly idealTree └── nb.sh@5.5.1 | |
21 silly install generateActionsToTake | |
22 timing stage:generateActionsToTake Completed in 4ms | |
23 silly diffTrees action count 1 | |
24 silly diffTrees add nb.sh@5.5.1 | |
25 silly decomposeActions action count 8 | |
26 silly decomposeActions fetch nb.sh@5.5.1 | |
27 silly decomposeActions extract nb.sh@5.5.1 | |
28 silly decomposeActions preinstall nb.sh@5.5.1 | |
29 silly decomposeActions build nb.sh@5.5.1 | |
30 silly decomposeActions install nb.sh@5.5.1 | |
31 silly decomposeActions postinstall nb.sh@5.5.1 | |
32 silly decomposeActions finalize nb.sh@5.5.1 | |
33 silly decomposeActions refresh-package-json nb.sh@5.5.1 | |
34 silly install executeActions | |
35 silly doSerial global-install 8 | |
36 verbose correctMkdir /root/.npm/_locks correctMkdir not in flight; initializing | |
37 verbose lock using /root/.npm/_locks/staging-3a08f0df5026584d.lock for /usr/local/lib/node_modules/.staging | |
38 silly doParallel extract 1 | |
39 silly extract nb.sh@5.5.1 | |
40 silly tarball trying nb.sh@latest by hash: sha512-tgH2CdtpMgOeky1Va8mjR/tYKCBXyr2ZXlNVxQ9Gw4QEK0nNX0isfSPh5LUEVVp8wgWbKhsOzkuAPxEZQ7SNCA== | |
41 silly extract nb.sh@latest extracted to /usr/local/lib/node_modules/.staging/nb.sh-573d44c8 (58ms) | |
42 timing action:extract Completed in 62ms | |
43 silly doReverseSerial unbuild 8 | |
44 silly doSerial remove 8 | |
45 silly doSerial move 8 | |
46 silly doSerial finalize 8 | |
47 silly finalize /usr/local/lib/node_modules/nb.sh | |
48 timing action:finalize Completed in 4ms | |
49 silly doParallel refresh-package-json 1 | |
50 silly refresh-package-json /usr/local/lib/node_modules/nb.sh | |
51 timing action:refresh-package-json Completed in 12ms | |
52 silly doParallel preinstall 1 | |
53 silly preinstall nb.sh@5.5.1 | |
54 info lifecycle nb.sh@5.5.1~preinstall: nb.sh@5.5.1 | |
55 timing action:preinstall Completed in 1ms | |
56 silly doSerial build 8 | |
57 silly build nb.sh@5.5.1 | |
58 info linkStuff nb.sh@5.5.1 | |
59 silly linkStuff nb.sh@5.5.1 has /usr/local/lib/node_modules as its parent node_modules | |
60 silly linkStuff nb.sh@5.5.1 is part of a global install | |
61 silly linkStuff nb.sh@5.5.1 is installed into a global node_modules | |
62 silly linkStuff nb.sh@5.5.1 is installed into the top-level global node_modules | |
63 verbose linkBins [ | |
63 verbose linkBins { nb: 'nb', 'nb.sh': 'nb', bookmark: 'bin/bookmark' }, | |
63 verbose linkBins '/usr/local/bin', | |
63 verbose linkBins true | |
63 verbose linkBins ] | |
64 timing action:build Completed in 5ms | |
65 silly doSerial global-link 8 | |
66 silly doParallel update-linked 0 | |
67 silly doSerial install 8 | |
68 silly install nb.sh@5.5.1 | |
69 info lifecycle nb.sh@5.5.1~install: nb.sh@5.5.1 | |
70 timing action:install Completed in 1ms | |
71 silly doSerial postinstall 8 | |
72 silly postinstall nb.sh@5.5.1 | |
73 info lifecycle nb.sh@5.5.1~postinstall: nb.sh@5.5.1 | |
74 verbose lifecycle nb.sh@5.5.1~postinstall: unsafe-perm in lifecycle false | |
75 verbose lifecycle nb.sh@5.5.1~postinstall: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/usr/local/lib/node_modules/nb.sh/node_modules/.bin:/usr/local/lib/node_modules/.bin:/sbin:/bin:/usr/sbin:/usr/bin | |
76 verbose lifecycle nb.sh@5.5.1~postinstall: CWD: /usr/local/lib/node_modules/nb.sh | |
77 silly lifecycle nb.sh@5.5.1~postinstall: Args: [ '-c', './nb completions install' ] | |
78 silly lifecycle nb.sh@5.5.1~postinstall: Returned: code: 1 signal: null | |
79 info lifecycle nb.sh@5.5.1~postinstall: Failed to exec postinstall script | |
80 timing action:postinstall Completed in 99ms | |
81 verbose unlock done using /root/.npm/_locks/staging-3a08f0df5026584d.lock for /usr/local/lib/node_modules/.staging | |
82 timing stage:rollbackFailedOptional Completed in 15ms | |
83 timing stage:runTopLevelLifecycles Completed in 271ms | |
84 verbose stack Error: nb.sh@5.5.1 postinstall: `./nb completions install` | |
84 verbose stack Exit status 1 | |
84 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16) | |
84 verbose stack at EventEmitter.emit (events.js:315:20) | |
84 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) | |
84 verbose stack at ChildProcess.emit (events.js:315:20) | |
84 verbose stack at maybeClose (internal/child_process.js:1026:16) | |
84 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5) | |
85 verbose pkgid nb.sh@5.5.1 | |
86 verbose cwd /home/jimu | |
87 verbose Linux 4.18.0-147.el8.x86_64 | |
88 verbose argv "/usr/bin/node" "/bin/npm" "install" "-g" "nb.sh" | |
89 verbose node v13.13.0 | |
90 verbose npm v6.14.4 | |
91 error code ELIFECYCLE | |
92 error errno 1 | |
93 error nb.sh@5.5.1 postinstall: `./nb completions install` | |
93 error Exit status 1 | |
94 error Failed at the nb.sh@5.5.1 postinstall script. | |
94 error This is probably not a problem with npm. There is likely additional logging output above. | |
95 verbose exit [ 1, true ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment