You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
yes
I am using the latest version of sharp as reported by npm view sharp dist-tags.latest.
my package-manager:
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?
yes
sharp
as reported bynpm view sharp dist-tags.latest
.at the time of writing:
Is this a problem with filesystem permissions?
No, I'm using volta.sh, and everything is installed under the login user.
If you are using the
ignore-scripts
feature ofnpm
, have you tried with thenpm install --ignore-scripts=false
flag?I am using ignore-scripts, but I will not disable it -- I am under the impression that disabling ignore-scripts will make installation work.
What is the complete output of running
npm install --verbose --foreground-scripts sharp
in an empty directory?cc @mansona (author of empress-blog-casper-template)
What is the output of running
npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp
?Solution
Here is my solution, and if there is a better, more correct way, please let me know:
This is likely a hack, because it's using
.npm
as the cache folder, and pnpx has no clue what's in there post-above-hack:The text was updated successfully, but these errors were encountered: