bundle-wizard
bundle-wizard copied to clipboard
Does not support M1 Macs/Arm64
When trying to run via npx this fails silently.
Upon trying to globally install I am faced with this error
❯ npm i -g bundle-wizard puppeteer
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: Version no longer supported. Upgrade to @latest
npm ERR! code 1
npm ERR! path /opt/homebrew/lib/node_modules/bundle-wizard/node_modules/puppeteer
npm ERR! command failed
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! sudo apt install chromium
npm ERR!
npm ERR!
npm ERR! sudo apt install chromium-browser
npm ERR!
npm ERR! /opt/homebrew/lib/node_modules/bundle-wizard/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:115
npm ERR! throw new Error();
npm ERR! ^
npm ERR!
npm ERR! Error
npm ERR! at /opt/homebrew/lib/node_modules/bundle-wizard/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:115:27
npm ERR! at FSReqCallback.oncomplete (node:fs:198:21)
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/davidaghassi/.npm/_logs/2022-07-13T17_26_14_300Z-debug-0.log
Most likely puppeteer needs updating to support the newer version of chromium that has arm support
Hey, thank you for flagging this issue!
I just published a beta version, v1.6.1-0, that upgrades Puppeteer to v15.4.0.
When you get a chance, would you mind checking if npx [email protected] runs ok on your machine? (I don't have an m1, alas). If it works ok, I will make a patch release asap.
Looks good, :shipit:
Great, thanks, I just published a new release , so the basic bundle wizard command should be working now as well.