sharp: Apple M1 cannot install 0.25.4
Possible install-time or require-time problem
- [x ] I have read the documentation relating to installation.
- [x ] I have ensured that the architecture and platform of Node.js used for
npm installis the same as the architecture and platform of Node.js used at runtime.
Are you using the latest version of sharp?
- [x ] I am using the latest version of
sharpas reported bynpm view sharp dist-tags.latest. 0.30.1 If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of sharp that is not the latest, please open an issue against that package instead.
Is this a problem with filesystem permissions?
If you are using npm v6 or earlier and installing as a root or sudo user, have you tried with the npm install --unsafe-perm flag?
If you are using npm v7 or later, does the user running npm install own the directory it is run in?
If you are using the ignore-scripts feature of npm, have you tried with the npm install --ignore-scripts=false flag?
What is the complete output of running npm install --verbose sharp?
I am using Yarn, but I get the same nowwhere with NPM…
What is the output of running npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp?
System: OS: macOS 12.2.1 CPU: (8) arm64 Apple M1 Memory: 85.91 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 17.6.0 - ~/.nvm/versions/node/v17.6.0/bin/node Yarn: 3.2.0 - ~/.nvm/versions/node/v17.6.0/bin/yarn npm: 8.5.1 - ~/.nvm/versions/node/v17.6.0/bin/npm npmPackages: sharp: ^0.30.1 => 0.30.1
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 21 (9 by maintainers)
Hello Lovell - well gosh thanks so much for the reply, got your sharp to install on the M1 but nope never got that to run in GridSome on the M1, seems that’s what you get for beta Gridsome… I had a 2016 Intel mac that ran it. So oldie but goodie.