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

Running win32 binary in Nodejs x64 #35

Open
mboudreau opened this issue Jan 19, 2015 · 1 comment
Open

Running win32 binary in Nodejs x64 #35

mboudreau opened this issue Jan 19, 2015 · 1 comment

Comments

@mboudreau
Copy link

We were using grunt-spawn-shell plugin, which uses the execSync plugin to run a specific command. We kept getting an error %1 is not a valid win32 application. After trying to debug for a while, we found out that the 64-bit version of Node does not work to run 32-bit DLLs.

This is fine on the face of it, but the messaging was confusing and lacking in details. There are also no mention of this in the documentation as far as I could find.

@gilelad
Copy link

gilelad commented Mar 23, 2015

I ran into the same problem, and it also took me a while to figure this out.

BTW, seems this is a problem only if you prevent execSync from building the native extensions using node-gyp. The 32-bit prebuilt modules are only a fallback option. See [here](jeking3/grunt-shell-spawn#30 here)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants