You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SDK is currently not compatible with Mac computers with M1 chip.
When running npm install --save outscale-api on a Mac M1, the following error is returned:
npm ERR! code 1
npm ERR! git dep preparation failed
npm ERR! command /usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/Users/andre.tran/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
npm ERR! npm WARN deprecated [email protected]: < 19.4.0 is no longer supported
npm ERR! npm ERR! code 1
npm ERR! npm ERR! path /Users/andre.tran/.npm/_cacache/tmp/git-cloneZpyCOu/node_modules/puppeteer
npm ERR! npm ERR! command failed
npm ERR! npm ERR! command sh -c node install.js
npm ERR! npm ERR! The chromium binary is not available for arm64:
npm ERR! npm ERR! If you are on Ubuntu, you can install with:
npm ERR! npm ERR!
npm ERR! npm ERR! apt-get install chromium-browser
npm ERR! npm ERR!
npm ERR! npm ERR! /Users/andre.tran/.npm/_cacache/tmp/git-cloneZpyCOu/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:112
npm ERR! npm ERR! throw new Error();
npm ERR! npm ERR! ^
npm ERR! npm ERR!
npm ERR! npm ERR! Error
npm ERR! npm ERR! at /Users/andre.tran/.npm/_cacache/tmp/git-cloneZpyCOu/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:112:19
npm ERR! npm ERR! at FSReqCallback.oncomplete (node:fs:208:21)
npm ERR! npm ERR!
npm ERR! npm ERR! Node.js v18.16.0
npm ERR!
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR! /Users/andre.tran/.npm/_logs/2023-06-08T14_47_03_535Z-debug-0.log
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/andre.tran/.npm/_logs/2023-06-08T14_47_00_807Z-debug-0.log
Specifically the problem seems to concern puppeteer which seems like it tries and fails to install chromium or something. puppeteer is a dependency of aws4fetch, which is itself a dependency of this osc-sdk-js.
Hello,
The SDK is currently not compatible with Mac computers with M1 chip.
When running
npm install --save outscale-api
on a Mac M1, the following error is returned:Specifically the problem seems to concern
puppeteer
which seems like it tries and fails to installchromium
or something.puppeteer
is a dependency ofaws4fetch
, which is itself a dependency of thisosc-sdk-js
.Some links that may or may not be useful:
The text was updated successfully, but these errors were encountered: