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
While installing netlify cli - npm install netlify-cli -g
Getting following error:
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @netlify/esbuild-android-64@0.14.39: wanted {"os":"android","arch":"x64"} (current: {"os":"darwin","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! netlify-cli@15.6.0 postinstall: `node ./scripts/postinstall.mjs`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the netlify-cli@15.6.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/chandan/.npm/_logs/2023-06-20T14_17_19_876Z-debug.log
Here is the log:
$> ➜ cat /Users/chandan/.npm/_logs/2023-06-20T14_17_19_876Z-debug.log
...
31252 verbose node v12.16.2
31253 verbose npm v6.14.4
31254 error code ELIFECYCLE
31255 error errno 1
31256 error netlify-cli@15.6.0 postinstall: `node ./scripts/postinstall.mjs`
31256 error Exit status 1
31257 error Failed at the netlify-cli@15.6.0 postinstall script.
31257 error This is probably not a problem with npm. There is likely additional logging output above.
31258 verbose exit [ 1, true ]
Describe the bug
While installing netlify cli -
npm install netlify-cli -g
Getting following error:
Here is the log:
Steps to reproduce
Installing netlify cli -
npm install netlify-cli -g
On Mac OS Ventura 13.4
Configuration
No response
Environment
npx: installed 1 in 0.835s
System:
OS: macOS 13.4
CPU: (8) x64 Apple M1
Memory: 36.79 MB / 8.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 12.16.2 - ~/.nvm/versions/node/v12.16.2/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 6.14.4 - ~/.nvm/versions/node/v12.16.2/bin/npm
The text was updated successfully, but these errors were encountered: