Skip to content

Instantly share code, notes, and snippets.

@mikeball
Last active September 10, 2017 07:09
Show Gist options
  • Save mikeball/969ed100d23f971099715dd6ea5f4fa3 to your computer and use it in GitHub Desktop.
Save mikeball/969ed100d23f971099715dd6ea5f4fa3 to your computer and use it in GitHub Desktop.
cat /root/.npm/_logs/2017-09-10T04_24_41_517Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node',
1 verbose cli '/usr/bin/npm',
1 verbose cli 'install',
1 verbose cli '-g',
1 verbose cli 'https://github.com/reasonml/reason-cli/archive/beta-v-1.13.6-bin-linux.tar.gz' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 0543e7aa71cf9ceb
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 200 https://github.com/reasonml/reason-cli/archive/beta-v-1.13.6-bin-linux.tar.gz 16597ms
8 silly pacote remote manifest for undefined@https://github.com/reasonml/reason-cli/archive/beta-v-1.13.6-bin-linux.tar.gz fetched in 16621ms
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 silly currentTree lib
15 silly idealTree lib
15 silly idealTree └── [email protected]
16 silly install generateActionsToTake
17 silly diffTrees action count 1
18 silly diffTrees add [email protected]
19 silly decomposeActions action count 8
20 silly decomposeActions fetch [email protected]
21 silly decomposeActions extract [email protected]
22 silly decomposeActions preinstall [email protected]
23 silly decomposeActions build [email protected]
24 silly decomposeActions install [email protected]
25 silly decomposeActions postinstall [email protected]
26 silly decomposeActions finalize [email protected]
27 silly decomposeActions refresh-package-json [email protected]
28 silly install executeActions
29 silly doSerial global-install 8
30 verbose correctMkdir /root/.npm/_locks correctMkdir not in flight; initializing
31 verbose lock using /root/.npm/_locks/staging-a072192f34a17023.lock for /usr/lib/node_modules/.staging
32 silly doParallel extract 8
33 silly extract [email protected]
34 silly pacote trying reason-cli@https://github.com/reasonml/reason-cli/archive/beta-v-1.13.6-bin-linux.tar.gz by hash: sha1-lFqsh2iozVpDvTe3JPHS/88epYg=
35 silly pacote reason-cli@https://github.com/reasonml/reason-cli/archive/beta-v-1.13.6-bin-linux.tar.gz extracted to /usr/lib/node_modules/.staging/reason-cli-8aad2fd0 by content address 853ms
36 silly doReverseSerial unbuild 8
37 silly doSerial remove 8
38 silly doSerial move 8
39 silly doSerial finalize 8
40 silly finalize /usr/lib64/node_modules/reason-cli
41 silly doParallel refresh-package-json 8
42 silly refresh-package-json /usr/lib64/node_modules/reason-cli
43 silly doParallel preinstall 8
44 silly preinstall [email protected]
45 info lifecycle [email protected]~preinstall: [email protected]
46 silly doSerial build 8
47 silly build [email protected]
48 info linkStuff [email protected]
49 silly linkStuff [email protected] has /usr/lib/node_modules as its parent node_modules
50 silly linkStuff [email protected] is part of a global install
51 silly linkStuff [email protected] is installed into a global node_modules
52 silly linkStuff [email protected] is installed into the top-level global node_modules
53 verbose linkBins [email protected]
54 verbose linkBins [ { ocamlmerlin: '.bin/ocamlmerlin',
54 verbose linkBins 'ocamlmerlin-reason': '.bin/ocamlmerlin-reason',
54 verbose linkBins ocamlrun: '.bin/ocamlrun',
54 verbose linkBins ocamlc: '.bin/ocamlc',
54 verbose linkBins 'ocamlc.opt': '.bin/ocamlc.opt',
54 verbose linkBins ocamlopt: '.bin/ocamlopt',
54 verbose linkBins 'ocamlopt.opt': '.bin/ocamlopt.opt',
54 verbose linkBins ocaml: '.bin/ocaml',
54 verbose linkBins rtop: '.bin/rtop',
54 verbose linkBins utop: '.bin/utop',
54 verbose linkBins refmt: '.bin/refmt',
54 verbose linkBins refmttype: '.bin/refmttype',
54 verbose linkBins reopt: '.bin/reopt',
54 verbose linkBins rebuild: '.bin/rebuild',
54 verbose linkBins reactjs_jsx_ppx: '.bin/reactjs_jsx_ppx',
54 verbose linkBins reactjs_jsx_ppx_2: '.bin/reactjs_jsx_ppx_2',
54 verbose linkBins berror: '.bin/berror',
54 verbose linkBins menhir: '.bin/menhir',
54 verbose linkBins ocamlfind: '.bin/ocamlfind',
54 verbose linkBins 'reason-cli': '.bin/reason-cli' },
54 verbose linkBins '/usr/bin',
54 verbose linkBins true ]
55 verbose linkMans [email protected]
56 silly doSerial global-link 8
57 silly doParallel update-linked 8
58 silly doSerial install 8
59 silly install [email protected]
60 info lifecycle [email protected]~install: [email protected]
61 silly doSerial postinstall 8
62 silly postinstall [email protected]
63 info lifecycle [email protected]~postinstall: [email protected]
64 verbose lifecycle [email protected]~postinstall: unsafe-perm in lifecycle false
65 verbose lifecycle [email protected]~postinstall: PATH: /usr/lib64/node_modules/npm/bin/node-gyp-bin:/usr/lib/node_modules/reason-cli/node_modules/.bin:/usr/lib/node_modules/.bin:/usr/sbin:/usr/bin:/sbin:/bin
66 verbose lifecycle [email protected]~postinstall: CWD: /usr/lib/node_modules/reason-cli
67 silly lifecycle [email protected]~postinstall: Args: [ '-c', './postinstall.sh' ]
68 silly lifecycle [email protected]~postinstall: Returned: code: 1 signal: null
69 info lifecycle [email protected]~postinstall: Failed to exec postinstall script
70 verbose unlock done using /root/.npm/_locks/staging-a072192f34a17023.lock for /usr/lib/node_modules/.staging
71 verbose stack Error: [email protected] postinstall: `./postinstall.sh`
71 verbose stack Exit status 1
71 verbose stack at EventEmitter.<anonymous> (/usr/lib64/node_modules/npm/node_modules/npm-lifecycle/index.js:280:16)
71 verbose stack at emitTwo (events.js:125:13)
71 verbose stack at EventEmitter.emit (events.js:213:7)
71 verbose stack at ChildProcess.<anonymous> (/usr/lib64/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
71 verbose stack at emitTwo (events.js:125:13)
71 verbose stack at ChildProcess.emit (events.js:213:7)
71 verbose stack at maybeClose (internal/child_process.js:927:16)
71 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
72 verbose pkgid [email protected]
73 verbose cwd /home/mike
74 verbose Linux 4.9.46-43.lts
75 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "https://github.com/reasonml/reason-cli/archive/beta-v-1.13.6-bin-linux.tar.gz"
76 verbose node v8.4.0
77 verbose npm v5.4.1
78 error code ELIFECYCLE
79 error errno 1
80 error [email protected] postinstall: `./postinstall.sh`
80 error Exit status 1
81 error Failed at the [email protected] postinstall script.
81 error This is probably not a problem with npm. There is likely additional logging output above.
82 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment