NuclearPlayer / extract-sptf-playlist

You know what it's for (extracting spotify and youtube playlist via puppeteer without login)
GNU General Public License v3.0
25 stars 2 forks source link

macos install error chromium not available on arm64 #7

Open tjcampanella opened 2 years ago

tjcampanella commented 2 years ago

This happens on install on macos. I am using a Macbook Pro on the M1 chip. Perhaps this is because the puppeteer version is deprecated? I can install chromium using brew so I am unsure what the issue is. Here is the output I get. Thanks for any help.

npm WARN deprecated puppeteer@8.0.0: Version no longer supported. Upgrade to @latest npm notice npm notice New minor version of npm available! 8.3.1 -> 8.5.3 npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.5.3 npm notice Run npm install -g npm@8.5.3 to update! npm notice npm ERR! code 1 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! /Users//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 /Users//node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:115:27 npm ERR! at FSReqCallback.oncomplete (node:fs:198:21) npm ERR! npm ERR! Node.js v17.4.0

npm ERR! A complete log of this run can be found in: npm ERR! /Users//.npm/_logs/2022-03-08T21_21_57_258Z-debug-0.log