-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
Build Test failed on Windows 7 #16023
Comments
mscdex
added
test
Issues and PRs related to the tests.
windows
Issues and PRs related to the Windows platform.
labels
Oct 6, 2017
Reduced case: const trickyString = 'c:\\xfolder\\file.js';
require("child_process").execSync(`"${process.execPath}" -e "'${trickyString}'"`); [eval]:1
'c:\xfolder\file.js'
^^^^
SyntaxError: Invalid hexadecimal escape sequence
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Object.<anonymous> ([eval]-wrapper:6:22)
at Module._compile (module.js:624:30)
at evalScript (bootstrap_node.js:461:27)
at startup (bootstrap_node.js:163:9)
at bootstrap_node.js:607:3
child_process.js:635
throw err;
^
Error: Command failed: "C:\Program Files\nodejs\node.exe" -e "'c:\xfolder\file.js'"
[eval]:1
'c:\xfolder\file.js'
^^^^
SyntaxError: Invalid hexadecimal escape sequence
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Object.<anonymous> ([eval]-wrapper:6:22)
at Module._compile (module.js:624:30)
at evalScript (bootstrap_node.js:461:27)
at startup (bootstrap_node.js:163:9)
at bootstrap_node.js:607:3
at checkExecSyncError (child_process.js:592:13)
at Object.execSync (child_process.js:632:13)
at Object.<anonymous> (...\test.js:5:26)
at Module._compile (module.js:624:30)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)
at Function.Module.runMain (module.js:665:10)
at startup (bootstrap_node.js:187:16) |
bzoz
added a commit
to JaneaSystems/node
that referenced
this issue
Oct 10, 2017
Escape backslashes in script filename on Windows in a CLI test. Fixes: nodejs#16057 Fixes: nodejs#16023
2 tasks
This was fixed in 07ec10d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On running .\vcbuild test below test case fails. Here is the stack trace.
Version: output of
node -v
- > v6.9.1Windows 7 64 bit
The text was updated successfully, but these errors were encountered: