Sharp: Something went wrong installing the "sharp" module

Created on 3 Sep 2019  路  2Comments  路  Source: lovell/sharp

I cant't launch Gatsby on my new project
_Something went wrong installing the "sharp" module

The specified procedure could not be found.
\?\Q:\Work\www\ramen-contentful\node_modules\gatsby-plugin-manifest\node_modules\sharp\build\Release\sharp.node

I tried to delete my node module folder and reinstall, tried to install globally, tried to rebuild etc....

Have you ensured the platform and version of Node.js used for npm install is the same as the platform and version of Node.js used at runtime?
Yes

If you're (mis)using sudo npm install have you tried with the sudo npm install --unsafe-perm flag?
yes

What is the complete output of running npm install --verbose sharp? Have you checked this output for useful error messages?
No errors, only when i launch gatsby develop

What is the output of running npx envinfo --binaries --languages --system --utilities?
System:
OS: Windows 10
CPU: (4) x64 Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz
Memory: 3.68 GB / 11.94 GB
Binaries:
Node: 10.16.3 - H:\Programmes\nodjs\node.EXE
Yarn: 1.17.3 - H:\Programmes\yarn\bin\yarn.CMD
npm: 6.11.2 - C:\Users*\AppData\Roaming\npm\npm.CMD
*
Languages
:
Bash: 4.4.12 - H:\Programmes\Git\bin\bash.EXE
PHP: 7.1.9 - E:\Work\wamp64\bin\php\php7.1.9\php.EXE
Ruby: 2.4.2 - H:\Programmes\Ruby24-x64\bin\ruby.EXE

installation

Most helpful comment

i finally found a way to manage this....

From the documentation. Trouble Shooting part :
https://www.gatsbyjs.org/packages/gatsby-transformer-sharp/

npm install gatsby-plugin-sharp gatsby-plugin-manifest gatsby-remark-images-contentful gatsby-source-contentful gatsby-transformer-sharp gatsby-transformer-sqip

All 2 comments

I keep getting this on 3 separate projects halting everything.

Removed everything, reinstalled everything several times, nothing.

"Something went wrong installing the "sharp" module"

i finally found a way to manage this....

From the documentation. Trouble Shooting part :
https://www.gatsbyjs.org/packages/gatsby-transformer-sharp/

npm install gatsby-plugin-sharp gatsby-plugin-manifest gatsby-remark-images-contentful gatsby-source-contentful gatsby-transformer-sharp gatsby-transformer-sqip

Was this page helpful?
0 / 5 - 0 ratings

Related issues

emmtte picture emmtte  路  3Comments

jaydenseric picture jaydenseric  路  3Comments

henbenla picture henbenla  路  3Comments

paulieo10 picture paulieo10  路  3Comments

zilions picture zilions  路  3Comments