-
-
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
Can't Install Sharp #2900
Comments
Hi, you shouldn't need to install the I also highly recommend people do not install packages globally via the
In addition, sharp should tell you about decisions it's making at install time, but it looks like there's missing information from this installation log, This is a problem I've seen in another issue within the last week so I think there may be a new bug/feature in recent versions of npm v7 that is hiding log output and making debugging these kind of problems more difficult. If you're able to try npm v6 to remove the possible cause of npm v7 features/bugs, that would be very helpful. |
Successfully installed Sharp, if i use nodejs 14.x and npm 6.x.
|
Thank you! |
The npm v7 bug is npm/cli#2606 |
Command:
Did you see the documentation relating to installation?
Yes
Have you ensured 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?Yes
Are you using the latest version? Is the version currently in use as reported by
npm ls sharp
the same as the latest version as reported bynpm view sharp dist-tags.latest
?Yes
If you are using npm v6 or earlier and installing as a
root
orsudo
user, have you tried with thenpm install --unsafe-perm
flag?Yes
If you are using npm v7, does the user running
npm install
own the directory it is run in?Yes
If you are using the
ignore-scripts
feature ofnpm
, have you tried with thenpm install --ignore-scripts=false
flag?No
What is the complete output of running
npm install --verbose sharp
? Have you checked this output for useful error messages?What is the output of running
npx envinfo --binaries --system
?The text was updated successfully, but these errors were encountered: