keep-a-changelog icon indicating copy to clipboard operation
keep-a-changelog copied to clipboard

Release auto changelog require()

Open Mikaleb opened this issue 2 years ago • 1 comments

Trying to make : https://github.com/release-it/keep-a-changelog works

ERROR require() of ES Module /home/mikaleb/Companies/XXX/code/XXX/node_modules/@release-it/keep-a-changelog/index.js from /home/mikaleb/Companies/XXX/code/XXX/node_modules/import-from/index.js not supported.
Instead change the require of /home/mikaleb/Companies/XXX/code/XXX/node_modules/@release-it/keep-a-changelog/index.js in /home/mikaleb/Companies/XXX/code/XXX/node_modules/import-from/index.js to a dynamic import() which is available in all CommonJS modules.
error Command failed with exit code 1.

Mikaleb avatar May 19 '22 10:05 Mikaleb

You should update release-it to the latest version, this should fix you issue. release-it changed how to import the plugins so you need to update both.

WirthAware avatar Oct 13 '22 08:10 WirthAware

Thanks @WirthAware. Hopefully it resolved the issue for @Mikaleb.

webpro avatar Oct 08 '24 05:10 webpro