Hubs-Foundation / hubs

Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.
https://hubsfoundation.org
Mozilla Public License 2.0
2.13k stars 1.41k forks source link

`npm ci` build fail on apple silicon devices #6418

Closed kfarr closed 11 months ago

kfarr commented 11 months ago

Description As a user attempting to run Mozilla Hubs client locally using an Apple Air M2 notebook, I would like to be able to install packages using npm ci.

To Reproduce Steps to reproduce the behavior:

  1. clone this repo on an apple silicon device (not intel)
  2. run npm ci
  3. see error (as detailed in this post https://github.com/mozilla/hubs/discussions/5603)

Expected behavior The build should succeed.

Workaround You can edit package.json and remove the line containing hubs-lib but this causes further errors downstream as Module not found: Error: Can't resolve 'lib-hubs/packages/three-particle-emitter....

Screenshots If applicable, add screenshots to help explain your problem.

Hardware & Software versions