sharp icon indicating copy to clipboard operation
sharp copied to clipboard

Installation problems

Open bosgeluk opened this issue 7 years ago • 2 comments

I've got sharp running on Lambda. But somehow the local install got corrupt, really no idea, tried to re-install at least 30 times, reset npm cache, tried yarn, removed node_modules etc..

https://sharp.pixelplumbing.com/en/stable/install/ :: YES

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 nvm current >> v10.15.3

If you are installing as a root or sudo user, have you tried with the npm install --unsafe-perm flag? :: NO

What is the complete output of running `npm install --verbose sharp? ::Attached node-install-verbose-sharp.txt

Have you checked this output for useful error messages? :: YES found none

What is the output of running npx envinfo --binaries --languages --system --utilities? ::Attached npx.txt

bosgeluk avatar Dec 05 '19 15:12 bosgeluk

Sorry, it's unclear what the problem is. The installation log shows no errors. Are you able to explain more about what "local install got corrupt" means?

lovell avatar Dec 05 '19 20:12 lovell

Fixed

I had a new proxy placed in front of my application, and during the creation of a new run/debug configuration I checked the node 12.x version. So I installed everything with 10.x and executed with 12.x .

Sorry to have wasted your time, thanx for the assistance.

bosgeluk avatar Dec 05 '19 21:12 bosgeluk