ish icon indicating copy to clipboard operation
ish copied to clipboard

Node/NPM giving illegal instructions error.

Open susandahal opened this issue 2 years ago • 2 comments

IMG_1045

susandahal avatar Jan 21 '24 11:01 susandahal

cvtdq2pd

saagarjha avatar Jan 21 '24 11:01 saagarjha

The issue is not related to npm, it is nodejs that causes this error.

Workaround: Install older 3.18 nodejs and since it cant use the current icu libs also some additional dependencies before installing npm

wget https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86/nodejs-current-20.8.1-r0.apk
wget https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86/icu-data-en-73.2-r2.apk
wget https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86/icu-libs-73.2-r2.apk
apk add icu-data-en-73.2-r2.apk icu-libs-73.2-r2.apk nodejs-current-20.8.1-r0.apk
apk add npm

jaclu avatar Aug 02 '24 01:08 jaclu