Skip to content

Instantly share code, notes, and snippets.

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