#Workaround for new version of Keycloak

1 messages · Page 1 of 1 (latest)

surreal oak
#

After upgrading @keycloak/keycloak-admin-client version from 18.0.2 to 20.0.2 I started getting issues.

And as per the discussion on this issue https://github.com/keycloak/keycloak-nodejs-admin-client/issues/523#issuecomment-1222986081 They wont be going back to CommonJS Module Setup.

If anyone has implemented the workaround please help me with this issue

GitHub

Describe the bug Hello 👋 Since I switched from "18.0.2" to "19.0.1", Typescript does not compile anymore Version 19.0.1 Expected behavior Typescript should compi...

surreal oak
#

guys please help me with this issue

ionic storm
#

Currently, there's no plan to support ESM. The workaround is to use dynamic imports

const lib = await import('lib')

Which works with ESM, but is not ideal. The other solution is to not upgrade to newer package versions until the ESM support is ready. I guess since more and more packages go full ESM, NestJS will be forced to support it, too.