1 possible answer(s) on “Dynamic import error

  1. In src/tsconfig.app.json, you need to set the module in compiler options.

    {
    “compilerOptions: {
    “module”: “esnext”
    }
    }