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

Error: ***/iohook.node is not a valid Win32 application. #139

Closed
uzervlad opened this issue Jan 27, 2019 · 4 comments
Closed

Error: ***/iohook.node is not a valid Win32 application. #139

uzervlad opened this issue Jan 27, 2019 · 4 comments
Labels
windows Windows related issues, includes WSL and MSYS

Comments

@uzervlad
Copy link

uzervlad commented Jan 27, 2019

Expected Behavior

Well, it should've ran at least ¯\_(ツ)_/¯

Current Behavior

It stops with this error:

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

Error: \\?\D:\xxx\node_modules\iohook\builds\node-v59-win32-ia32\build\Release\iohook.node is not a valid Win32 application.
\\?\D:\xxx\node_modules\iohook\builds\node-v59-win32-ia32\build\Release\iohook.node
    at Object.Module._extensions..node (module.js:670:18)
    at Module.load (module.js:560:32)
    at tryModuleLoad (module.js:503:12)
    at Function.Module._load (module.js:495:3)
    at Module.require (module.js:585:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (D:\xxx\node_modules\iohook\index.js:10:21)
    at Module._compile (module.js:641:30)
    at Object.Module._extensions..js (module.js:652:10)
    at Module.load (module.js:560:32)

Your Environment

  • Version used: 0.3.1
  • Environment name and version: NodeJS v9.2.0
  • Operating System and version (desktop or mobile): Windows 8.1 x32
@Djiit Djiit added the windows Windows related issues, includes WSL and MSYS label Jan 28, 2019
@Djiit
Copy link
Collaborator

Djiit commented Jun 11, 2019

Hey @uzervlad , still experiencing this ? 0.4.6 should have fixed this.

@uzervlad
Copy link
Author

Yeah, now it works great. Thank you!

@Djiit
Copy link
Collaborator

Djiit commented Jun 11, 2019

Glad to here it, thanks !

@gigmelepcha
Copy link

@uzervlad can you tell me how it is working ?
I am stuck with the same issue
my package
"iohook": { "arches": [ "x64" ], "platforms": [ "win32", "darwin", "linux" ], "targets": [ "electron-101", "node-93" ] },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
windows Windows related issues, includes WSL and MSYS
Projects
None yet
Development

No branches or pull requests

3 participants