"Undefined is not a function"
ThunbergOlle opened this issue · 2 comments
ThunbergOlle commented
inventory-aggregator@1.0.0 start C:\Users\Olle\Documents\GitHub\inventory-aggregator
node inventories.js
(node:3104) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: undefined is not a function
(node:3104) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process wi
th a non-zero exit code.
Kryzoid commented
Thanks for your report!
This bug doesn't prevent the script from executing, so I'll leave this issue open but won't be patching it for now.
ThunbergOlle commented
The issue was the outdated version of NodeJS that I had. 🤦♂️