Failed to update Rocket.Chat from 3.9.0 to 3.9.1
Rocket Chat to be updated to 3.9.1
I got this
[email protected] install /opt/Rocket.Chat/programs/server/node_modules/fibers
node build.js || nodejs build.js
make: Entering directory '/opt/Rocket.Chat/programs/server/node_modules/fibers/build'
CXX(target) Release/obj.target/fibers/src/fibers.o
../src/fibers.cc:68:2: error: βHandleβ does not name a type; did you mean βrand_rβ?
Handle
........... and a long list of errors
At the end of the failed installation I got:
make: * [fibers.target.mk:120: Release/obj.target/fibers/src/fibers.o] Error 1
make: Leaving directory '/opt/Rocket.Chat/programs/server/node_modules/fibers/build'
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.18.0-193.28.1.el8_2.x86_64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /opt/Rocket.Chat/programs/server/node_modules/fibers
gyp ERR! node -v v12.18.4
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-gyp exited with code: 1
Please make sure you are using a supported platform and node version. If you
would like to compile fibers on this machine please make sure you have setup your
build environment--
Windows + OS X instructions here: https://github.com/nodejs/node-gyp
Ubuntu users please run: sudo apt-get install g++ build-essential
RHEL users please run: yum install gcc-c++
and yum groupinstall 'Development Tools'
Alpine users please run: sudo apk add python make g++
sh: nodejs: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! [email protected] install: node build.js || nodejs build.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-12-08T00_37_48_809Z-debug.log
/root/.npm/_logs/2020-12-08T00_37_48_809Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'install' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 5dbf95ee6c44b35d
5 silly install runPreinstallTopLevelLifecycles
6 silly preinstall meteor-dev-bundle@
7 info lifecycle meteor-dev-bundle@~preinstall: meteor-dev-bundle@
8 silly install loadCurrentTree
9 silly install readLocalPackageData
10 timing stage:loadCurrentTree Completed in 685ms
11 silly install loadIdealTree
12 silly install cloneCurrentTreeToIdealTree
13 timing stage:loadIdealTree:cloneCurrentTree Completed in 7ms
14 silly install loadShrinkwrap
15 timing stage:loadIdealTree:loadShrinkwrap Completed in 69ms
16 silly install loadAllDepsIntoIdealTree
17 http fetch GET 304 https://registry.npmjs.org/node-gyp 239ms (from cache)
18 http fetch GET 304 https://registry.npmjs.org/node-pre-gyp 243ms (from cache)
19 silly pacote version manifest for [email protected] fetched in 266ms
20 silly pacote version manifest for [email protected] fetched in 304ms
21 http fetch GET 304 https://registry.npmjs.org/mkdirp 226ms (from cache)
22 http fetch GET 304 https://registry.npmjs.org/glob 230ms (from cache)
23 silly pacote range manifest for mkdirp@^0.5.0 fetched in 233ms
24 silly pacote range manifest for glob@^7.0.3 fetched in 238ms
25 http fetch GET 304 https://registry.npmjs.org/env-paths 250ms (from cache)
26 http fetch GET 304 https://registry.npmjs.org/npmlog 238ms (from cache)
27 http fetch GET 304 https://registry.npmjs.org/tar 214ms (from cache)
28 http fetch GET 304 https://registry.npmjs.org/graceful-fs 251ms (from cache)
29 silly pacote range manifest for mkdirp@^0.5.1 fetched in 16ms
30 silly pacote range manifest for env-paths@^1.0.0 fetched in 264ms
31 http fetch GET 304 https://registry.npmjs.org/nopt 252ms (from cache)
32 http fetch GET 304 https://registry.npmjs.org/request 251ms (from cache)
33 http fetch GET 304 https://registry.npmjs.org/rimraf 252ms (from cache)
34 silly pacote range manifest for npmlog@0 || 1 || 2 || 3 || 4 fetched in 257ms
35 http fetch GET 304 https://registry.npmjs.org/semver 252ms (from cache)
36 silly pacote range manifest for tar@^4.4.8 fetched in 239ms
37 silly pacote range manifest for graceful-fs@^4.1.2 fetched in 280ms
38 silly pacote range manifest for nopt@^4.0.1 fetched in 24ms
39 silly pacote range manifest for nopt@2 || 3 fetched in 279ms
40 silly pacote range manifest for rimraf@2 fetched in 276ms
41 silly pacote range manifest for request@^2.87.0 fetched in 277ms
42 warn deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
43 silly pacote range manifest for semver@~5.3.0 fetched in 275ms
43 silly pacote range manifest for semver@~5.3.0 fetched in 275ms
44 silly pacote range manifest for npmlog@^4.0.2 fetched in 23ms
45 silly pacote range manifest for rimraf@^2.6.1 fetched in 21ms
46 silly pacote range manifest for tar@^4 fetched in 23ms
47 http fetch GET 304 https://registry.npmjs.org/which 136ms (from cache)
48 silly pacote range manifest for which@1 fetched in 141ms
49 http fetch GET 304 https://registry.npmjs.org/needle 125ms (from cache)
50 http fetch GET 304 https://registry.npmjs.org/npm-packlist 122ms (from cache)
51 silly pacote range manifest for needle@^2.2.1 fetched in 134ms
52 http fetch GET 304 https://registry.npmjs.org/fs.realpath 103ms (from cache)
53 http fetch GET 304 https://registry.npmjs.org/inflight 102ms (from cache)
54 silly pacote range manifest for npm-packlist@^1.1.6 fetched in 132ms
55 http fetch GET 304 https://registry.npmjs.org/rc 123ms (from cache)
56 silly pacote range manifest for fs.realpath@^1.0.0 fetched in 116ms
57 http fetch GET 304 https://registry.npmjs.org/minimatch 104ms (from cache)
58 silly pacote range manifest for inflight@^1.0.4 fetched in 115ms
59 http fetch GET 304 https://registry.npmjs.org/once 104ms (from cache)
60 silly pacote range manifest for rc@^1.2.7 fetched in 135ms
61 http fetch GET 304 https://registry.npmjs.org/path-is-absolute 106ms (from cache)
62 silly pacote range manifest for minimatch@^3.0.4 fetched in 124ms
63 silly pacote range manifest for once@^1.3.0 fetched in 121ms
64 silly pacote range manifest for path-is-absolute@^1.0.0 fetched in 130ms
65 http fetch GET 304 https://registry.npmjs.org/minimist 202ms (from cache)
66 silly pacote range manifest for minimist@^1.2.5 fetched in 214ms
67 http fetch GET 304 https://registry.npmjs.org/are-we-there-yet 132ms (from cache)
68 http fetch GET 304 https://registry.npmjs.org/console-control-strings 125ms (from cache)
69 silly pacote range manifest for are-we-there-yet@~1.1.2 fetched in 140ms
70 http fetch GET 304 https://registry.npmjs.org/gauge 120ms (from cache)
71 silly pacote range manifest for console-control-strings@~1.1.0 fetched in 131ms
72 http fetch GET 304 https://registry.npmjs.org/chownr 114ms (from cache)
73 http fetch GET 304 https://registry.npmjs.org/set-blocking 116ms (from cache)
74 silly pacote range manifest for gauge@~2.7.3 fetched in 129ms
75 http fetch GET 304 https://registry.npmjs.org/fs-minipass 114ms (from cache)
76 silly pacote range manifest for chownr@^1.1.1 fetched in 125ms
77 silly pacote range manifest for set-blocking@~2.0.0 fetched in 126ms
78 http fetch GET 304 https://registry.npmjs.org/minipass 108ms (from cache)
79 http fetch GET 304 https://registry.npmjs.org/minizlib 109ms (from cache)
80 http fetch GET 304 https://registry.npmjs.org/yallist 99ms (from cache)
81 silly pacote range manifest for glob@^7.1.3 fetched in 14ms
82 silly pacote range manifest for fs-minipass@^1.2.5 fetched in 127ms
83 silly pacote range manifest for minipass@^2.8.6 fetched in 124ms
84 silly pacote range manifest for minizlib@^1.2.1 fetched in 124ms
85 silly pacote range manifest for yallist@^3.0.3 fetched in 116ms
86 http fetch GET 304 https://registry.npmjs.org/abbrev 118ms (from cache)
87 silly pacote range manifest for abbrev@1 fetched in 128ms
88 http fetch GET 304 https://registry.npmjs.org/osenv 120ms (from cache)
89 silly pacote range manifest for osenv@^0.1.4 fetched in 136ms
90 http fetch GET 304 https://registry.npmjs.org/aws4 124ms (from cache)
91 http fetch GET 304 https://registry.npmjs.org/aws-sign2 126ms (from cache)
92 http fetch GET 304 https://registry.npmjs.org/caseless 121ms (from cache)
93 http fetch GET 304 https://registry.npmjs.org/combined-stream 119ms (from cache)
94 silly pacote range manifest for aws4@^1.8.0 fetched in 133ms
95 silly pacote range manifest for aws-sign2@~0.7.0 fetched in 134ms
96 http fetch GET 304 https://registry.npmjs.org/extend 115ms (from cache)
97 http fetch GET 304 https://registry.npmjs.org/forever-agent 118ms (from cache)
98 silly pacote range manifest for caseless@~0.12.0 fetched in 132ms
99 silly pacote range manifest for combined-stream@~1.0.6 fetched in 131ms
100 silly pacote range manifest for extend@~3.0.2 fetched in 133ms
101 http fetch GET 304 https://registry.npmjs.org/form-data 132ms (from cache)
102 silly pacote range manifest for forever-agent@~0.6.1 fetched in 139ms
103 silly pacote range manifest for form-data@~2.3.2 fetched in 148ms
104 http fetch GET 304 https://registry.npmjs.org/har-validator 123ms (from cache)
105 http fetch GET 304 https://registry.npmjs.org/http-signature 123ms (from cache)
106 http fetch GET 304 https://registry.npmjs.org/is-typedarray 108ms (from cache)
107 silly pacote range manifest for har-validator@~5.1.3 fetched in 132ms
108 warn deprecated [email protected]: this library is no longer supported
109 silly pacote range manifest for http-signature@~1.2.0 fetched in 132ms
110 silly pacote range manifest for is-typedarray@~1.0.0 fetched in 117ms
111 http fetch GET 304 https://registry.npmjs.org/isstream 106ms (from cache)
112 http fetch GET 304 https://registry.npmjs.org/json-stringify-safe 108ms (from cache)
113 http fetch GET 304 https://registry.npmjs.org/oauth-sign 111ms (from cache)
114 http fetch GET 304 https://registry.npmjs.org/mime-types 115ms (from cache)
115 silly pacote range manifest for isstream@~0.1.2 fetched in 127ms
116 silly pacote range manifest for json-stringify-safe@~5.0.1 fetched in 128ms
117 http fetch GET 304 https://registry.npmjs.org/performance-now 110ms (from cache)
118 http fetch GET 304 https://registry.npmjs.org/qs 108ms (from cache)
119 silly pacote range manifest for oauth-sign@~0.9.0 fetched in 127ms
120 silly pacote range manifest for mime-types@~2.1.19 fetched in 131ms
121 silly pacote range manifest for performance-now@^2.1.0 fetched in 133ms
122 http fetch GET 304 https://registry.npmjs.org/tough-cookie 116ms (from cache)
123 silly pacote range manifest for qs@~6.5.2 fetched in 131ms
124 silly pacote range manifest for tough-cookie@~2.5.0 fetched in 133ms
125 http fetch GET 304 https://registry.npmjs.org/uuid 143ms (from cache)
126 http fetch GET 304 https://registry.npmjs.org/tunnel-agent 146ms (from cache)
127 http fetch GET 304 https://registry.npmjs.org/isexe 147ms (from cache)
128 silly pacote range manifest for uuid@^3.3.2 fetched in 157ms
129 silly pacote range manifest for tunnel-agent@^0.6.0 fetched in 159ms
130 http fetch GET 304 https://registry.npmjs.org/debug 141ms (from cache)
131 silly pacote range manifest for isexe@^2.0.0 fetched in 164ms
132 http fetch GET 304 https://registry.npmjs.org/iconv-lite 156ms (from cache)
133 http fetch GET 304 https://registry.npmjs.org/sax 152ms (from cache)
134 silly pacote range manifest for debug@^3.2.6 fetched in 167ms
135 silly pacote range manifest for minimist@^1.2.0 fetched in 23ms
136 http fetch GET 304 https://registry.npmjs.org/ignore-walk 156ms (from cache)
137 silly pacote range manifest for iconv-lite@^0.4.4 fetched in 173ms
138 silly pacote range manifest for sax@^1.2.4 fetched in 177ms
139 http fetch GET 304 https://registry.npmjs.org/npm-normalize-package-bin 159ms (from cache)
140 http fetch GET 304 https://registry.npmjs.org/npm-bundled 164ms (from cache)
141 silly pacote range manifest for ignore-walk@^3.0.1 fetched in 193ms
142 http fetch GET 304 https://registry.npmjs.org/wrappy 174ms (from cache)
143 silly pacote range manifest for npm-normalize-package-bin@^1.0.1 fetched in 192ms
144 silly pacote range manifest for npm-bundled@^1.0.1 fetched in 198ms
145 silly pacote range manifest for console-control-strings@^1.0.0 fetched in 20ms
146 silly pacote range manifest for wrappy@1 fetched in 205ms
147 http fetch GET 304 https://registry.npmjs.org/deep-extend 161ms (from cache)
148 http fetch GET 304 https://registry.npmjs.org/ini 160ms (from cache)
149 silly pacote range manifest for deep-extend@^0.6.0 fetched in 167ms
150 silly pacote range manifest for ini@~1.3.0 fetched in 166ms
151 http fetch GET 304 https://registry.npmjs.org/strip-json-comments 135ms (from cache)
152 http fetch GET 304 https://registry.npmjs.org/brace-expansion 134ms (from cache)
153 http fetch GET 304 https://registry.npmjs.org/delegates 122ms (from cache)
154 silly pacote range manifest for minipass@^2.6.0 fetched in 7ms
155 silly pacote range manifest for strip-json-comments@~2.0.1 fetched in 145ms
156 silly pacote range manifest for brace-expansion@^1.1.7 fetched in 143ms
157 http fetch GET 304 https://registry.npmjs.org/aproba 128ms (from cache)
158 silly pacote range manifest for delegates@^1.0.0 fetched in 133ms
159 silly pacote range manifest for yallist@^3.0.0 fetched in 9ms
160 http fetch GET 304 https://registry.npmjs.org/has-unicode 96ms (from cache)
161 silly pacote range manifest for minipass@^2.9.0 fetched in 9ms
162 http fetch GET 304 https://registry.npmjs.org/signal-exit 99ms (from cache)
163 silly pacote range manifest for aproba@^1.0.3 fetched in 137ms
164 http fetch GET 304 https://registry.npmjs.org/string-width 102ms (from cache)
165 silly pacote range manifest for has-unicode@^2.0.0 fetched in 113ms
166 silly pacote range manifest for signal-exit@^3.0.0 fetched in 114ms
167 silly pacote range manifest for combined-stream@^1.0.6 fetched in 10ms
168 http fetch GET 304 https://registry.npmjs.org/strip-ansi 90ms (from cache)
169 silly pacote range manifest for string-width@^1.0.1 fetched in 112ms
170 silly pacote range manifest for mime-types@^2.1.12 fetched in 8ms
171 silly pacote range manifest for strip-ansi@^3.0.1 fetched in 104ms
172 http fetch GET 304 https://registry.npmjs.org/wide-align 94ms (from cache)
173 http fetch GET 304 https://registry.npmjs.org/os-homedir 86ms (from cache)
174 silly pacote range manifest for wide-align@^1.1.0 fetched in 101ms
175 http fetch GET 304 https://registry.npmjs.org/delayed-stream 85ms (from cache)
176 http fetch GET 304 https://registry.npmjs.org/os-tmpdir 87ms (from cache)
177 silly pacote range manifest for os-homedir@^1.0.0 fetched in 93ms
178 http fetch GET 304 https://registry.npmjs.org/asynckit 88ms (from cache)
179 silly pacote range manifest for delayed-stream@~1.0.0 fetched in 94ms
180 http fetch GET 304 https://registry.npmjs.org/har-schema 72ms (from cache)
181 silly pacote range manifest for os-tmpdir@^1.0.0 fetched in 98ms
182 silly pacote range manifest for asynckit@^0.4.0 fetched in 97ms
183 silly pacote range manifest for har-schema@^2.0.0 fetched in 82ms
184 http fetch GET 304 https://registry.npmjs.org/jsprim 82ms (from cache)
185 http fetch GET 304 https://registry.npmjs.org/assert-plus 91ms (from cache)
186 http fetch GET 304 https://registry.npmjs.org/sshpk 82ms (from cache)
187 http fetch GET 304 https://registry.npmjs.org/ajv 105ms (from cache)
188 silly pacote range manifest for jsprim@^1.2.2 fetched in 102ms
189 silly pacote range manifest for assert-plus@^1.0.0 fetched in 109ms
190 silly pacote range manifest for sshpk@^1.7.0 fetched in 102ms
191 silly pacote range manifest for ajv@^6.12.3 fetched in 124ms
192 silly pacote range manifest for strip-ansi@^3.0.0 fetched in 10ms
193 http fetch GET 304 https://registry.npmjs.org/mime-db 89ms (from cache)
194 http fetch GET 304 https://registry.npmjs.org/psl 88ms (from cache)
195 http fetch GET 304 https://registry.npmjs.org/punycode 84ms (from cache)
196 http fetch GET 304 https://registry.npmjs.org/ms 83ms (from cache)
197 http fetch GET 304 https://registry.npmjs.org/safer-buffer 80ms (from cache)
198 silly pacote version manifest for [email protected] fetched in 98ms
199 http fetch GET 304 https://registry.npmjs.org/balanced-match 79ms (from cache)
200 silly pacote range manifest for psl@^1.1.28 fetched in 99ms
201 silly pacote range manifest for punycode@^2.1.1 fetched in 93ms
202 silly pacote range manifest for ms@^2.1.1 fetched in 90ms
203 silly pacote range manifest for safer-buffer@>= 2.1.2 < 3 fetched in 87ms
204 silly pacote range manifest for string-width@^1.0.2 || 2 fetched in 9ms
205 silly pacote range manifest for balanced-match@^1.0.0 fetched in 88ms
206 silly pacote version manifest for [email protected] fetched in 9ms
207 http fetch GET 304 https://registry.npmjs.org/concat-map 76ms (from cache)
208 silly pacote version manifest for [email protected] fetched in 78ms
209 http fetch GET 304 https://registry.npmjs.org/is-fullwidth-code-point 71ms (from cache)
210 silly pacote range manifest for safer-buffer@^2.0.2 fetched in 1ms
211 silly pacote range manifest for is-fullwidth-code-point@^1.0.0 fetched in 82ms
212 http fetch GET 304 https://registry.npmjs.org/ansi-regex 77ms (from cache)
213 silly pacote range manifest for ansi-regex@^2.0.0 fetched in 87ms
214 http fetch GET 304 https://registry.npmjs.org/json-schema 69ms (from cache)
215 http fetch GET 304 https://registry.npmjs.org/dashdash 65ms (from cache)
216 http fetch GET 304 https://registry.npmjs.org/extsprintf 72ms (from cache)
217 http fetch GET 304 https://registry.npmjs.org/verror 73ms (from cache)
218 http fetch GET 304 https://registry.npmjs.org/asn1 71ms (from cache)
219 http fetch GET 304 https://registry.npmjs.org/getpass 69ms (from cache)
220 silly pacote version manifest for [email protected] fetched in 78ms
221 silly pacote range manifest for dashdash@^1.12.0 fetched in 73ms
222 silly pacote version manifest for [email protected] fetched in 79ms
223 silly pacote version manifest for [email protected] fetched in 83ms
224 silly pacote range manifest for asn1@~0.2.3 fetched in 81ms
225 silly pacote range manifest for getpass@^0.1.1 fetched in 79ms
226 http fetch GET 304 https://registry.npmjs.org/jsbn 63ms (from cache)
227 silly pacote range manifest for is-fullwidth-code-point@^2.0.0 fetched in 13ms
228 silly pacote range manifest for jsbn@~0.1.0 fetched in 77ms
229 silly pacote range manifest for strip-ansi@^4.0.0 fetched in 4ms
230 http fetch GET 304 https://registry.npmjs.org/tweetnacl 74ms (from cache)
231 silly pacote range manifest for extsprintf@^1.2.0 fetched in 4ms
232 silly pacote range manifest for tweetnacl@~0.14.0 fetched in 84ms
233 silly pacote range manifest for safer-buffer@~2.1.0 fetched in 9ms
234 http fetch GET 304 https://registry.npmjs.org/ecc-jsbn 76ms (from cache)
235 silly pacote range manifest for ansi-regex@^3.0.0 fetched in 13ms
236 http fetch GET 304 https://registry.npmjs.org/code-point-at 189ms (from cache)
237 silly pacote range manifest for ecc-jsbn@~0.1.1 fetched in 82ms
238 silly pacote range manifest for code-point-at@^1.0.0 fetched in 193ms
239 silly pacote range manifest for safer-buffer@^2.1.0 fetched in 4ms
240 http fetch GET 304 https://registry.npmjs.org/bcrypt-pbkdf 70ms (from cache)
241 http fetch GET 304 https://registry.npmjs.org/fast-json-stable-stringify 70ms (from cache)
242 http fetch GET 304 https://registry.npmjs.org/fast-deep-equal 77ms (from cache)
243 silly pacote range manifest for bcrypt-pbkdf@^1.0.0 fetched in 79ms
244 silly pacote range manifest for fast-json-stable-stringify@^2.0.0 fetched in 78ms
245 http fetch GET 304 https://registry.npmjs.org/json-schema-traverse 81ms (from cache)
246 http fetch GET 304 https://registry.npmjs.org/uri-js 80ms (from cache)
247 http fetch GET 304 https://registry.npmjs.org/number-is-nan 66ms (from cache)
248 silly pacote range manifest for fast-deep-equal@^3.1.1 fetched in 89ms
249 silly pacote range manifest for tweetnacl@^0.14.3 fetched in 10ms
250 silly pacote range manifest for json-schema-traverse@^0.4.1 fetched in 87ms
251 silly pacote range manifest for uri-js@^4.2.2 fetched in 86ms
252 silly pacote range manifest for number-is-nan@^1.0.0 fetched in 70ms
253 silly pacote range manifest for punycode@^2.1.0 fetched in 2ms
254 silly pacote version manifest for [email protected] fetched in 5ms
255 silly resolveWithNewModule [email protected] checking installable status
256 silly pacote version manifest for [email protected] fetched in 8ms
257 silly resolveWithNewModule [email protected] checking installable status
258 silly pacote range manifest for env-paths@^1.0.0 fetched in 17ms
259 silly resolveWithNewModule [email protected] checking installable status
260 silly pacote range manifest for glob@^7.0.3 fetched in 19ms
261 silly resolveWithNewModule [email protected] checking installable status
262 silly pacote range manifest for graceful-fs@^4.1.2 fetched in 20ms
263 silly resolveWithNewModule [email protected] checking installable status
264 silly pacote range manifest for mkdirp@^0.5.0 fetched in 23ms
265 silly resolveWithNewModule [email protected] checking installable status
266 silly pacote range manifest for nopt@2 || 3 fetched in 24ms
267 silly resolveWithNewModule [email protected] checking installable status
268 silly pacote range manifest for npmlog@0 || 1 || 2 || 3 || 4 fetched in 27ms
269 silly resolveWithNewModule [email protected] checking installable status
270 silly pacote range manifest for request@^2.87.0 fetched in 28ms
271 silly resolveWithNewModule [email protected] checking installable status
272 silly pacote range manifest for rimraf@2 fetched in 28ms
273 silly resolveWithNewModule [email protected] checking installable status
274 silly pacote range manifest for semver@~5.3.0 fetched in 30ms
275 silly resolveWithNewModule [email protected] checking installable status
276 silly pacote range manifest for tar@^4.4.8 fetched in 31ms
277 silly resolveWithNewModule [email protected] checking installable status
278 silly pacote range manifest for which@1 fetched in 13ms
279 silly resolveWithNewModule [email protected] checking installable status
280 silly pacote range manifest for fs.realpath@^1.0.0 fetched in 5ms
281 silly resolveWithNewModule [email protected] checking installable status
282 silly pacote range manifest for inflight@^1.0.4 fetched in 6ms
283 silly resolveWithNewModule [email protected] checking installable status
284 silly pacote range manifest for minimatch@^3.0.4 fetched in 7ms
285 silly resolveWithNewModule [email protected] checking installable status
286 silly pacote range manifest for once@^1.3.0 fetched in 8ms
287 silly resolveWithNewModule [email protected] checking installable status
288 silly pacote range manifest for path-is-absolute@^1.0.0 fetched in 9ms
289 silly resolveWithNewModule [email protected] checking installable status
290 silly pacote range manifest for wrappy@1 fetched in 1ms
291 silly resolveWithNewModule [email protected] checking installable status
292 silly pacote range manifest for brace-expansion@^1.1.7 fetched in 2ms
293 silly resolveWithNewModule [email protected] checking installable status
294 silly pacote range manifest for balanced-match@^1.0.0 fetched in 2ms
295 silly resolveWithNewModule [email protected] checking installable status
296 silly pacote version manifest for [email protected] fetched in 3ms
297 silly resolveWithNewModule [email protected] checking installable status
298 silly pacote range manifest for minimist@^1.2.5 fetched in 2ms
299 silly resolveWithNewModule [email protected] checking installable status
300 silly pacote range manifest for abbrev@1 fetched in 1ms
301 silly resolveWithNewModule [email protected] checking installable status
302 silly pacote range manifest for are-we-there-yet@~1.1.2 fetched in 4ms
303 silly resolveWithNewModule [email protected] checking installable status
304 silly pacote range manifest for console-control-strings@~1.1.0 fetched in 5ms
305 silly resolveWithNewModule [email protected] checking installable status
306 silly pacote range manifest for gauge@~2.7.3 fetched in 6ms
307 silly resolveWithNewModule [email protected] checking installable status
308 silly pacote range manifest for set-blocking@~2.0.0 fetched in 7ms
309 silly resolveWithNewModule [email protected] checking installable status
310 silly pacote range manifest for delegates@^1.0.0 fetched in 2ms
311 silly resolveWithNewModule [email protected] checking installable status
312 silly pacote range manifest for aproba@^1.0.3 fetched in 9ms
313 silly resolveWithNewModule [email protected] checking installable status
314 silly pacote range manifest for has-unicode@^2.0.0 fetched in 9ms
315 silly resolveWithNewModule [email protected] checking installable status
316 silly pacote range manifest for signal-exit@^3.0.0 fetched in 10ms
317 silly resolveWithNewModule [email protected] checking installable status
318 silly pacote range manifest for string-width@^1.0.1 fetched in 13ms
319 silly resolveWithNewModule [email protected] checking installable status
320 silly pacote range manifest for strip-ansi@^3.0.1 fetched in 14ms
321 silly resolveWithNewModule [email protected] checking installable status
322 silly pacote range manifest for wide-align@^1.1.0 fetched in 15ms
323 silly resolveWithNewModule [email protected] checking installable status
324 silly pacote range manifest for code-point-at@^1.0.0 fetched in 3ms
325 silly resolveWithNewModule [email protected] checking installable status
326 silly pacote range manifest for is-fullwidth-code-point@^1.0.0 fetched in 4ms
327 silly resolveWithNewModule [email protected] checking installable status
328 silly pacote range manifest for strip-ansi@^3.0.0 fetched in 5ms
329 silly resolveWithNewModule [email protected] checking installable status
330 silly pacote range manifest for number-is-nan@^1.0.0 fetched in 2ms
331 silly resolveWithNewModule [email protected] checking installable status
332 silly pacote range manifest for ansi-regex@^2.0.0 fetched in 2ms
333 silly resolveWithNewModule [email protected] checking installable status
334 silly pacote range manifest for ansi-regex@^2.0.0 fetched in 2ms
335 silly resolveWithNewModule [email protected] checking installable status
336 silly pacote range manifest for aws-sign2@~0.7.0 fetched in 9ms
337 silly resolveWithNewModule [email protected] checking installable status
338 silly pacote range manifest for aws4@^1.8.0 fetched in 9ms
339 silly resolveWithNewModule [email protected] checking installable status
340 silly pacote range manifest for caseless@~0.12.0 fetched in 10ms
341 silly resolveWithNewModule [email protected] checking installable status
342 silly pacote range manifest for combined-stream@~1.0.6 fetched in 12ms
343 silly resolveWithNewModule [email protected] checking installable status
344 silly pacote range manifest for extend@~3.0.2 fetched in 16ms
345 silly resolveWithNewModule [email protected] checking installable status
346 silly pacote range manifest for forever-agent@~0.6.1 fetched in 17ms
347 silly resolveWithNewModule [email protected] checking installable status
348 silly pacote range manifest for form-data@~2.3.2 fetched in 19ms
349 silly resolveWithNewModule [email protected] checking installable status
350 silly pacote range manifest for har-validator@~5.1.3 fetched in 20ms
351 silly resolveWithNewModule [email protected] checking installable status
352 silly pacote range manifest for http-signature@~1.2.0 fetched in 22ms
353 silly resolveWithNewModule [email protected] checking installable status
354 silly pacote range manifest for is-typedarray@~1.0.0 fetched in 23ms
355 silly resolveWithNewModule [email protected] checking installable status
356 silly pacote range manifest for isstream@~0.1.2 fetched in 16ms
357 silly resolveWithNewModule [email protected] checking installable status
358 silly pacote range manifest for json-stringify-safe@~5.0.1 fetched in 17ms
359 silly resolveWithNewModule [email protected] checking installable status
360 silly pacote range manifest for mime-types@~2.1.19 fetched in 18ms
361 silly resolveWithNewModule [email protected] checking installable status
362 silly pacote range manifest for oauth-sign@~0.9.0 fetched in 19ms
363 silly resolveWithNewModule [email protected] checking installable status
364 silly pacote range manifest for performance-now@^2.1.0 fetched in 15ms
365 silly resolveWithNewModule [email protected] checking installable status
366 silly pacote range manifest for qs@~6.5.2 fetched in 16ms
367 silly resolveWithNewModule [email protected] checking installable status
368 silly pacote range manifest for tough-cookie@~2.5.0 fetched in 17ms
369 silly resolveWithNewModule [email protected] checking installable status
370 silly pacote range manifest for tunnel-agent@^0.6.0 fetched in 18ms
371 silly resolveWithNewModule [email protected] checking installable status
372 silly pacote range manifest for uuid@^3.3.2 fetched in 19ms
373 silly resolveWithNewModule [email protected] checking installable status
374 silly pacote range manifest for delayed-stream@~1.0.0 fetched in 1ms
375 silly resolveWithNewModule [email protected] checking installable status
376 silly pacote range manifest for asynckit@^0.4.0 fetched in 2ms
377 silly resolveWithNewModule [email protected] checking installable status
378 silly pacote version manifest for [email protected] fetched in 1ms
379 silly resolveWithNewModule [email protected] checking installable status
379 silly resolveWithNewModule [email protected] checking installable status
380 silly pacote range manifest for ajv@^6.12.3 fetched in 4ms
381 silly resolveWithNewModule [email protected] checking installable status
382 silly pacote range manifest for har-schema@^2.0.0 fetched in 5ms
383 silly resolveWithNewModule [email protected] checking installable status
384 silly pacote range manifest for fast-deep-equal@^3.1.1 fetched in 4ms
385 silly resolveWithNewModule [email protected] checking installable status
386 silly pacote range manifest for fast-json-stable-stringify@^2.0.0 fetched in 4ms
387 silly resolveWithNewModule [email protected] checking installable status
388 silly pacote range manifest for json-schema-traverse@^0.4.1 fetched in 5ms
389 silly resolveWithNewModule [email protected] checking installable status
390 silly pacote range manifest for uri-js@^4.2.2 fetched in 6ms
391 silly resolveWithNewModule [email protected] checking installable status
392 silly pacote range manifest for punycode@^2.1.0 fetched in 1ms
393 silly resolveWithNewModule [email protected] checking installable status
394 silly pacote range manifest for assert-plus@^1.0.0 fetched in 6ms
395 silly resolveWithNewModule [email protected] checking installable status
396 silly pacote range manifest for jsprim@^1.2.2 fetched in 7ms
397 silly resolveWithNewModule [email protected] checking installable status
398 silly pacote range manifest for sshpk@^1.7.0 fetched in 8ms
399 silly resolveWithNewModule [email protected] checking installable status
400 silly pacote version manifest for [email protected] fetched in 2ms
401 silly resolveWithNewModule [email protected] checking installable status
402 silly pacote version manifest for [email protected] fetched in 4ms
403 silly resolveWithNewModule [email protected] checking installable status
404 silly pacote version manifest for [email protected] fetched in 5ms
405 silly resolveWithNewModule [email protected] checking installable status
406 silly pacote range manifest for asn1@~0.2.3 fetched in 7ms
407 silly resolveWithNewModule [email protected] checking installable status
408 silly pacote range manifest for dashdash@^1.12.0 fetched in 8ms
409 silly resolveWithNewModule [email protected] checking installable status
410 silly pacote range manifest for getpass@^0.1.1 fetched in 9ms
411 silly resolveWithNewModule [email protected] checking installable status
412 silly pacote range manifest for safer-buffer@^2.0.2 fetched in 10ms
413 silly resolveWithNewModule [email protected] checking installable status
414 silly pacote range manifest for jsbn@~0.1.0 fetched in 10ms
415 silly resolveWithNewModule [email protected] checking installable status
416 silly pacote range manifest for tweetnacl@~0.14.0 fetched in 11ms
417 silly resolveWithNewModule [email protected] checking installable status
418 silly pacote range manifest for ecc-jsbn@~0.1.1 fetched in 12ms
419 silly resolveWithNewModule [email protected] checking installable status
420 silly pacote range manifest for bcrypt-pbkdf@^1.0.0 fetched in 13ms
421 silly resolveWithNewModule [email protected] checking installable status
422 silly pacote range manifest for psl@^1.1.28 fetched in 1ms
423 silly resolveWithNewModule [email protected] checking installable status
424 silly pacote range manifest for chownr@^1.1.1 fetched in 7ms
425 silly resolveWithNewModule [email protected] checking installable status
426 silly pacote range manifest for fs-minipass@^1.2.5 fetched in 8ms
427 silly resolveWithNewModule [email protected] checking installable status
428 silly pacote range manifest for minipass@^2.8.6 fetched in 8ms
429 silly resolveWithNewModule [email protected] checking installable status
430 silly pacote range manifest for minizlib@^1.2.1 fetched in 9ms
431 silly resolveWithNewModule [email protected] checking installable status
432 silly pacote range manifest for yallist@^3.0.3 fetched in 10ms
433 silly resolveWithNewModule [email protected] checking installable status
434 silly pacote range manifest for isexe@^2.0.0 fetched in 1ms
435 silly resolveWithNewModule [email protected] checking installable status
436 silly pacote range manifest for needle@^2.2.1 fetched in 5ms
437 silly resolveWithNewModule [email protected] checking installable status
438 silly pacote range manifest for nopt@^4.0.1 fetched in 5ms
439 silly resolveWithNewModule [email protected] checking installable status
440 silly pacote range manifest for npm-packlist@^1.1.6 fetched in 10ms
441 silly resolveWithNewModule [email protected] checking installable status
442 silly pacote range manifest for rc@^1.2.7 fetched in 11ms
443 silly resolveWithNewModule [email protected] checking installable status
444 silly pacote range manifest for debug@^3.2.6 fetched in 3ms
445 silly resolveWithNewModule [email protected] checking installable status
446 silly pacote range manifest for iconv-lite@^0.4.4 fetched in 4ms
447 silly resolveWithNewModule [email protected] checking installable status
448 silly pacote range manifest for sax@^1.2.4 fetched in 5ms
449 silly resolveWithNewModule [email protected] checking installable status
450 silly pacote range manifest for ms@^2.1.1 fetched in 1ms
451 silly resolveWithNewModule [email protected] checking installable status
452 silly pacote range manifest for osenv@^0.1.4 fetched in 6ms
453 silly resolveWithNewModule [email protected] checking installable status
454 silly pacote range manifest for os-homedir@^1.0.0 fetched in 2ms
455 silly resolveWithNewModule [email protected] checking installable status
456 silly pacote range manifest for os-tmpdir@^1.0.0 fetched in 3ms
457 silly resolveWithNewModule [email protected] checking installable status
458 silly pacote range manifest for ignore-walk@^3.0.1 fetched in 3ms
459 silly resolveWithNewModule [email protected] checking installable status
460 silly pacote range manifest for npm-bundled@^1.0.1 fetched in 5ms
461 silly resolveWithNewModule [email protected] checking installable status
462 silly pacote range manifest for npm-normalize-package-bin@^1.0.1 fetched in 5ms
463 silly resolveWithNewModule [email protected] checking installable status
464 silly pacote range manifest for deep-extend@^0.6.0 fetched in 3ms
465 silly resolveWithNewModule [email protected] checking installable status
466 silly pacote range manifest for ini@~1.3.0 fetched in 3ms
467 silly resolveWithNewModule [email protected] checking installable status
468 silly pacote range manifest for strip-json-comments@~2.0.1 fetched in 4ms
469 silly resolveWithNewModule [email protected] checking installable status
470 timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 2242ms
471 timing stage:loadIdealTree Completed in 2372ms
472 silly currentTree meteor-dev-bundle@
.
.
.
472 silly currentTree βββ [email protected]
473 silly idealTree meteor-dev-bundle@
.
.
.
473 silly idealTree βββ [email protected]
474 silly install generateActionsToTake
475 timing stage:generateActionsToTake Completed in 21ms
476 silly diffTrees action count 1
477 silly diffTrees add [email protected]
478 silly decomposeActions action count 8
479 silly decomposeActions fetch [email protected]
480 silly decomposeActions extract [email protected]
481 silly decomposeActions preinstall [email protected]
482 silly decomposeActions build [email protected]
483 silly decomposeActions install [email protected]
484 silly decomposeActions postinstall [email protected]
485 silly decomposeActions finalize [email protected]
486 silly decomposeActions refresh-package-json [email protected]
487 silly install executeActions
488 silly doSerial global-install 8
489 verbose correctMkdir /root/.npm/_locks correctMkdir not in flight; initializing
490 verbose lock using /root/.npm/_locks/staging-0e8e3bf8db346904.lock for /opt/Rocket.Chat/programs/server/node_modules/.staging
491 silly doParallel extract 1
492 silly extract [email protected]
493 silly tarball trying [email protected] by hash: sha512-dl3Ukt08rHVQfY8xGD0ODwyjwrRALtaghuqGH2jByYX1wpY+nAnRQjJ6Dbqq0DnVgNVQ9yibObzbF4IlPyiwPw==
494 silly extract [email protected] extracted to /opt/Rocket.Chat/programs/server/node_modules/.staging/fibers-98305ee5 (70ms)
495 timing action:extract Completed in 72ms
496 silly doReverseSerial unbuild 8
497 silly doSerial remove 8
498 silly doSerial move 8
499 silly doSerial finalize 8
500 silly finalize /opt/Rocket.Chat/programs/server/node_modules/fibers
501 timing action:finalize Completed in 4ms
502 silly doParallel refresh-package-json 1
503 silly refresh-package-json /opt/Rocket.Chat/programs/server/node_modules/fibers
504 timing action:refresh-package-json Completed in 10ms
505 silly doParallel preinstall 1
506 silly preinstall [email protected]
507 info lifecycle [email protected]~preinstall: [email protected]
508 timing action:preinstall Completed in 0ms
509 silly doSerial build 8
510 silly build [email protected]
511 info linkStuff [email protected]
512 silly linkStuff [email protected] has /opt/Rocket.Chat/programs/server/node_modules as its parent node_modules
513 timing action:build Completed in 2ms
514 silly doSerial global-link 8
515 silly doParallel update-linked 0
516 silly doSerial install 8
517 silly install [email protected]
518 info lifecycle [email protected]~install: [email protected]
519 verbose lifecycle [email protected]~install: unsafe-perm in lifecycle false
520 verbose lifecycle [email protected]~install: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/opt/Rocket.Chat/programs/server/node_modules/fibers/node_modules/$
521 verbose lifecycle [email protected]~install: CWD: /opt/Rocket.Chat/programs/server/node_modules/fibers
522 silly lifecycle [email protected]~install: Args: [ '-c', 'node build.js || nodejs build.js' ]
523 timing audit submit Completed in 825ms
524 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 825ms
525 timing audit body Completed in 2ms
526 info lifecycle [email protected]~install: Failed to exec install script
527 timing action:install Completed in 2174ms
528 verbose unlock done using /root/.npm/_locks/staging-0e8e3bf8db346904.lock for /opt/Rocket.Chat/programs/server/node_modules/.staging
529 timing stage:rollbackFailedOptional Completed in 27ms
530 timing stage:runTopLevelLifecycles Completed in 5495ms
531 silly saveTree meteor-dev-bundle@
531 silly saveTree βββ @babel/[email protected]
531 silly saveTree βββ @types/[email protected]
531 silly saveTree βββ @types/[email protected]
531 silly saveTree βββ¬ [email protected]
531 silly saveTree β βββ [email protected]
531 silly saveTree β βββ [email protected]
531 silly saveTree β βββ¬ [email protected]
531 silly saveTree β β βββ [email protected]
531 silly saveTree β βββ [email protected]
531 silly saveTree β βββ [email protected]
531 silly saveTree βββ¬ [email protected]
531 silly saveTree β βββ [email protected]
531 silly saveTree βββ [email protected]
.
.
.
531 silly saveTree βββ [email protected]
532 verbose stack Error: [email protected] install: node build.js || nodejs build.js
532 verbose stack spawn ENOENT
532 verbose stack at ChildProcess.
532 verbose stack at ChildProcess.emit (events.js:315:20)
532 verbose stack at maybeClose (internal/child_process.js:1021:16)
532 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
533 verbose pkgid [email protected]
534 verbose cwd /opt/Rocket.Chat/programs/server
535 verbose Linux 4.18.0-193.28.1.el8_2.x86_64
536 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
537 verbose node v12.18.4
538 verbose npm v6.14.6
539 error code ELIFECYCLE
540 error syscall spawn
541 error file sh
542 error errno ENOENT
543 error [email protected] install: node build.js || nodejs build.js
543 error spawn ENOENT
544 error Failed at the [email protected] install script.
544 error This is probably not a problem with npm. There is likely additional logging output above.
545 verbose exit [ 1, true ]
same error here :(
Rocket.Chat 3.8.0 > 3.9.1
Ubuntu 20.04.1 LTS
npm 6.14.9
node 12.18.4
MongoDB 4.0.21
u stop mongod and install node 12.19.1
Same problem here! @korobita that doesn't help.
Is this an issue to do with the latest download redirecting to an old version?
Same problem here
Rocket.Chat 3.9.0 > 3.9.1
Debian 10 (buster)
npm 6.14.6
node 12.18.4
MongoDB 4.2.11
rocketchat=$(curl -s https://api.github.com/repos/RocketChat/Rocket.Chat/tags 2>&1 | head -3 | grep -oP '(?<=")\d.*(?=")')
curl -L "https://cdn-download.rocket.chat/build/rocket.chat-${rocketchat}.tgz" -o /tmp/rocket.chat.tgz
tar -xzf /tmp/rocket.chat.tgz -C /tmp
cd /tmp/bundle/programs/server && npm install --unsafe-perm
mv /tmp/bundle /opt/Rocket.Chat
chown -R rocketchat:rocketchat /opt/Rocket.Chat
systemctl start rocketchat
tail -f /var/log/messages
@magenx that works and downloads + installs the latest version.
Ok so I had the same error and localized the bug :
https://cdn-download.rocket.chat/build/rocket.chat-3.9.1.tgz => OK
https://releases.rocket.chat/latest/download => KO
Just changed it in my update script and it was OK ;)
So I guess archive is corrupted
I got same error when it try the @magenx solution i got this error Error: Cannot find module 'reify/lib/runtime'
code: 'MODULE_NOT_FOUND',
To download 3.9.1, use the following link.
https://releases.rocket.chat/3.9.1/download
Yep if download the file from https://releases.rocket.chat/3.9.1/download and the update passed successfully.
Most helpful comment