question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Apple M1 cannot install 0.25.4

See original GitHub issue

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 install is 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 sharp as reported by npm 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

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:21 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
thebomancommented, Mar 26, 2022

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.

0reactions
lovellcommented, Mar 26, 2022

@theboman Were you able to make progress with this?

(Thanks for the offer of lunch, please donate the money you would have spent to a homelessness charity near to you.)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to install Tensorflow on the Apple M1 Notebook
I'd been successfully running M1 native Python code on a MacBook Pro ... I'm getting a lenghty error but also cannot install using...
Read more >
Trouble installing Pandas on new MacBook Air M1
I'm running Big Sur on an M1 Mac and I got the error "Failed to build numpy. ERROR: Could not build whells for...
Read more >
How To Install TensorFlow on M1 Mac (The Easy Way)
Step4: Installing Tensorflow-MacOS. Install the Tensorflow dependencies: conda install -c apple tensorflow-deps ...
Read more >
Setup Gatsby with Strapi in M1 Mac - Prabin Poudel
Apart from error and solutions, every step I mention in this blog is from the tutorial in the official strapi website. Step 1:...
Read more >
A Python Data Scientist's Guide to the Apple Silicon…
Even if you are not a Mac user, you have likely heard Apple is switching from ... for Anaconda (or conda-forge) and install...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found