[wp-trac] [WordPress Trac] #52690: `npm install` aborts on Apple Silicon due to Puppeteer not finding appropriate chromium binary

WordPress Trac noreply at wordpress.org
Tue Mar 2 00:58:14 UTC 2021


#52690: `npm install` aborts on Apple Silicon due to Puppeteer not finding
appropriate chromium binary
------------------------------+------------------------------
 Reporter:  afragen           |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+------------------------------

Comment (by afragen):

 I have used `nvm` to install node v15.x which is able to be compiled for
 arm64.

 - `nvm install 15`, give this time to compile/build, currently this
 installs node v15.10.0
 - `nvm use 15`
 - `nvm alias default 15`, this so every new session will use this version
 of node.

 Now there's no need to run the shell session under Rosetta.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52690#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list