Skip to content
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

HELP, error in sharp. node js #4101

Closed
smurenu opened this issue May 14, 2024 · 1 comment
Closed

HELP, error in sharp. node js #4101

smurenu opened this issue May 14, 2024 · 1 comment

Comments

@smurenu
Copy link

smurenu commented May 14, 2024

I have this error and I need help, I have already tried uninstalling node and reinstalling it, if anyone has any ideas it would help me a lot
C:\Users\santi\OneDrive\Escritorio\pasantias\pasantias\tiwi-cine-ts\node_modules\sharp\lib\sharp.js:114
throw new Error(help.join('\n'));
^

Error: Could not load the "sharp" module using the win32-x64 runtime
ERR_DLOPEN_FAILED: The specified procedure could not be found.
\?\C:\Users\santi\OneDrive\Escritorio\pasantias\pasantias\tiwi-cine-ts\node_modules@img\sharp-win32-x64\lib\sharp-win32-x64.node
Possible solutions:

  • Ensure optional dependencies can be installed:
    npm install --include=optional sharp
    yarn add sharp --ignore-engines
  • Ensure your package manager supports multi-platform installation:
    See https://sharp.pixelplumbing.com/install#cross-platform
  • Add platform-specific dependencies:
    npm install --os=win32 --cpu=x64 sharp
  • Using the canvas package on Windows?
    See https://sharp.pixelplumbing.com/install#canvas-and-windows
  • Check for outdated versions of sharp in the dependency tree:
    npm ls sharp
  • Consult the installation documentation:
    See https://sharp.pixelplumbing.com/install
    at Object. (C:\Users\santi\OneDrive\Escritorio\pasantias\pasantias\tiwi-cine-ts\node_modules\sharp\lib\sharp.js:114:9)
    at Module._compile (node:internal/modules/cjs/loader:1233:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1287:10)
    at Module.load (node:internal/modules/cjs/loader:1091:32)
    at Module._load (node:internal/modules/cjs/loader:938:12)
    at Module.require (node:internal/modules/cjs/loader:1115:19)
    at require (node:internal/modules/helpers:119:18)
    at Object. (C:\Users\santi\OneDrive\Escritorio\pasantias\pasantias\tiwi-cine-ts\node_modules\sharp\lib\constructor.js:10:1)
    at Module._compile (node:internal/modules/cjs/loader:1233:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1287:10)

Node.js v20.4.0

@lovell
Copy link
Owner

lovell commented May 14, 2024

Hello, the installation issue template appears to have been ignored and/or deleted. Please open a new installation issue and provide answers to all of the questions.

https://github.com/lovell/sharp/issues/new?labels=installation&template=installation.md

@lovell lovell closed this as completed May 14, 2024
Repository owner locked and limited conversation to collaborators May 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants