-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Expected Behavior
Normal output
Actual Behavior
Terminal error
$ dir
??? Linux ? Windows ?????????????
?????? Microsoft Store ??????:
https://aka.ms/wslstore
file:///D:/Users/80354248/AppData/Roaming/nvm/v16.14.0/node_modules/zx/build/core.js:146
let output = new ProcessOutput(code, signal, stdout, stderr, combined, message);
^
ProcessOutput [Error]:
at file:///D:/Users/Desktop/tauri-app/test.mjs:4:10
exit code: 1
at ChildProcess. (file:///D:/Users/80354248/AppData/Roaming/nvm/v16.14.0/node_modules/zx/build/core.js:146:26)
at ChildProcess.emit (node:events:520:28)
at ChildProcess.emit (node:domain:475:12)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
at Process.callbackTrampoline (node:internal/async_hooks:130:17) {
_code: 1,
_signal: null,
_stdout: '??? Linux ? Windows ?????????????\r\r\n' +
'?????? Microsoft Store ??????:\r\r\n' +
'https://aka.ms/wslstore\r\r\n',
_stderr: '',
_combined: '??? Linux ? Windows ?????????????\r\r\n' +
'?????? Microsoft Store ??????:\r\r\n' +
'https://aka.ms/wslstore\r\r\n'
}
Steps to Reproduce the Problem
#!/usr/bin/env zx
void (async function () {
await $dir
})()
- zx ./test.mjs
Specifications
- Version: latest
- Platform: Windows