TypeError when using number for start time
Closed this issue · 0 comments
MarcusCemes commented
Known issue, Inquirer.js seems to throw an internal error when using a number for start time
.
This will not be fixed directly but will be resolved in the upcoming major update.
(node:5600) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'length' of undefined
at InputPrompt.onError (C:\Users\Marcus\Development\little-espresso\node_modules\inquirer\lib\prompts\input.js:95:35)
at SafeSubscriber._next (C:\Users\Marcus\Development\little-espresso\node_modules\rxjs\internal\Observable.js:66:21)
at SafeSubscriber.__tryOrUnsub (C:\Users\Marcus\Development\little-espresso\node_modules\rxjs\internal\Subscriber.js:205:16)
at SafeSubscriber.next (C:\Users\Marcus\Development\little-espresso\node_modules\rxjs\internal\Subscriber.js:143:22)
at Subscriber._next (C:\Users\Marcus\Development\little-espresso\node_modules\rxjs\internal\Subscriber.js:89:26)
at Subscriber.next (C:\Users\Marcus\Development\little-espresso\node_modules\rxjs\internal\Subscriber.js:66:18)
at TakeUntilSubscriber.Subscriber._next (C:\Users\Marcus\Development\little-espresso\node_modules\rxjs\internal\Subscriber.js:89:26)
at TakeUntilSubscriber.Subscriber.next (C:\Users\Marcus\Development\little-espresso\node_modules\rxjs\internal\Subscriber.js:66:18)
at FilterSubscriber._next (C:\Users\Marcus\Development\little-espresso\node_modules\rxjs\internal\operators\filter.js:52:30)
at FilterSubscriber.Subscriber.next (C:\Users\Marcus\Development\little-espresso\node_modules\rxjs\internal\Subscriber.js:66:18)
(node:5600) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:5600) [DEP0018] 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.