-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to install sharp #3234
Comments
Hi, the salient part of the first log you've provided is:
This suggests you're trying to use The second log says:
This suggests there were networking problems, perhaps temporary, during installation. |
Just wanted to add a note that I had an intermittent failure installing the Retrying the build worked fine for me. |
@daicheng123 Were you able to make any progress with this? |
Closing due to inactivity but please feel free to reopen with more details if further help is required. |
i've been having issues trying to install sharp also, This is the issue i'm getting: npm ERR! code 1 |
@stuartcornes "tunneling socket could not be established" suggests there's a misconfigured proxy, e.g. HTTPS vs HTTP etc. Please open a new installation issue if further help is required. |
Possible install-time or require-time problem
npm install
is the same as the architecture and platform of Node.js used at runtime.Are you using the latest version of sharp?
sharp
as reported bynpm view sharp dist-tags.latest
.I use 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
orsudo
user, have you tried with thenpm 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 ofnpm
, have you tried with thenpm install --ignore-scripts=false
flag?What is the complete output of running
npm install --verbose --foreground-scripts sharp
in an empty directory?The output of running
npm install --verbose --foreground-scripts sharp
What is the output of running
npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp
?The text was updated successfully, but these errors were encountered: