-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
spawn-wrap fails fails to shim node on Windows (part deux) #56
Comments
That's an old version of the path module, but the latest version also looks case-sensitive (albeit without a comment questioning that behavior on Windows): https://github.com/nodejs/node/blob/master/lib/path.js#L817-L904 |
I filed nodejs/node#13727 on the issue in Node. |
see #43
The code change made for that issue is case sensitive and only fixes this for ".exe". I'm running on Windows 10 in babun/cygwin, and my error is:
Error: Cannot find module 'C:\Users\<username>\.node-spawn-wrap-99436-4aa667b29537\node.EXE' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.runMain (module.js:604:10) at run (bootstrap_node.js:390:7) at startup (bootstrap_node.js:150:9) at bootstrap_node.js:505:3
Looks like
path.basename
itself is case-sensitive, so a different solution is necessary:https://github.com/jinder/path/blob/master/path.js#L353
The text was updated successfully, but these errors were encountered: