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

Problem during launch "not be found C:\laragon\www\Puppeteer_bossweb\node_modules\sharp\build\Release\sharp.node" #2319

Closed
AltitudeLab-Lucas opened this issue Aug 12, 2020 · 3 comments
Labels

Comments

@AltitudeLab-Lucas
Copy link

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 by npm view sharp dist-tags.latest?

yes, version : 0.25.4

What is the output of running npx envinfo --binaries --system?

Binaries:
Node: 12.6.0 - C:\Program Files\nodejs\node.EXE
npm: 6.14.7 - C:\Program Files\nodejs\npm.CMD

when launching my code, this error appears and blocks me.
I tried to find existing solutions on google but nothing.
sorry for my bad english
Thanks for your help

C:\laragon\www\Puppeteer_bossweb\node_modules\sharp\lib\constructor.js:34
  throw new Error(error);
  ^

Error:
Something went wrong installing the "sharp" module

The specified procedure could not be found.
\\?\C:\laragon\www\Puppeteer_bossweb\node_modules\sharp\build\Release\sharp.node

- Remove the "node_modules/sharp" directory then run
  "npm install --ignore-scripts=false --verbose" and look for errors
- Consult the installation documentation at https://sharp.pixelplumbing.com/install
- Search for this error at https://github.com/lovell/sharp/issues

    at Object.<anonymous> (C:\laragon\www\Puppeteer_bossweb\node_modules\sharp\lib\constructor.js:34:9)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Module.load (internal/modules/cjs/loader.js:643:32)
    at Function.Module._load (internal/modules/cjs/loader.js:556:12)
    at Module.require (internal/modules/cjs/loader.js:683:19)
    at require (internal/modules/cjs/helpers.js:16:16)
    at Object.<anonymous> (C:\laragon\www\Puppeteer_bossweb\node_modules\sharp\lib\index.js:3:15)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
@lovell
Copy link
Owner

lovell commented Aug 12, 2020

Does the repo at C:\laragon\www\Puppeteer_bossweb also have canvas as a dependency? If so, please see #2125 specifically #2125 (comment)

@lovell lovell added question and removed triage labels Aug 12, 2020
@AltitudeLab-Lucas
Copy link
Author

yes, I just noticed that I have another module that has a node-canvas dependency but I can't do without it for my project

@lovell
Copy link
Owner

lovell commented Aug 12, 2020

Thanks for confirming, please see #2125 (comment)

@lovell lovell closed this as completed Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants