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

canvas.node is not a valid Win32 application. #2023

Closed
OssieFromDK opened this issue Apr 15, 2022 · 4 comments
Closed

canvas.node is not a valid Win32 application. #2023

OssieFromDK opened this issue Apr 15, 2022 · 4 comments

Comments

@OssieFromDK
Copy link

return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: \\?\C:\Users\Administrator\Folder\node_modules\canvas\build\Release\canvas.node is not a valid Win32 application.

I've read thru some other issues and tried both NodeJS x32 & x64, still the same error. Im using canvas version 2.9.1
Any ideas?

@zbjornson
Copy link
Collaborator

Can you post the output from the steps in #1533 (comment) to help troubleshoot, please?

@gsteri1
Copy link

gsteri1 commented Jul 22, 2022

I too am having the same issue:
node_modules\canvas\build\Release\canvas.node is not a valid Win32 application.
x64
8664

Are the results of both tests. I looked at #1533 and cannot figure out what the other poster did to get this to work. Any hints? Thank you!

@gsteri1
Copy link

gsteri1 commented Jul 22, 2022

One follow up. Perhaps this might help. npm rebuild canvas --update-binary seems to make things happy. Not sure if this durable.

@woxman
Copy link

woxman commented Jun 29, 2023

return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: \\?\C:\Users\Administrator\Folder\node_modules\canvas\build\Release\canvas.node is not a valid Win32 application.

I've read thru some other issues and tried both NodeJS x32 & x64, still the same error. Im using canvas version 2.9.1 Any ideas?

can you fixed this problem???
help me

@OssieFromDK OssieFromDK closed this as not planned Won't fix, can't repro, duplicate, stale Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants