preactjs / preact-router

:earth_americas: URL router for Preact.
http://npm.im/preact-router
MIT License
1.02k stars 155 forks source link

Cannot install devDependencies on aarch64 (puppeteer) #420

Closed tmpfs closed 2 years ago

tmpfs commented 2 years ago
npm ERR! command sh -c node install.js
npm ERR! The chromium binary is not available for arm64:
npm ERR! If you are on Ubuntu, you can install with:
npm ERR!
npm ERR!  apt-get install chromium-browser
npm ERR!
npm ERR! /PATH/preact-router/node_modules/puppeteer/lib/BrowserFetcher.js:112
npm ERR!             throw new Error();
npm ERR!             ^
npm ERR!
npm ERR! Error
npm ERR!     at /PATH/preact-router/node_modules/puppeteer/lib/BrowserFetcher.js:112:19
npm ERR!     at FSReqCallback.oncomplete (node:fs:198:21)

npm ERR! A complete log of this run can be found in:
npm ERR!     /PATH/_logs/2022-02-08T03_03_48_429Z-debug.log

Maybe consider switching to playwright which does work on an M1.

rschristian commented 2 years ago

Closing as this is an upstream issue; spending time migrating the project's test tooling for rather niche hardware doesn't make a ton of sense at the moment, especially as this shouldn't affect users at all.