sharp.node is not a valid Win32 application
See original GitHub issueHi there, I am trying to run sharp on a windows app service running on 64 bit and I am getting the below error. I have then tried running on a 32-bit OS and the error remains. Any ideas of what this can be caused by?
Error: \\?\D:\home\site\wwwroot\node_modules\sharp\build\Release\sharp.node is not a valid Win32 application\\?\D:\home\site\wwwroot\node_modules\sharp\build\Release\sharp.node
at Object.Module._extensions..node (module.js:672:18)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (D:\home\site\wwwroot\node_modules\sharp\lib\constructor.js:10:15)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
node is not a valid Win32 application - Stack Overflow
The SQLite library you are using is not 'pure JavaScript' and relies on a binary. When you npm install -ed it installed a...
Read more >binding.node is not a valid win32 application - You.com
I am getting error while installing node modules for my angular 6 project. Binary has a problem: Error: \\?\C:\demo\WA3Projects ...
Read more >V1.10 on Windows: better_sqlite3.node is not a valid Win32 ...
I'm getting it in an infinite loop when I try to start the app. We encountered a problem with your local email database....
Read more >How to Fix Exe Not a Valid win32 Application In Windows 10/8 ...
How to Fix Exe Not a Valid win32 Application In Windows 10/8/7 [Tutorial].Corrupt program files, hardware and software incompatibility are ...
Read more >A brand new website interface for an even better experience!
sharp.node is not a valid Win32 application.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same issue. I’m running this on Windows 10 with 64 bit.
The
yarn install
command must be run on Windows if the resultantnode_modules
is to be used on Windows at runtime.