You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ ./test.mjs
Type something here: hello
{ answer: 'hello' }
Actual Behavior
❯ ./test.mjs
Type something here: hello
internal/process/esm_loader.js:74
internalBinding('errors').triggerUncaughtException(
^
hello
(Use `node --trace-uncaught ...` to show where the exception was thrown)
a7ul
changed the title
Question function is throwing the value you type in (node v14)
Question function is throwing the value you type in (node <= v15.7.0)
May 8, 2021
Example:
This example usage of question always throws with the value you type.
test.mjs
Expected Behavior
The output should look like this:
❯ ./test.mjs Type something here: hello { answer: 'hello' }
Actual Behavior
Steps to Reproduce the Problem
npm install -g zx
chmod a+x ./test.mjs
./test.mjs
Specifications
Current workaround
The text was updated successfully, but these errors were encountered: