-
-
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
sharp not loaded problem #3915
Comments
Please can you confirm the following checklist items from the issue template:
If you still require help, please provide the complete error message. |
This comment was marked as off-topic.
This comment was marked as off-topic.
@stx-chris Please open a new installation issue and answer all of the questions. |
Closing due to inactivity but please feel free to reopen with the requested details if further help is required. |
Hello @lovell - I believe I have the same error - initially I thought it's because of my Node version but that doesn't seem to be the case - perhaps it's because of npm 8.19.x ?
2024-06-03T14_43_19_699Z-debug-0.log Update: I ran |
Possible install-time or require-time problem
You 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
If you cannot confirm any of these,
please upgrade to the latest version
and try again before opening an issue.
Are you using a supported package manager and installing optional dependencies?
--include=optional
--no-optional=false
If you cannot confirm any of these, please upgrade to the latest version of your chosen package manager
and ensure you are allowing the installation of optional or multi-platform dependencies before opening an issue.
What is the complete output of running
npm install --verbose --foreground-scripts sharp
in an empty directory?npm verb cli C:\Program Files\nodejs\node.exe C:\Users\izmir\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js
npm info using [email protected]
npm info using [email protected]
npm verb title npm install sharp
npm verb argv "install" "--loglevel" "verbose" "--foreground-scripts" "sharp"
npm verb logfile logs-max:10 dir:C:\Users\izmir\AppData\Local\npm-cache_logs\2023-12-23T13_09_06_219Z-
npm verb logfile C:\Users\izmir\AppData\Local\npm-cache_logs\2023-12-23T13_09_06_219Z-debug-0.log
npm http fetch GET 200 https://registry.npmjs.org/sharp 1623ms (cache revalidated)
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules\fsevents
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules@next\swc-win32-ia32-msvc
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules@next\swc-win32-arm64-msvc
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules@next\swc-linux-arm64-musl
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules@next\swc-linux-arm64-gnu
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules@next\swc-darwin-x64
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules@next\swc-darwin-arm64
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules@img\sharp-win32-ia32
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules@img\sharp-wasm32
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules@emnapi\runtime
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules@img\sharp-linuxmusl-arm64
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules@img\sharp-linux-s390x
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules@img\sharp-linux-arm64
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules@img\sharp-linux-arm
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules@img\sharp-libvips-linuxmusl-arm64
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules@img\sharp-libvips-linux-s390x
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules@img\sharp-libvips-linux-arm64
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules@img\sharp-libvips-linux-arm
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules@img\sharp-libvips-darwin-x64
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules@img\sharp-libvips-darwin-arm64
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules@img\sharp-darwin-x64
npm verb reify failed optional dependency C:\Users\izmir\projects\creatiwix\node_modules@img\sharp-darwin-arm64
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 712ms
npm http fetch GET 200 https://registry.npmjs.org/lodash 562ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/postcss 568ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/next 620ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/zod 738ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/lodash-contrib 992ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@chakra-ui%2fnext-js 1633ms (cache revalidated)
What is the output of running
npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp
?System:
OS: Windows 11 10.0.22621
CPU: (12) x64 AMD Ryzen 5 5600H with Radeon Graphics
Memory: 567.71 MB / 7.35 GB
Binaries:
Node: 18.17.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 10.2.3 - C:\Program Files\nodejs\npm.CMD
pnpm: 8.9.2 - ~\AppData\Local\pnpm\pnpm.EXE
npmPackages:
sharp: ^0.33.1 => 0.33.1
The text was updated successfully, but these errors were encountered: