You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node 16.1+ does not support WASM on ARMv6. Unfortunately rather than failing nice, this code causes node to exit with an error, which unnecessarily prevents any packages that depend on long from running on ARMv6 for Node 16.1+:
Hmm, this looks pretty bad. Has this been reported to Node.js already / is there a response? Not sure that working around this in every package using Wasm is the right approach.
@dcodeIO - yes, I have just filed an issue with node (nodejs/node#41402). I hope this issue will be given airtime and resolved very quickly! Unfortunately realism suggests we should expect this may not happen, and even if it does, old node versions have a habit of staying around.
I agree that working around this in every package that uses WASM is tiresome, but long is very very broadly used (4M downloads/week on npm) and so if there is a good candidate package for the 'morally hazardous' option of working around this at the package level might be the right one in this case. Thoughts?
Node 16.1+ does not support WASM on ARMv6. Unfortunately rather than failing nice, this code causes node to exit with an error, which unnecessarily prevents any packages that depend on
long
from running on ARMv6 for Node 16.1+:makes node crash with:
Possible workaround: if os.cpus().find(cpu => cpu.model.includes('ARMv6')) then skip the WASM check.
Cc: @ebaauw, @Supereg, @oznu
The text was updated successfully, but these errors were encountered: