Closed ghost closed 6 years ago
@brielov Can you please provide the full output and your node version? It seems that our build script in sodium-native
decided to recompile, but in most cases it shouldn't, however I don't have enough output from your to be able to troubleshoot.
Sorry for not providing further information. The original output is not that much informative, anyways here it goes:
node 9.2.0
npm 5.6.0
Logs
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node/9.2.0/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'i',
1 verbose cli '--verbose',
1 verbose cli 'secure-password' ]
2 info using npm@5.6.0
3 info using node@v9.2.0
4 verbose npm-session f36f28e41a66ad52
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 200 https://registry.npmjs.org/secure-password 14ms (from cache)
8 silly pacote tag manifest for secure-password@latest fetched in 32ms
9 silly install loadIdealTree
10 silly install cloneCurrentTreeToIdealTree
11 silly install loadShrinkwrap
12 silly install loadAllDepsIntoIdealTree
13 silly resolveWithNewModule secure-password@2.1.2 checking installable status
14 http fetch GET 200 https://registry.npmjs.org/nanoassert 5ms (from cache)
15 http fetch GET 200 https://registry.npmjs.org/sodium-native 6ms (from cache)
16 silly pacote range manifest for nanoassert@^1.0.0 fetched in 9ms
17 silly resolveWithNewModule nanoassert@1.1.0 checking installable status
18 silly pacote range manifest for sodium-native@^1.10.3 fetched in 9ms
19 silly resolveWithNewModule sodium-native@1.10.3 checking installable status
20 http fetch GET 304 https://registry.npmjs.org/nan 294ms (from cache)
21 http fetch GET 304 https://registry.npmjs.org/node-gyp-build 297ms (from cache)
22 silly pacote range manifest for nan@^2.4.0 fetched in 299ms
23 silly resolveWithNewModule nan@2.8.0 checking installable status
24 silly pacote range manifest for node-gyp-build@^3.0.0 fetched in 301ms
25 silly resolveWithNewModule node-gyp-build@3.2.2 checking installable status
26 silly currentTree api@0.0.0
26 silly currentTree ├── accepts@1.3.4
26 silly currentTree ├── ansi-regex@2.1.1
26 silly currentTree ├── ansi-styles@2.2.1
26 silly currentTree ├── any-promise@1.3.0
26 silly currentTree ├── async@2.1.4
26 silly currentTree ├── asynckit@0.4.0
26 silly currentTree ├── balanced-match@1.0.0
26 silly currentTree ├── bluebird@3.5.0
26 silly currentTree ├── brace-expansion@1.1.8
26 silly currentTree ├── browser-stdout@1.3.0
26 silly currentTree ├── bson@1.0.4
26 silly currentTree ├── buffer-shims@1.0.0
26 silly currentTree ├── bytes@2.5.0
26 silly currentTree ├── chalk@1.1.3
26 silly currentTree ├── co-body@5.1.1
26 silly currentTree ├── co@4.6.0
26 silly currentTree ├── combined-stream@1.0.5
26 silly currentTree ├── commander@2.11.0
26 silly currentTree ├── component-emitter@1.2.1
26 silly currentTree ├── concat-map@0.0.1
26 silly currentTree ├── content-disposition@0.5.2
26 silly currentTree ├── content-type@1.0.4
26 silly currentTree ├── cookiejar@2.1.1
26 silly currentTree ├── cookies@0.7.1
26 silly currentTree ├── core-util-is@1.0.2
26 silly currentTree ├── debug@3.1.0
26 silly currentTree ├── deep-equal@1.0.1
26 silly currentTree ├── delayed-stream@1.0.0
26 silly currentTree ├── delegates@1.0.0
26 silly currentTree ├── depd@1.1.1
26 silly currentTree ├── destroy@1.0.4
26 silly currentTree ├── diff@3.3.1
26 silly currentTree ├── ee-first@1.1.1
26 silly currentTree ├── error-inject@1.0.0
26 silly currentTree ├── es6-promise@3.2.1
26 silly currentTree ├── escape-html@1.0.3
26 silly currentTree ├── escape-string-regexp@1.0.5
26 silly currentTree ├── etag@1.8.1
26 silly currentTree ├── extend@3.0.1
26 silly currentTree ├── form-data@2.3.1
26 silly currentTree ├── formidable@1.1.1
26 silly currentTree ├── fresh@0.5.2
26 silly currentTree ├── fs.realpath@1.0.0
26 silly currentTree ├── glob@7.1.2
26 silly currentTree ├── growl@1.10.3
26 silly currentTree ├── has-ansi@2.0.0
26 silly currentTree ├── has-flag@2.0.0
26 silly currentTree ├── he@1.1.1
26 silly currentTree ├── hooks-fixed@2.0.2
26 silly currentTree ├── http-assert@1.3.0
26 silly currentTree ├── http-errors@1.6.2
26 silly currentTree ├── humanize-number@0.0.2
26 silly currentTree ├── iconv-lite@0.4.19
26 silly currentTree ├── inflation@2.0.0
26 silly currentTree ├── inflight@1.0.6
26 silly currentTree ├── inherits@2.0.3
26 silly currentTree ├── is-generator-function@1.0.6
26 silly currentTree ├── isarray@0.0.1
26 silly currentTree ├── kareem@1.5.0
26 silly currentTree ├── kcors@2.2.1
26 silly currentTree ├── keygrip@1.0.2
26 silly currentTree ├── koa-compose@4.0.0
26 silly currentTree ├── koa-conditional-get@2.0.0
26 silly currentTree ├─┬ koa-convert@1.2.0
26 silly currentTree │ └── koa-compose@3.2.1
26 silly currentTree ├── koa-etag@3.0.0
26 silly currentTree ├── koa-is-json@1.0.0
26 silly currentTree ├── koa-logger@3.1.0
26 silly currentTree ├─┬ koa-router@7.3.0
26 silly currentTree │ └── koa-compose@3.2.1
26 silly currentTree ├── koa@2.4.1
26 silly currentTree ├── lodash.foreach@4.5.0
26 silly currentTree ├── lodash.get@4.4.2
26 silly currentTree ├── lodash@4.17.4
26 silly currentTree ├── media-typer@0.3.0
26 silly currentTree ├── methods@1.1.2
26 silly currentTree ├── mime-db@1.30.0
26 silly currentTree ├── mime-types@2.1.17
26 silly currentTree ├── mime@1.6.0
26 silly currentTree ├── minimatch@3.0.4
26 silly currentTree ├── minimist@0.0.8
26 silly currentTree ├── mkdirp@0.5.1
26 silly currentTree ├─┬ mocha@4.0.1
26 silly currentTree │ └── supports-color@4.4.0
26 silly currentTree ├── mongodb-core@2.1.17
26 silly currentTree ├─┬ mongodb@2.2.33
26 silly currentTree │ ├── isarray@1.0.0
26 silly currentTree │ └── readable-stream@2.2.7
26 silly currentTree ├── mongoose-unique-validator@1.0.6
26 silly currentTree ├── mongoose@4.13.5
26 silly currentTree ├── mpath@0.3.0
26 silly currentTree ├── mpromise@0.5.5
26 silly currentTree ├─┬ mquery@2.3.3
26 silly currentTree │ ├── debug@2.6.9
26 silly currentTree │ └── sliced@0.0.5
26 silly currentTree ├── ms@2.0.0
26 silly currentTree ├── muri@1.3.0
26 silly currentTree ├── mz@2.7.0
26 silly currentTree ├── nanoassert@1.1.0
26 silly currentTree ├── negotiator@0.6.1
26 silly currentTree ├── object-assign@4.1.1
26 silly currentTree ├── on-finished@2.3.0
26 silly currentTree ├── once@1.4.0
26 silly currentTree ├── only@0.0.2
26 silly currentTree ├── parseurl@1.3.2
26 silly currentTree ├── passthrough-counter@1.0.0
26 silly currentTree ├── path-is-absolute@1.0.1
26 silly currentTree ├── path-to-regexp@1.7.0
26 silly currentTree ├── process-nextick-args@1.0.7
26 silly currentTree ├── qs@6.5.1
26 silly currentTree ├─┬ raw-body@2.3.2
26 silly currentTree │ └── bytes@3.0.0
26 silly currentTree ├─┬ readable-stream@2.3.3
26 silly currentTree │ └── isarray@1.0.0
26 silly currentTree ├── regexp-clone@0.0.1
26 silly currentTree ├── require_optional@1.0.1
26 silly currentTree ├── resolve-from@2.0.0
26 silly currentTree ├── safe-buffer@5.1.1
26 silly currentTree ├── semver@5.4.1
26 silly currentTree ├── setprototypeof@1.0.3
26 silly currentTree ├── sliced@1.0.1
26 silly currentTree ├── statuses@1.4.0
26 silly currentTree ├── string_decoder@1.0.3
26 silly currentTree ├── strip-ansi@3.0.1
26 silly currentTree ├── superagent@3.8.1
26 silly currentTree ├── supertest@3.0.0
26 silly currentTree ├── supports-color@2.0.0
26 silly currentTree ├── thenify-all@1.6.0
26 silly currentTree ├── thenify@3.3.0
26 silly currentTree ├── type-is@1.6.15
26 silly currentTree ├── unpipe@1.0.0
26 silly currentTree ├── urijs@1.19.0
26 silly currentTree ├── util-deprecate@1.0.2
26 silly currentTree ├── vary@1.1.2
26 silly currentTree └── wrappy@1.0.2
27 silly idealTree api@0.0.0
27 silly idealTree ├── accepts@1.3.4
27 silly idealTree ├── ansi-regex@2.1.1
27 silly idealTree ├── ansi-styles@2.2.1
27 silly idealTree ├── any-promise@1.3.0
27 silly idealTree ├── async@2.1.4
27 silly idealTree ├── asynckit@0.4.0
27 silly idealTree ├── balanced-match@1.0.0
27 silly idealTree ├── bluebird@3.5.0
27 silly idealTree ├── brace-expansion@1.1.8
27 silly idealTree ├── browser-stdout@1.3.0
27 silly idealTree ├── bson@1.0.4
27 silly idealTree ├── buffer-shims@1.0.0
27 silly idealTree ├── bytes@2.5.0
27 silly idealTree ├── chalk@1.1.3
27 silly idealTree ├── co-body@5.1.1
27 silly idealTree ├── co@4.6.0
27 silly idealTree ├── combined-stream@1.0.5
27 silly idealTree ├── commander@2.11.0
27 silly idealTree ├── component-emitter@1.2.1
27 silly idealTree ├── concat-map@0.0.1
27 silly idealTree ├── content-disposition@0.5.2
27 silly idealTree ├── content-type@1.0.4
27 silly idealTree ├── cookiejar@2.1.1
27 silly idealTree ├── cookies@0.7.1
27 silly idealTree ├── core-util-is@1.0.2
27 silly idealTree ├── debug@3.1.0
27 silly idealTree ├── deep-equal@1.0.1
27 silly idealTree ├── delayed-stream@1.0.0
27 silly idealTree ├── delegates@1.0.0
27 silly idealTree ├── depd@1.1.1
27 silly idealTree ├── destroy@1.0.4
27 silly idealTree ├── diff@3.3.1
27 silly idealTree ├── ee-first@1.1.1
27 silly idealTree ├── error-inject@1.0.0
27 silly idealTree ├── es6-promise@3.2.1
27 silly idealTree ├── escape-html@1.0.3
27 silly idealTree ├── escape-string-regexp@1.0.5
27 silly idealTree ├── etag@1.8.1
27 silly idealTree ├── extend@3.0.1
27 silly idealTree ├── form-data@2.3.1
27 silly idealTree ├── formidable@1.1.1
27 silly idealTree ├── fresh@0.5.2
27 silly idealTree ├── fs.realpath@1.0.0
27 silly idealTree ├── glob@7.1.2
27 silly idealTree ├── growl@1.10.3
27 silly idealTree ├── has-ansi@2.0.0
27 silly idealTree ├── has-flag@2.0.0
27 silly idealTree ├── he@1.1.1
27 silly idealTree ├── hooks-fixed@2.0.2
27 silly idealTree ├── http-assert@1.3.0
27 silly idealTree ├── http-errors@1.6.2
27 silly idealTree ├── humanize-number@0.0.2
27 silly idealTree ├── iconv-lite@0.4.19
27 silly idealTree ├── inflation@2.0.0
27 silly idealTree ├── inflight@1.0.6
27 silly idealTree ├── inherits@2.0.3
27 silly idealTree ├── is-generator-function@1.0.6
27 silly idealTree ├── isarray@0.0.1
27 silly idealTree ├── kareem@1.5.0
27 silly idealTree ├── kcors@2.2.1
27 silly idealTree ├── keygrip@1.0.2
27 silly idealTree ├── koa-compose@4.0.0
27 silly idealTree ├── koa-conditional-get@2.0.0
27 silly idealTree ├─┬ koa-convert@1.2.0
27 silly idealTree │ └── koa-compose@3.2.1
27 silly idealTree ├── koa-etag@3.0.0
27 silly idealTree ├── koa-is-json@1.0.0
27 silly idealTree ├── koa-logger@3.1.0
27 silly idealTree ├─┬ koa-router@7.3.0
27 silly idealTree │ └── koa-compose@3.2.1
27 silly idealTree ├── koa@2.4.1
27 silly idealTree ├── lodash.foreach@4.5.0
27 silly idealTree ├── lodash.get@4.4.2
27 silly idealTree ├── lodash@4.17.4
27 silly idealTree ├── media-typer@0.3.0
27 silly idealTree ├── methods@1.1.2
27 silly idealTree ├── mime-db@1.30.0
27 silly idealTree ├── mime-types@2.1.17
27 silly idealTree ├── mime@1.6.0
27 silly idealTree ├── minimatch@3.0.4
27 silly idealTree ├── minimist@0.0.8
27 silly idealTree ├── mkdirp@0.5.1
27 silly idealTree ├─┬ mocha@4.0.1
27 silly idealTree │ └── supports-color@4.4.0
27 silly idealTree ├── mongodb-core@2.1.17
27 silly idealTree ├─┬ mongodb@2.2.33
27 silly idealTree │ ├── isarray@1.0.0
27 silly idealTree │ └── readable-stream@2.2.7
27 silly idealTree ├── mongoose-unique-validator@1.0.6
27 silly idealTree ├── mongoose@4.13.5
27 silly idealTree ├── mpath@0.3.0
27 silly idealTree ├── mpromise@0.5.5
27 silly idealTree ├─┬ mquery@2.3.3
27 silly idealTree │ ├── debug@2.6.9
27 silly idealTree │ └── sliced@0.0.5
27 silly idealTree ├── ms@2.0.0
27 silly idealTree ├── muri@1.3.0
27 silly idealTree ├── mz@2.7.0
27 silly idealTree ├── nan@2.8.0
27 silly idealTree ├── nanoassert@1.1.0
27 silly idealTree ├── negotiator@0.6.1
27 silly idealTree ├── node-gyp-build@3.2.2
27 silly idealTree ├── object-assign@4.1.1
27 silly idealTree ├── on-finished@2.3.0
27 silly idealTree ├── once@1.4.0
27 silly idealTree ├── only@0.0.2
27 silly idealTree ├── parseurl@1.3.2
27 silly idealTree ├── passthrough-counter@1.0.0
27 silly idealTree ├── path-is-absolute@1.0.1
27 silly idealTree ├── path-to-regexp@1.7.0
27 silly idealTree ├── process-nextick-args@1.0.7
27 silly idealTree ├── qs@6.5.1
27 silly idealTree ├─┬ raw-body@2.3.2
27 silly idealTree │ └── bytes@3.0.0
27 silly idealTree ├─┬ readable-stream@2.3.3
27 silly idealTree │ └── isarray@1.0.0
27 silly idealTree ├── regexp-clone@0.0.1
27 silly idealTree ├── require_optional@1.0.1
27 silly idealTree ├── resolve-from@2.0.0
27 silly idealTree ├── safe-buffer@5.1.1
27 silly idealTree ├── secure-password@2.1.2
27 silly idealTree ├── semver@5.4.1
27 silly idealTree ├── setprototypeof@1.0.3
27 silly idealTree ├── sliced@1.0.1
27 silly idealTree ├── sodium-native@1.10.3
27 silly idealTree ├── statuses@1.4.0
27 silly idealTree ├── string_decoder@1.0.3
27 silly idealTree ├── strip-ansi@3.0.1
27 silly idealTree ├── superagent@3.8.1
27 silly idealTree ├── supertest@3.0.0
27 silly idealTree ├── supports-color@2.0.0
27 silly idealTree ├── thenify-all@1.6.0
27 silly idealTree ├── thenify@3.3.0
27 silly idealTree ├── type-is@1.6.15
27 silly idealTree ├── unpipe@1.0.0
27 silly idealTree ├── urijs@1.19.0
27 silly idealTree ├── util-deprecate@1.0.2
27 silly idealTree ├── vary@1.1.2
27 silly idealTree └── wrappy@1.0.2
28 silly install generateActionsToTake
29 silly diffTrees action count 4
30 silly diffTrees add nan@2.8.0
31 silly diffTrees add node-gyp-build@3.2.2
32 silly diffTrees add sodium-native@1.10.3
33 silly diffTrees add secure-password@2.1.2
34 silly decomposeActions action count 32
35 silly decomposeActions fetch nan@2.8.0
36 silly decomposeActions extract nan@2.8.0
37 silly decomposeActions preinstall nan@2.8.0
38 silly decomposeActions build nan@2.8.0
39 silly decomposeActions install nan@2.8.0
40 silly decomposeActions postinstall nan@2.8.0
41 silly decomposeActions finalize nan@2.8.0
42 silly decomposeActions refresh-package-json nan@2.8.0
43 silly decomposeActions fetch node-gyp-build@3.2.2
44 silly decomposeActions extract node-gyp-build@3.2.2
45 silly decomposeActions preinstall node-gyp-build@3.2.2
46 silly decomposeActions build node-gyp-build@3.2.2
47 silly decomposeActions install node-gyp-build@3.2.2
48 silly decomposeActions postinstall node-gyp-build@3.2.2
49 silly decomposeActions finalize node-gyp-build@3.2.2
50 silly decomposeActions refresh-package-json node-gyp-build@3.2.2
51 silly decomposeActions fetch sodium-native@1.10.3
52 silly decomposeActions extract sodium-native@1.10.3
53 silly decomposeActions preinstall sodium-native@1.10.3
54 silly decomposeActions build sodium-native@1.10.3
55 silly decomposeActions install sodium-native@1.10.3
56 silly decomposeActions postinstall sodium-native@1.10.3
57 silly decomposeActions finalize sodium-native@1.10.3
58 silly decomposeActions refresh-package-json sodium-native@1.10.3
59 silly decomposeActions fetch secure-password@2.1.2
60 silly decomposeActions extract secure-password@2.1.2
61 silly decomposeActions preinstall secure-password@2.1.2
62 silly decomposeActions build secure-password@2.1.2
63 silly decomposeActions install secure-password@2.1.2
64 silly decomposeActions postinstall secure-password@2.1.2
65 silly decomposeActions finalize secure-password@2.1.2
66 silly decomposeActions refresh-package-json secure-password@2.1.2
67 silly install executeActions
68 silly doSerial global-install 32
69 verbose correctMkdir /Users/brielov/.npm/_locks correctMkdir not in flight; initializing
70 verbose lock using /Users/brielov/.npm/_locks/staging-8931b6f3bcb3e129.lock for /Users/brielov/Projects/Grupo Jolivet/api/node_modules/.staging
71 silly doParallel extract 32
72 silly extract nan@2.8.0
73 silly extract node-gyp-build@3.2.2
74 silly extract sodium-native@1.10.3
75 silly extract secure-password@2.1.2
76 silly doReverseSerial unbuild 32
77 silly doSerial remove 32
78 silly doSerial move 32
79 silly doSerial finalize 32
80 silly finalize /Users/brielov/Projects/Grupo Jolivet/api/node_modules/nan
81 silly finalize /Users/brielov/Projects/Grupo Jolivet/api/node_modules/node-gyp-build
82 silly finalize /Users/brielov/Projects/Grupo Jolivet/api/node_modules/sodium-native
83 silly finalize /Users/brielov/Projects/Grupo Jolivet/api/node_modules/secure-password
84 silly doParallel refresh-package-json 32
85 silly refresh-package-json /Users/brielov/Projects/Grupo Jolivet/api/node_modules/nan
86 silly refresh-package-json /Users/brielov/Projects/Grupo Jolivet/api/node_modules/node-gyp-build
87 silly refresh-package-json /Users/brielov/Projects/Grupo Jolivet/api/node_modules/sodium-native
88 silly refresh-package-json /Users/brielov/Projects/Grupo Jolivet/api/node_modules/secure-password
89 silly doParallel preinstall 32
90 silly preinstall nan@2.8.0
91 info lifecycle nan@2.8.0~preinstall: nan@2.8.0
92 silly preinstall node-gyp-build@3.2.2
93 info lifecycle node-gyp-build@3.2.2~preinstall: node-gyp-build@3.2.2
94 silly preinstall sodium-native@1.10.3
95 info lifecycle sodium-native@1.10.3~preinstall: sodium-native@1.10.3
96 silly preinstall secure-password@2.1.2
97 info lifecycle secure-password@2.1.2~preinstall: secure-password@2.1.2
98 silly doSerial build 32
99 silly build nan@2.8.0
100 info linkStuff nan@2.8.0
101 silly linkStuff nan@2.8.0 has /Users/brielov/Projects/Grupo Jolivet/api/node_modules as its parent node_modules
102 verbose linkBins nan@2.8.0
103 verbose linkMans nan@2.8.0
104 silly build node-gyp-build@3.2.2
105 info linkStuff node-gyp-build@3.2.2
106 silly linkStuff node-gyp-build@3.2.2 has /Users/brielov/Projects/Grupo Jolivet/api/node_modules as its parent node_modules
107 verbose linkBins node-gyp-build@3.2.2
108 verbose linkBins [ { 'node-gyp-build': './bin.js',
108 verbose linkBins 'node-gyp-build-optional': './optional.js',
108 verbose linkBins 'node-gyp-build-test': './build-test.js' },
108 verbose linkBins '/Users/brielov/Projects/Grupo Jolivet/api/node_modules/.bin',
108 verbose linkBins false ]
109 verbose linkMans node-gyp-build@3.2.2
110 silly linkBins Converting line endings of hashbang file: /Users/brielov/Projects/Grupo Jolivet/api/node_modules/node-gyp-build/bin.js
111 silly linkBins Converting line endings of hashbang file: /Users/brielov/Projects/Grupo Jolivet/api/node_modules/node-gyp-build/optional.js
112 silly linkBins Converting line endings of hashbang file: /Users/brielov/Projects/Grupo Jolivet/api/node_modules/node-gyp-build/build-test.js
113 silly build sodium-native@1.10.3
114 info linkStuff sodium-native@1.10.3
115 silly linkStuff sodium-native@1.10.3 has /Users/brielov/Projects/Grupo Jolivet/api/node_modules as its parent node_modules
116 verbose linkBins sodium-native@1.10.3
117 verbose linkMans sodium-native@1.10.3
118 silly build secure-password@2.1.2
119 info linkStuff secure-password@2.1.2
120 silly linkStuff secure-password@2.1.2 has /Users/brielov/Projects/Grupo Jolivet/api/node_modules as its parent node_modules
121 verbose linkBins secure-password@2.1.2
122 verbose linkMans secure-password@2.1.2
123 silly doSerial global-link 32
124 silly doParallel update-linked 32
125 silly doSerial install 32
126 silly install nan@2.8.0
127 info lifecycle nan@2.8.0~install: nan@2.8.0
128 silly install node-gyp-build@3.2.2
129 info lifecycle node-gyp-build@3.2.2~install: node-gyp-build@3.2.2
130 silly install sodium-native@1.10.3
131 info lifecycle sodium-native@1.10.3~install: sodium-native@1.10.3
132 verbose lifecycle sodium-native@1.10.3~install: unsafe-perm in lifecycle true
133 verbose lifecycle sodium-native@1.10.3~install: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/brielov/Projects/Grupo Jolivet/api/node_modules/sodium-native/node_modules/.bin:/Users/brielov/Projects/Grupo Jolivet/api/node_modules/.bin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
134 verbose lifecycle sodium-native@1.10.3~install: CWD: /Users/brielov/Projects/Grupo Jolivet/api/node_modules/sodium-native
135 silly lifecycle sodium-native@1.10.3~install: Args: [ '-c',
135 silly lifecycle 'node-gyp-build "node preinstall.js" "node postinstall.js"' ]
136 silly lifecycle sodium-native@1.10.3~install: Returned: code: 1 signal: null
137 info lifecycle sodium-native@1.10.3~install: Failed to exec install script
138 verbose unlock done using /Users/brielov/.npm/_locks/staging-8931b6f3bcb3e129.lock for /Users/brielov/Projects/Grupo Jolivet/api/node_modules/.staging
139 silly saveTree api@0.0.0
139 silly saveTree ├─┬ co-body@5.1.1
139 silly saveTree │ ├── inflation@2.0.0
139 silly saveTree │ ├── qs@6.5.1
139 silly saveTree │ ├─┬ raw-body@2.3.2
139 silly saveTree │ │ ├── bytes@3.0.0
139 silly saveTree │ │ ├─┬ http-errors@1.6.2
139 silly saveTree │ │ │ ├── depd@1.1.1
139 silly saveTree │ │ │ ├── inherits@2.0.3
139 silly saveTree │ │ │ ├── setprototypeof@1.0.3
139 silly saveTree │ │ │ └── statuses@1.4.0
139 silly saveTree │ │ ├── iconv-lite@0.4.19
139 silly saveTree │ │ └── unpipe@1.0.0
139 silly saveTree │ └─┬ type-is@1.6.15
139 silly saveTree │ ├── media-typer@0.3.0
139 silly saveTree │ └─┬ mime-types@2.1.17
139 silly saveTree │ └── mime-db@1.30.0
139 silly saveTree ├─┬ glob@7.1.2
139 silly saveTree │ ├── fs.realpath@1.0.0
139 silly saveTree │ ├─┬ inflight@1.0.6
139 silly saveTree │ │ ├─┬ once@1.4.0
139 silly saveTree │ │ │ └── wrappy@1.0.2
139 silly saveTree │ │ └── wrappy@1.0.2
139 silly saveTree │ ├─┬ minimatch@3.0.4
139 silly saveTree │ │ └─┬ brace-expansion@1.1.8
139 silly saveTree │ │ ├── balanced-match@1.0.0
139 silly saveTree │ │ └── concat-map@0.0.1
139 silly saveTree │ ├── once@1.4.0
139 silly saveTree │ └── path-is-absolute@1.0.1
139 silly saveTree ├── kcors@2.2.1
139 silly saveTree ├── koa-conditional-get@2.0.0
139 silly saveTree ├─┬ koa-etag@3.0.0
139 silly saveTree │ ├── etag@1.8.1
139 silly saveTree │ └─┬ mz@2.7.0
139 silly saveTree │ ├── any-promise@1.3.0
139 silly saveTree │ ├── object-assign@4.1.1
139 silly saveTree │ └─┬ thenify-all@1.6.0
139 silly saveTree │ └── thenify@3.3.0
139 silly saveTree ├─┬ koa-logger@3.1.0
139 silly saveTree │ ├── bytes@2.5.0
139 silly saveTree │ ├─┬ chalk@1.1.3
139 silly saveTree │ │ ├── ansi-styles@2.2.1
139 silly saveTree │ │ ├── escape-string-regexp@1.0.5
139 silly saveTree │ │ ├─┬ has-ansi@2.0.0
139 silly saveTree │ │ │ └── ansi-regex@2.1.1
139 silly saveTree │ │ ├── strip-ansi@3.0.1
139 silly saveTree │ │ └── supports-color@2.0.0
139 silly saveTree │ ├── humanize-number@0.0.2
139 silly saveTree │ └── passthrough-counter@1.0.0
139 silly saveTree ├─┬ koa-router@7.3.0
139 silly saveTree │ ├─┬ debug@3.1.0
139 silly saveTree │ │ └── ms@2.0.0
139 silly saveTree │ ├── koa-compose@3.2.1
139 silly saveTree │ ├── methods@1.1.2
139 silly saveTree │ ├─┬ path-to-regexp@1.7.0
139 silly saveTree │ │ └── isarray@0.0.1
139 silly saveTree │ └── urijs@1.19.0
139 silly saveTree ├─┬ koa@2.4.1
139 silly saveTree │ ├─┬ accepts@1.3.4
139 silly saveTree │ │ └── negotiator@0.6.1
139 silly saveTree │ ├── content-disposition@0.5.2
139 silly saveTree │ ├── content-type@1.0.4
139 silly saveTree │ ├─┬ cookies@0.7.1
139 silly saveTree │ │ └── keygrip@1.0.2
139 silly saveTree │ ├── delegates@1.0.0
139 silly saveTree │ ├── destroy@1.0.4
139 silly saveTree │ ├── error-inject@1.0.0
139 silly saveTree │ ├── escape-html@1.0.3
139 silly saveTree │ ├── fresh@0.5.2
139 silly saveTree │ ├─┬ http-assert@1.3.0
139 silly saveTree │ │ └── deep-equal@1.0.1
139 silly saveTree │ ├── is-generator-function@1.0.6
139 silly saveTree │ ├── koa-compose@4.0.0
139 silly saveTree │ ├─┬ koa-convert@1.2.0
139 silly saveTree │ │ ├── co@4.6.0
139 silly saveTree │ │ └── koa-compose@3.2.1
139 silly saveTree │ ├── koa-is-json@1.0.0
139 silly saveTree │ ├─┬ on-finished@2.3.0
139 silly saveTree │ │ └── ee-first@1.1.1
139 silly saveTree │ ├── only@0.0.2
139 silly saveTree │ ├── parseurl@1.3.2
139 silly saveTree │ └── vary@1.1.2
139 silly saveTree ├─┬ mocha@4.0.1
139 silly saveTree │ ├── browser-stdout@1.3.0
139 silly saveTree │ ├── commander@2.11.0
139 silly saveTree │ ├── diff@3.3.1
139 silly saveTree │ ├── growl@1.10.3
139 silly saveTree │ ├── he@1.1.1
139 silly saveTree │ ├─┬ mkdirp@0.5.1
139 silly saveTree │ │ └── minimist@0.0.8
139 silly saveTree │ └─┬ supports-color@4.4.0
139 silly saveTree │ └── has-flag@2.0.0
139 silly saveTree ├─┬ mongoose-unique-validator@1.0.6
139 silly saveTree │ ├── lodash.foreach@4.5.0
139 silly saveTree │ └── lodash.get@4.4.2
139 silly saveTree ├─┬ mongoose@4.13.5
139 silly saveTree │ ├─┬ async@2.1.4
139 silly saveTree │ │ └── lodash@4.17.4
139 silly saveTree │ ├── bson@1.0.4
139 silly saveTree │ ├── hooks-fixed@2.0.2
139 silly saveTree │ ├── kareem@1.5.0
139 silly saveTree │ ├─┬ mongodb@2.2.33
139 silly saveTree │ │ ├── es6-promise@3.2.1
139 silly saveTree │ │ ├─┬ mongodb-core@2.1.17
139 silly saveTree │ │ │ └─┬ require_optional@1.0.1
139 silly saveTree │ │ │ ├── resolve-from@2.0.0
139 silly saveTree │ │ │ └── semver@5.4.1
139 silly saveTree │ │ └─┬ readable-stream@2.2.7
139 silly saveTree │ │ ├── buffer-shims@1.0.0
139 silly saveTree │ │ ├── core-util-is@1.0.2
139 silly saveTree │ │ ├── isarray@1.0.0
139 silly saveTree │ │ ├── process-nextick-args@1.0.7
139 silly saveTree │ │ ├─┬ string_decoder@1.0.3
139 silly saveTree │ │ │ └── safe-buffer@5.1.1
139 silly saveTree │ │ └── util-deprecate@1.0.2
139 silly saveTree │ ├── mpath@0.3.0
139 silly saveTree │ ├── mpromise@0.5.5
139 silly saveTree │ ├─┬ mquery@2.3.3
139 silly saveTree │ │ ├── bluebird@3.5.0
139 silly saveTree │ │ ├── debug@2.6.9
139 silly saveTree │ │ ├── regexp-clone@0.0.1
139 silly saveTree │ │ └── sliced@0.0.5
139 silly saveTree │ ├── muri@1.3.0
139 silly saveTree │ ├── regexp-clone@0.0.1
139 silly saveTree │ └── sliced@1.0.1
139 silly saveTree ├─┬ secure-password@2.1.2
139 silly saveTree │ ├── nanoassert@1.1.0
139 silly saveTree │ └─┬ sodium-native@1.10.3
139 silly saveTree │ ├── nan@2.8.0
139 silly saveTree │ └── node-gyp-build@3.2.2
139 silly saveTree └─┬ supertest@3.0.0
139 silly saveTree └─┬ superagent@3.8.1
139 silly saveTree ├── component-emitter@1.2.1
139 silly saveTree ├── cookiejar@2.1.1
139 silly saveTree ├── extend@3.0.1
139 silly saveTree ├─┬ form-data@2.3.1
139 silly saveTree │ ├── asynckit@0.4.0
139 silly saveTree │ └─┬ combined-stream@1.0.5
139 silly saveTree │ └── delayed-stream@1.0.0
139 silly saveTree ├── formidable@1.1.1
139 silly saveTree ├── mime@1.6.0
139 silly saveTree └─┬ readable-stream@2.3.3
139 silly saveTree └── isarray@1.0.0
140 warn api@0.0.0 No description
141 warn api@0.0.0 No license field.
142 verbose stack Error: sodium-native@1.10.3 install: `node-gyp-build "node preinstall.js" "node postinstall.js"`
142 verbose stack Exit status 1
142 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16)
142 verbose stack at EventEmitter.emit (events.js:159:13)
142 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
142 verbose stack at ChildProcess.emit (events.js:159:13)
142 verbose stack at maybeClose (internal/child_process.js:943:16)
142 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
143 verbose pkgid sodium-native@1.10.3
144 verbose cwd /Users/brielov/Projects/Grupo Jolivet/api
145 verbose Darwin 17.2.0
146 verbose argv "/usr/local/Cellar/node/9.2.0/bin/node" "/usr/local/bin/npm" "i" "--verbose" "secure-password"
147 verbose node v9.2.0
148 verbose npm v5.6.0
149 error code ELIFECYCLE
150 error errno 1
151 error sodium-native@1.10.3 install: `node-gyp-build "node preinstall.js" "node postinstall.js"`
151 error Exit status 1
152 error Failed at the sodium-native@1.10.3 install script.
152 error This is probably not a problem with npm. There is likely additional logging output above.
153 verbose exit [ 1, true ]
If you need any other info just let me know. Thanks!
Ah, so it is because it is trying to compile for Node v9.2, and most likely you don't have the build tools. I will upgrade to the next version of sodium-native
, but this requires at major bump from my side, so you will have to install secure-password@3
when I have it released
Oh okay so I'll try with node ~>8 and see what happens. Thank you so much for the quick reply
@brielov I will publish a new version within the next couple of hours :)
@emilbayes Dude you rock, beers on me 🍻
This dragged out to a bit more than a couple of hours haha, but christmas is here and v3.0.0
resolves this issue