npm install can be architecture dependant #1

Open
opened 1 year ago by utopiah · 0 comments
utopiah commented 1 year ago
Owner

npm i used in networked-aframe is 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=linux but supports does not seem perfect. Overall running npm i directly on the target device seems best.

`npm i` used in `networked-aframe` is 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=linux` but supports does not seem perfect. Overall running `npm i` directly on the target device seems best.
utopiah changed title from npm i is architecture dependant to npm install is architecture dependant 1 year ago
utopiah changed title from npm install is architecture dependant to npm install can be architecture dependant 1 year ago
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: utopiah/local-metaverse-tooling#1
Loading…
There is no content yet.