joyent/node — Issue #2030: Native modules on Windows require the node binary to be named "node.exe"
Author: Benvie
Created: 2011-11-06 02:03:27+00:00
State: open

I'm not sure this is necessarily something that needs to be fixed, I wanted to note it here. LoadLibraryW responds with error 126, module not found. I spent a long time debugging thinking it was referring to the module I was trying to include, but it was actually referring to "node.exe" itself. I had renamed it to "nodex.exe" for unrelated testing reasons, but originally linked against node. While not super common, I can imagine it might come up for various reasons when node is redistributed in a package or if using multiple versions of node or something.