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
When running inquirer on Windows 10, Node 7.x, I'm getting this breaking error. The CLI just hangs afterwards:
(node:5764) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: write EINVAL
(node:5764) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are
not handled will terminate the Node.js process with a non-zero exit code.
This is more or less the code that we're running:
asyncfunction(name){letdirName=name;if(!dirName){constanswers=awaitprompt({type: 'input',name: 'dirName',message: 'What do you want to name the directory?',default: 'theme',});dirName=answers.dirName;}}
Also tried without async/await, but still getting the error.
The text was updated successfully, but these errors were encountered:
When running inquirer on Windows 10, Node 7.x, I'm getting this breaking error. The CLI just hangs afterwards:
This is more or less the code that we're running:
Also tried without async/await, but still getting the error.
The text was updated successfully, but these errors were encountered: