Steve-Mcl / node-red-contrib-cron-plus

A flexible scheduler node for Node-RED (featuring full dynamic control, sunrise/sunset by location and Timezone support)
MIT License
45 stars 12 forks source link

ERR_REQUIRE_ESM after upgrade on Node Red 3.0.2 #63

Closed davies8172 closed 1 year ago

davies8172 commented 1 year ago

image After upgrade from 1.5.0, it will not run in Node-Red and shows error "ERR_REQUIRE_ESM" in the palette menu. Have tried a complete uninstall and reinstall but same error appears.

jostrasser commented 1 year ago

Hi,

same here:

image

All preexisting flows are broken after updating to 2.0.0:

image

A downgrade to 1.5.7 is fixing the issue immediately.

FrontFelix commented 1 year ago

got the same issue.

Steve-Mcl commented 1 year ago

Thanks guys, fix incoming.

Last minute dependency update dropped CJS for commonjs and broke it :(

Steve-Mcl commented 1 year ago

2.0.1 published and updated on flows library. It may take up to 30 minutes to be populated in the node-red catalog.

Sorry for the troubles.

jostrasser commented 1 year ago

Thanks for the quick response and fix! :)