-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
code: 'ERR_REQUIRE_ESM' #545
Comments
This looks like it could be related: Maybe it would be fixed if you added:
to the |
Yeah, the issue is that Kanel is not (yet) ESM-ready. Sadly, it's not quite as easy as changing that one line, and making the change will affect everyone who is not setting If you want a hacky workaround, I know one friend who comments out the |
I ran into this issue for a project that uses My workaround was to rename
Edit: this isn't necessary, because kanel automatically recognizes |
Version:
"kanel": "^3.8.8",
node: v20.8.0
Attempting to run
kanel
. Config file below:Content of
.kanelrc.js
:The text was updated successfully, but these errors were encountered: