npm install can be architecture dependant #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
npm iused innetworked-aframeis not the same on desktop (i386) versus RPi0 or a Quest (ARM) due to the CPU architecture. Instead one should run the dependencies installation directly on the target platform.In this specific case it does seem to work, running basic tests, but it is not a good practice.
One could also consider
npm i --target_arch=arm --target_platform=linuxbut supports does not seem perfect. Overall runningnpm idirectly on the target device seems best.npm i is architecture dependantto npm install is architecture dependantnpm install is architecture dependantto npm install can be architecture dependant