[wp-trac] [WordPress Trac] #52356: npm install does not work on wordpress-trunk on new Mac M1's
WordPress Trac
noreply at wordpress.org
Mon Feb 1 07:31:50 UTC 2021
#52356: npm install does not work on wordpress-trunk on new Mac M1's
--------------------------------+------------------------------
Reporter: justinahinon | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: External Libraries | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------------+------------------------------
Comment (by justinahinon):
I may have found a workaround for this.
So, it seems to me that the versions of Node from 14 onwards are
"universal". So you need to install a lower version of Node (branch 12)
from a terminal emulated with Rosetta 2. Preferably install this version
with NVM.
Then from this terminal, run npm install, and it should work correctly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52356#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list