npm / cli

the package manager for JavaScript
https://docs.npmjs.com/cli/
Other
8.53k stars 3.2k forks source link

[BUG] Npm can't install most of the packages on arm64 #5743

Open renhiyama opened 2 years ago

renhiyama commented 2 years ago

Is there an existing issue for this?

This issue exists in the latest npm version

Current Behavior

Ran npm i -g nodemon Error:

0 verbose cli /home/ren/n/bin/node /home/ren/n/bin/npm
1 info using npm@8.19.2
2 info using node@v19.0.0
3 timing npm:load:whichnode Completed in 2ms
4 timing config:load:defaults Completed in 4ms
5 timing config:load:file:/home/ren/n/lib/node_modules/npm/npmrc Completed in 5ms
6 timing config:load:builtin Completed in 6ms
7 timing config:load:cli Completed in 5ms
8 timing config:load:env Completed in 1ms
9 timing config:load:project Completed in 5ms
10 timing config:load:file:/home/ren/.npmrc Completed in 12ms
11 timing config:load:user Completed in 12ms
12 timing config:load:file:/home/ren/n/etc/npmrc Completed in 1ms
13 timing config:load:global Completed in 1ms
14 timing config:load:validate Completed in 1ms
15 timing config:load:credentials Completed in 2ms
16 timing config:load:setEnvs Completed in 2ms
17 timing config:load Completed in 42ms
18 timing npm:load:configload Completed in 42ms
19 timing npm:load:mkdirpcache Completed in 5ms
20 timing npm:load:mkdirplogs Completed in 5ms
21 verbose title npm i nodemon
22 verbose argv "i" "--global" "nodemon"
23 timing npm:load:setTitle Completed in 3ms
24 timing config:load:flatten Completed in 7ms
25 timing npm:load:display Completed in 11ms
26 verbose logfile logs-max:10 dir:/home/ren/.npm/_logs
27 verbose logfile /home/ren/.npm/_logs/2022-10-25T08_28_41_123Z-debug-0.log
28 timing npm:load:logFile Completed in 14ms
29 timing npm:load:timers Completed in 1ms
30 timing npm:load:configScope Completed in 0ms
31 timing npm:load Completed in 85ms
32 timing arborist:ctor Completed in 2ms
33 silly logfile start cleaning logs, removing 1 files
34 silly logfile done cleaning log files
35 timing idealTree:init Completed in 15ms
36 timing idealTree:userRequests Completed in 5ms
37 silly idealTree buildDeps
38 silly fetch manifest nodemon@*
39 http fetch GET 200 https://registry.npmjs.org/nodemon 731ms (cache revalidated)
40 silly placeDep ROOT nodemon@2.0.20 OK for:  want: *
41 silly fetch manifest chokidar@^3.5.2
42 silly fetch manifest debug@^3.2.7
43 silly fetch manifest ignore-by-default@^1.0.1
44 silly fetch manifest minimatch@^3.1.2
45 silly fetch manifest pstree.remy@^1.1.8
46 silly fetch manifest semver@^5.7.1
47 silly fetch manifest simple-update-notifier@^1.0.7
48 silly fetch manifest supports-color@^5.5.0
49 silly fetch manifest touch@^3.1.0
50 silly fetch manifest undefsafe@^2.0.5
51 http fetch GET 200 https://registry.npmjs.org/semver 329ms (cache revalidated)
52 http fetch GET 200 https://registry.npmjs.org/undefsafe 517ms (cache revalidated)
53 http fetch GET 200 https://registry.npmjs.org/debug 534ms (cache revalidated)
54 http fetch GET 200 https://registry.npmjs.org/touch 544ms (cache revalidated)
55 http fetch GET 200 https://registry.npmjs.org/minimatch 557ms (cache revalidated)
56 http fetch GET 200 https://registry.npmjs.org/ignore-by-default 563ms (cache revalidated)
57 http fetch GET 200 https://registry.npmjs.org/simple-update-notifier 559ms (cache revalidated)
58 http fetch GET 200 https://registry.npmjs.org/supports-color 559ms (cache revalidated)
59 http fetch GET 200 https://registry.npmjs.org/chokidar 585ms (cache revalidated)
60 http fetch GET 200 https://registry.npmjs.org/pstree.remy 754ms (cache revalidated)
61 timing idealTree:#root Completed in 1535ms
62 silly placeDep node_modules/nodemon chokidar@3.5.3 OK for: nodemon@2.0.20 want: ^3.5.2
63 silly placeDep node_modules/nodemon debug@3.2.7 OK for: nodemon@2.0.20 want: ^3.2.7
64 silly placeDep node_modules/nodemon ignore-by-default@1.0.1 OK for: nodemon@2.0.20 want: ^1.0.1
65 silly placeDep node_modules/nodemon minimatch@3.1.2 OK for: nodemon@2.0.20 want: ^3.1.2
66 silly placeDep node_modules/nodemon pstree.remy@1.1.8 OK for: nodemon@2.0.20 want: ^1.1.8
67 silly placeDep node_modules/nodemon semver@5.7.1 OK for: nodemon@2.0.20 want: ^5.7.1
68 silly placeDep node_modules/nodemon simple-update-notifier@1.0.7 OK for: nodemon@2.0.20 want: ^1.0.7
69 silly placeDep node_modules/nodemon supports-color@5.5.0 OK for: nodemon@2.0.20 want: ^5.5.0
70 silly placeDep node_modules/nodemon touch@3.1.0 OK for: nodemon@2.0.20 want: ^3.1.0
71 silly placeDep node_modules/nodemon undefsafe@2.0.5 OK for: nodemon@2.0.20 want: ^2.0.5
72 silly fetch manifest anymatch@~3.1.2
73 silly fetch manifest braces@~3.0.2
74 silly fetch manifest glob-parent@~5.1.2
75 silly fetch manifest is-binary-path@~2.1.0
76 silly fetch manifest is-glob@~4.0.1
77 silly fetch manifest normalize-path@~3.0.0
78 silly fetch manifest readdirp@~3.6.0
79 silly fetch manifest fsevents@~2.3.2
80 silly fetch manifest ms@^2.1.1
81 silly fetch manifest brace-expansion@^1.1.7
82 silly fetch manifest semver@~7.0.0
83 silly fetch manifest has-flag@^3.0.0
84 silly fetch manifest nopt@~1.0.10
85 http fetch GET 200 https://registry.npmjs.org/normalize-path 212ms (cache revalidated)
86 http fetch GET 200 https://registry.npmjs.org/glob-parent 222ms (cache revalidated)
87 http fetch GET 200 https://registry.npmjs.org/fsevents 226ms (cache revalidated)
88 http fetch GET 200 https://registry.npmjs.org/brace-expansion 231ms (cache revalidated)
89 http fetch GET 200 https://registry.npmjs.org/anymatch 262ms (cache revalidated)
90 http fetch GET 200 https://registry.npmjs.org/has-flag 251ms (cache revalidated)
91 http fetch GET 200 https://registry.npmjs.org/readdirp 259ms (cache revalidated)
92 http fetch GET 200 https://registry.npmjs.org/nopt 253ms (cache revalidated)
93 http fetch GET 200 https://registry.npmjs.org/is-binary-path 271ms (cache revalidated)
94 http fetch GET 200 https://registry.npmjs.org/braces 333ms (cache revalidated)
95 http fetch GET 200 https://registry.npmjs.org/is-glob 409ms (cache revalidated)
96 http fetch GET 200 https://registry.npmjs.org/ms 1321ms (cache revalidated)
97 timing idealTree:node_modules/nodemon Completed in 1381ms
98 silly placeDep node_modules/nodemon anymatch@3.1.2 OK for: chokidar@3.5.3 want: ~3.1.2
99 silly placeDep node_modules/nodemon braces@3.0.2 OK for: chokidar@3.5.3 want: ~3.0.2
100 silly placeDep node_modules/nodemon fsevents@2.3.2 OK for: chokidar@3.5.3 want: ~2.3.2
101 silly placeDep node_modules/nodemon glob-parent@5.1.2 OK for: chokidar@3.5.3 want: ~5.1.2
102 silly placeDep node_modules/nodemon is-binary-path@2.1.0 OK for: chokidar@3.5.3 want: ~2.1.0
103 silly placeDep node_modules/nodemon is-glob@4.0.3 OK for: chokidar@3.5.3 want: ~4.0.1
104 silly placeDep node_modules/nodemon normalize-path@3.0.0 OK for: chokidar@3.5.3 want: ~3.0.0
105 silly placeDep node_modules/nodemon readdirp@3.6.0 OK for: chokidar@3.5.3 want: ~3.6.0
106 silly fetch manifest picomatch@^2.0.4
107 silly fetch manifest fill-range@^7.0.1
108 silly fetch manifest binary-extensions@^2.0.0
109 silly fetch manifest is-extglob@^2.1.1
110 silly fetch manifest picomatch@^2.2.1
111 http fetch GET 200 https://registry.npmjs.org/picomatch 204ms (cache revalidated)
112 http fetch GET 200 https://registry.npmjs.org/is-extglob 214ms (cache revalidated)
113 http fetch GET 200 https://registry.npmjs.org/picomatch 223ms (cache revalidated)
114 http fetch GET 200 https://registry.npmjs.org/binary-extensions 220ms (cache revalidated)
115 http fetch GET 200 https://registry.npmjs.org/fill-range 225ms (cache revalidated)
116 timing idealTree:node_modules/nodemon/node_modules/chokidar Completed in 284ms
117 silly placeDep node_modules/nodemon picomatch@2.3.1 OK for: anymatch@3.1.2 want: ^2.0.4
118 timing idealTree:node_modules/nodemon/node_modules/anymatch Completed in 4ms
119 silly placeDep node_modules/nodemon fill-range@7.0.1 OK for: braces@3.0.2 want: ^7.0.1
120 silly fetch manifest to-regex-range@^5.0.1
121 http fetch GET 200 https://registry.npmjs.org/to-regex-range 310ms (cache revalidated)
122 timing idealTree:node_modules/nodemon/node_modules/braces Completed in 318ms
123 silly placeDep node_modules/nodemon ms@2.1.3 OK for: debug@3.2.7 want: ^2.1.1
124 timing idealTree:node_modules/nodemon/node_modules/debug Completed in 12ms
125 silly placeDep node_modules/nodemon to-regex-range@5.0.1 OK for: fill-range@7.0.1 want: ^5.0.1
126 silly fetch manifest is-number@^7.0.0
127 http fetch GET 200 https://registry.npmjs.org/is-number 188ms (cache revalidated)
128 timing idealTree:node_modules/nodemon/node_modules/fill-range Completed in 198ms
129 timing idealTree:node_modules/nodemon/node_modules/fsevents Completed in 0ms
130 timing idealTree:node_modules/nodemon/node_modules/glob-parent Completed in 0ms
131 timing idealTree:node_modules/nodemon/node_modules/ignore-by-default Completed in 0ms
132 silly placeDep node_modules/nodemon binary-extensions@2.2.0 OK for: is-binary-path@2.1.0 want: ^2.0.0
133 timing idealTree:node_modules/nodemon/node_modules/is-binary-path Completed in 4ms
134 timing idealTree:node_modules/nodemon/node_modules/binary-extensions Completed in 0ms
135 silly placeDep node_modules/nodemon is-extglob@2.1.1 OK for: is-glob@4.0.3 want: ^2.1.1
136 timing idealTree:node_modules/nodemon/node_modules/is-glob Completed in 3ms
137 timing idealTree:node_modules/nodemon/node_modules/is-extglob Completed in 0ms
138 silly placeDep node_modules/nodemon brace-expansion@1.1.11 OK for: minimatch@3.1.2 want: ^1.1.7
139 silly fetch manifest balanced-match@^1.0.0
140 silly fetch manifest concat-map@0.0.1
141 http fetch GET 200 https://registry.npmjs.org/balanced-match 146ms (cache revalidated)
142 http fetch GET 200 https://registry.npmjs.org/concat-map 146ms (cache revalidated)
143 timing idealTree:node_modules/nodemon/node_modules/minimatch Completed in 155ms
144 silly placeDep node_modules/nodemon balanced-match@1.0.2 OK for: brace-expansion@1.1.11 want: ^1.0.0
145 silly placeDep node_modules/nodemon concat-map@0.0.1 OK for: brace-expansion@1.1.11 want: 0.0.1
146 timing idealTree:node_modules/nodemon/node_modules/brace-expansion Completed in 6ms
147 timing idealTree:node_modules/nodemon/node_modules/balanced-match Completed in 0ms
148 timing idealTree:node_modules/nodemon/node_modules/concat-map Completed in 0ms
149 timing idealTree:node_modules/nodemon/node_modules/ms Completed in 0ms
150 timing idealTree:node_modules/nodemon/node_modules/normalize-path Completed in 0ms
151 timing idealTree:node_modules/nodemon/node_modules/picomatch Completed in 1ms
152 timing idealTree:node_modules/nodemon/node_modules/pstree.remy Completed in 0ms
153 timing idealTree:node_modules/nodemon/node_modules/readdirp Completed in 0ms
154 timing idealTree:node_modules/nodemon/node_modules/semver Completed in 0ms
155 silly placeDep node_modules/nodemon/node_modules/simple-update-notifier semver@7.0.0 OK for: simple-update-notifier@1.0.7 want: ~7.0.0
156 timing idealTree:node_modules/nodemon/node_modules/simple-update-notifier Completed in 5ms
157 silly placeDep node_modules/nodemon has-flag@3.0.0 OK for: supports-color@5.5.0 want: ^3.0.0
158 timing idealTree:node_modules/nodemon/node_modules/supports-color Completed in 3ms
159 timing idealTree:node_modules/nodemon/node_modules/has-flag Completed in 0ms
160 silly placeDep node_modules/nodemon is-number@7.0.0 OK for: to-regex-range@5.0.1 want: ^7.0.0
161 timing idealTree:node_modules/nodemon/node_modules/to-regex-range Completed in 3ms
162 timing idealTree:node_modules/nodemon/node_modules/is-number Completed in 0ms
163 silly placeDep node_modules/nodemon nopt@1.0.10 OK for: touch@3.1.0 want: ~1.0.10
164 silly fetch manifest abbrev@1
165 http fetch GET 200 https://registry.npmjs.org/abbrev 143ms (cache revalidated)
166 timing idealTree:node_modules/nodemon/node_modules/touch Completed in 149ms
167 silly placeDep node_modules/nodemon abbrev@1.1.1 OK for: nopt@1.0.10 want: 1
168 timing idealTree:node_modules/nodemon/node_modules/nopt Completed in 3ms
169 timing idealTree:node_modules/nodemon/node_modules/abbrev Completed in 0ms
170 timing idealTree:node_modules/nodemon/node_modules/undefsafe Completed in 0ms
171 timing idealTree:node_modules/nodemon/node_modules/simple-update-notifier/node_modules/semver Completed in 0ms
172 timing idealTree:buildDeps Completed in 4082ms
173 timing idealTree:fixDepFlags Completed in 2ms
174 timing idealTree Completed in 4111ms
175 timing reify:loadTrees Completed in 4119ms
176 timing reify:diffTrees Completed in 6ms
177 silly reify moves {}
178 timing reify:retireShallow Completed in 2ms
179 timing reify:createSparse Completed in 64ms
180 timing reify:loadBundles Completed in 0ms
181 silly audit bulk request {
181 silly audit   nodemon: [ '2.0.20' ],
181 silly audit   chokidar: [ '3.5.3' ],
181 silly audit   debug: [ '3.2.7' ],
181 silly audit   'ignore-by-default': [ '1.0.1' ],
181 silly audit   minimatch: [ '3.1.2' ],
181 silly audit   'pstree.remy': [ '1.1.8' ],
181 silly audit   semver: [ '5.7.1', '7.0.0' ],
181 silly audit   'simple-update-notifier': [ '1.0.7' ],
181 silly audit   'supports-color': [ '5.5.0' ],
181 silly audit   touch: [ '3.1.0' ],
181 silly audit   undefsafe: [ '2.0.5' ],
181 silly audit   anymatch: [ '3.1.2' ],
181 silly audit   braces: [ '3.0.2' ],
181 silly audit   fsevents: [ '2.3.2' ],
181 silly audit   'glob-parent': [ '5.1.2' ],
181 silly audit   'is-binary-path': [ '2.1.0' ],
181 silly audit   'is-glob': [ '4.0.3' ],
181 silly audit   'normalize-path': [ '3.0.0' ],
181 silly audit   readdirp: [ '3.6.0' ],
181 silly audit   picomatch: [ '2.3.1' ],
181 silly audit   'fill-range': [ '7.0.1' ],
181 silly audit   ms: [ '2.1.3' ],
181 silly audit   'to-regex-range': [ '5.0.1' ],
181 silly audit   'binary-extensions': [ '2.2.0' ],
181 silly audit   'is-extglob': [ '2.1.1' ],
181 silly audit   'brace-expansion': [ '1.1.11' ],
181 silly audit   'balanced-match': [ '1.0.2' ],
181 silly audit   'concat-map': [ '0.0.1' ],
181 silly audit   'has-flag': [ '3.0.0' ],
181 silly audit   'is-number': [ '7.0.0' ],
181 silly audit   nopt: [ '1.0.10' ],
181 silly audit   abbrev: [ '1.1.1' ]
181 silly audit }
182 verbose reify failed optional dependency /home/ren/n/lib/node_modules/nodemon/node_modules/fsevents
183 silly reify mark deleted [ '/home/ren/n/lib/node_modules/nodemon/node_modules/fsevents' ]
184 timing reifyNode:node_modules/nodemon/node_modules/fsevents Completed in 26ms
185 silly tarball no local data for abbrev@https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz. Extracting by manifest.
186 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 624ms
187 timing auditReport:getReport Completed in 634ms
188 silly audit report {}
189 timing auditReport:init Completed in 0ms
190 timing reify:audit Completed in 636ms
191 timing reifyNode:node_modules/nodemon/node_modules/is-number Completed in 630ms
192 timing reifyNode:node_modules/nodemon/node_modules/brace-expansion Completed in 630ms
193 timing reifyNode:node_modules/nodemon/node_modules/has-flag Completed in 633ms
194 timing reifyNode:node_modules/nodemon/node_modules/is-extglob Completed in 634ms
195 timing reifyNode:node_modules/nodemon/node_modules/ms Completed in 636ms
196 timing reifyNode:node_modules/nodemon/node_modules/normalize-path Completed in 635ms
197 timing reifyNode:node_modules/nodemon/node_modules/ignore-by-default Completed in 637ms
198 timing reifyNode:node_modules/nodemon/node_modules/to-regex-range Completed in 652ms
199 timing reifyNode:node_modules/nodemon/node_modules/fill-range Completed in 652ms
200 timing reifyNode:node_modules/nodemon/node_modules/is-glob Completed in 651ms
201 timing reifyNode:node_modules/nodemon/node_modules/glob-parent Completed in 653ms
202 timing reifyNode:node_modules/nodemon/node_modules/is-binary-path Completed in 654ms
203 timing reifyNode:node_modules/nodemon/node_modules/anymatch Completed in 654ms
204 timing reifyNode:node_modules/nodemon/node_modules/supports-color Completed in 655ms
205 timing reifyNode:node_modules/nodemon/node_modules/balanced-match Completed in 668ms
206 timing reifyNode:node_modules/nodemon/node_modules/touch Completed in 669ms
207 timing reifyNode:node_modules/nodemon/node_modules/binary-extensions Completed in 685ms
208 timing reifyNode:node_modules/nodemon/node_modules/readdirp Completed in 685ms
209 timing reifyNode:node_modules/nodemon/node_modules/minimatch Completed in 694ms
210 timing reifyNode:node_modules/nodemon/node_modules/concat-map Completed in 715ms
211 timing reifyNode:node_modules/nodemon/node_modules/nopt Completed in 726ms
212 timing reifyNode:node_modules/nodemon/node_modules/semver Completed in 735ms
213 timing reifyNode:node_modules/nodemon/node_modules/undefsafe Completed in 750ms
214 timing reifyNode:node_modules/nodemon/node_modules/debug Completed in 754ms
215 http fetch GET 200 https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz 509ms (cache miss)
216 warn tarball tarball data for abbrev@https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz (sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==) seems to be corrupted. Trying again.
217 timing reifyNode:node_modules/nodemon/node_modules/braces Completed in 778ms
218 timing reifyNode:node_modules/nodemon/node_modules/pstree.remy Completed in 777ms
219 timing reifyNode:node_modules/nodemon/node_modules/picomatch Completed in 792ms
220 timing reifyNode:node_modules/nodemon/node_modules/chokidar Completed in 794ms
221 timing reifyNode:node_modules/nodemon/node_modules/simple-update-notifier Completed in 798ms
222 timing reifyNode:node_modules/nodemon/node_modules/simple-update-notifier/node_modules/semver Completed in 900ms
223 timing reifyNode:node_modules/nodemon Completed in 927ms
224 http fetch GET 200 https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz 179ms (cache miss)
225 warn tarball tarball data for abbrev@https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz (sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==) seems to be corrupted. Trying again.
226 timing reify:rollback:createSparse Completed in 379ms
227 timing reify:rollback:retireShallow Completed in 0ms
228 timing command:i Completed in 5594ms
229 verbose stack Error: ENOENT: no such file or directory, rename '/home/ren/.npm/_cacache/tmp/a4c763bb' -> '/home/ren/.npm/_cacache/content-v2/sha512/9e/77/bdfc8890fe1cc8858ea97439db06dcfb0e33d32ab634d0fff3bcf4a6e69385925eb1b86ac69d79ff56d4cd35f36d01f67dff546d7a192ccd4f6a7138a2d1'
230 verbose cwd /home/ren/coding/rovelstars.com
231 verbose Linux 5.10.66-android12-9-24778031-abM336BUXXU3AVI7
232 verbose node v19.0.0
233 verbose npm  v8.19.2
234 error code ENOENT
235 error syscall rename
236 error path /home/ren/.npm/_cacache/tmp/a4c763bb
237 error dest /home/ren/.npm/_cacache/content-v2/sha512/9e/77/bdfc8890fe1cc8858ea97439db06dcfb0e33d32ab634d0fff3bcf4a6e69385925eb1b86ac69d79ff56d4cd35f36d01f67dff546d7a192ccd4f6a7138a2d1
238 error errno -2
239 error enoent ENOENT: no such file or directory, rename '/home/ren/.npm/_cacache/tmp/a4c763bb' -> '/home/ren/.npm/_cacache/content-v2/sha512/9e/77/bdfc8890fe1cc8858ea97439db06dcfb0e33d32ab634d0fff3bcf4a6e69385925eb1b86ac69d79ff56d4cd35f36d01f67dff546d7a192ccd4f6a7138a2d1'
240 error enoent This is related to npm not being able to find a file.
240 error enoent
241 verbose exit -2
242 timing npm Completed in 6382ms
243 verbose unfinished npm timer reify 1666686521912
244 verbose unfinished npm timer reify:unpack 1666686526146
245 verbose unfinished npm timer reifyNode:node_modules/nodemon/node_modules/abbrev 1666686526147
246 verbose code -2
247 error A complete log of this run can be found in:
247 error     /home/ren/.npm/_logs/2022-10-25T08_28_41_123Z-debug-0.log

Expected Behavior

Should Install normally?

Steps To Reproduce

  1. in arm64 ubuntu installation
  2. run npm i -g nodemon

Environment

foreground-scripts = true

; node bin location = /home/ren/n/bin/node ; node version = v19.0.0 ; npm local prefix = /home/ren/coding/rovelstars.com ; npm version = 8.19.2 ; cwd = /home/ren/coding/rovelstars.com ; HOME = /home/ren ; Run npm config ls -l to show all defaults.

tyranron commented 2 years ago

This also is reproducing in Docker builds. See https://github.com/nodejs/docker-node/issues/1794 for details.

tyranron commented 2 years ago

@wraithgar @lukekarrys would you be so kind to give this issue a little bit of time? It blocks migration of Node-based Docker images to Node 19 for a month, as for now.

tyranron commented 1 year ago

Any news on this?

nlf commented 1 year ago

i'm not seeing how this is linked to being run on arm64 at all. the error at the end of the log message is telling us that our caching module failed to move data from its temporary location to its permanent one. it doesn't tell us anything about any packages actually failing to install.

notably, you're on a somewhat outdated version of npm. you can try npm i -g npm@latest to update and see if it works better there. i'm not able to reproduce this one on the latest npm. give it a try and let us know what happens.

tyranron commented 1 year ago

@nlf unfortunately, still hangs on arm32v6 and arm32v7 platforms: https://github.com/instrumentisto/haraka-docker-image/actions/runs/4204303155/jobs/7294789431

The latest version on npm is tried: https://github.com/instrumentisto/haraka-docker-image/commit/d943c9586c6d24c90a6f2edc2d08a0da7deda538#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557

tyranron commented 1 year ago

With Node.js 20 being released some months ago, this remains still a major issue for Node.js-based multi-arch Docker ecosystem, blocking the images to migrate onto new versions of Node.js:

Could someone take a closer look at this so far?

harryzcy commented 1 year ago

It seems the issue is still there, even though active LTS has started. My build still hangs for arm/v7

https://github.com/harryzcy/mailbox-browser/actions/runs/6699439416/job/18206683068