Join Slack
Powered by
is there a way to fix it or the module need to fix...
# help
s
Shivansh Yadav
05/13/2022, 5:02 AM
is there a way to fix it or the module need to fix their imports?
t
thdxr
05/13/2022, 2:35 PM
yeah this seems to be an issue with casbin and esm
thdxr
05/13/2022, 2:36 PM
https://github.com/casbin/node-casbin/issues/365
thdxr
05/13/2022, 2:36 PM
think this was posted by joel
https://serverless-stack.slack.com/archives/C01JG3B20RY/p1652254417106709
thdxr
05/13/2022, 2:36 PM
you can opt out of ESM but switching it in
stacks/index.ts
and delete
type: "module"
from backend/package.json
Open in Slack
Previous
Next