-
Notifications
You must be signed in to change notification settings - Fork 26
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
ERR_REQUIRE_ESM #161
Comments
Hey @cybercoder This is related to Please look into the issues keycloak/keycloak-nodejs-admin-client#523, keycloak/keycloak-nodejs-admin-client#519 and keycloak/keycloak-nodejs-admin-client#487 |
for a workaround I've added:
to my
How ever, thanks for your attention. It seems the refreshGrunt function is calling somewhere before initialize, So for another workaround I've added
to service.js file |
Can you open a pull request if this needs to be resolved on our side? |
I've added a part to README to tell developers about the decision of ESM, and released a new version to stop distributing CJS on 2.0.0 (https://github.com/anonrig/nestjs-keycloak-admin/releases/tag/v2.0.0) |
platform: mac os
node version: v16.17.0
nestjs version: 9.0
nestjs-keycloak-admin version: 1.8.7
keycloak version: 19.0.1
keycloak docker image: quay.io/keycloak/keycloak:19.0.1
The text was updated successfully, but these errors were encountered: