-
-
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
Windows x64, sharp v0.25.1, The specified procedure could not be found #2125
Comments
This comment has been minimized.
This comment has been minimized.
@Tenpi It looks like sharp itself installed OK but there's a problem at runtime, possibly relating to DLL files.
|
Thanks for the fast reply. With dependency walker I found some log files in
These are the files in
I am using |
This comment has been minimized.
This comment has been minimized.
Please can you temporarily remove this dependency and see if you still have the same problem. |
Unfortunately wasn't able to solve this issue, I am using a different package instead. You don't have to resolve this issue (it's probably something weird that is specific to my machine). |
I am having exactly the same issue as OP's. I do also have node-canvas in my code. The error disappears when I removed all @lovell Should I open a new issue to provide more details? Thanks for your time. |
The prebuilt binaries provided by the forthcoming sharp v0.26.0 are switching from dynamically linked to statically linked, which should solve this class of problem, at least most of the time. For now, if you're relying on a globally-installed libcairo for node-canvas, then you should also rely on a globally-installed libvips for sharp. |
Hi, I have the same issue and how can I do that? |
@lovell Can this issue be reopened until the 0.26 release? I am experiencing it also, and would like some way to be notified when the 0.26 release is available by subscribing to this thread. |
@CoenraadS New releases can be subscribed to via https://github.com/lovell/sharp/tags.atom (there's usually a small delay between a tag being created and publication to npm). |
Did you see the documentation relating to installation?
Yes
Have you ensured the platform and version of Node.js used for
npm install
is the same as the platform and version of Node.js used at runtime?Yes, Node v13.10.0
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 bynpm view sharp dist-tags.latest
?Yes, v0.25.1
If you are installing as a
root
orsudo
user, have you tried with thenpm install --unsafe-perm
flag?N/A
If you are using the
ignore-scripts
feature ofnpm
, have you tried with thenpm install --ignore-scripts=false
flag?N/A
What is the complete output of running
npm install --verbose sharp
? Have you checked this output for useful error messages?As far as I'm aware there aren't any errors.
What is the output of running
npx envinfo --binaries --system
?I have been trying for hours to get it to install correctly. The error I am getting is:
The text was updated successfully, but these errors were encountered: