commercetools / nodejs

Everything related to the Node.js ecosystem for the commercetools platform.
https://commercetools.github.io/nodejs/
MIT License
75 stars 70 forks source link

resource-deleter cannot be run due the 'ReferenceError: regeneratorRuntime is not defined' #1768

Open peniakoff opened 2 years ago

peniakoff commented 2 years ago

Description

After last update cannot run resource-deleter application due the ReferenceError: regeneratorRuntime is not defined.

Context

NodeJS: v14.19.0 npm: 8.5.1

d-kretschmann-dotsource commented 2 years ago

We ran into the same issue on the resource-deleter version 2.0.26 with e.g.

resource-deleter -p project -r products

There seems to be no issue when you revert to the previous version:

npm install -g @commercetools/resource-deleter@2.0.25
peniakoff commented 2 years ago

True, @d-kretschmann-dotsource, but it will be great to have opportunity to run the newest version ofc.