Closed LunaticMuch closed 1 day ago
sharp@0.32.6 install
Please upgrade to the latest version.
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.
Can't understand how does work...but npm install sharp@0.32.6
produces the exact same issue, appending the host to URL
npm error command sh -c (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
npm error sharp: Using local libvips from /Users/stefano/_TEST/t2/node_modules/sharp/https:/myartifactoryhost/artifactory/gen-repo/node-libs/sharp/v8.14.5/libvips-8.14.5-darwin-arm64v8.tar.br
npm error sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies
npm error
The latest version is v0.33.5, please upgrade.
Possible install-time or require-time problem
I am installing strapi which requires sharp. As I am in a corporate environment, I use an internal repository which contains a copy of prebuilt binaries for libs and sharp. In my
.npmrc
I havesharp_libvips_binary_host
andsharp_binary_host
but the installer does not pull anything from there. Actually the installer seems to append the URL to the local past of my installationYou must confirm both of these before continuing.
Are you using the latest version of sharp?
sharp
as reported bynpm view sharp dist-tags.latest
.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.Are you using a supported runtime?
^18.17.0 || ^20.3.0 || >=21.0.0
Are you using a supported package manager and installing optional dependencies?
--include=optional
--no-optional=false
What is the complete error message, including the full stack trace?
This is my
.npmrc
My env