derekfinlinson/d365-cli

UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'push' of undefined

dbcottam opened this issue ยท 1 comments

This occurs on d365 add script creation

(node:1104) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'push' of undefined
at write (C:\IntelliJWorkspace\ldsc-crm-vpt-webresources\node_modules\d365-cli\dist\commands\add\script.js:84:27)
at Object.script [as default] (C:\IntelliJWorkspace\ldsc-crm-vpt-webresources\node_modules\d365-cli\dist\commands\add\script.js:12:5)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:1104) 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: 1)
(node:1104) [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.

๐ŸŽ‰ This issue has been resolved in version 2.8.6 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€