Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

@nxext/ionic-angular : vite can't load application #29

@iamandersonp

Description

@iamandersonp

Describe the bug
in a fresh install with xh workspace 17.3.2 if i try to run serve comand i get this error

2611|      return i[n];
2612|    }
2613|    return import("./".concat(a, ".entry.js").concat("")).then(function(e2) {
   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2614|      {
2615|        cmpModules.set(a, e2);

To Reproduce

  • npx create-nx-workspace@17.3.2
  • npm install --save-dev -D --exact @nxext/capacitor
  • npx nx generate @nxext/ionic-angular:application --name=demo
  • npx nx run demo:serve --configuration=development

Expected behavior

2611|      return i[n];
2612|    }
2613|    return import("./".concat(a, ".entry.js").concat("")).then(function(e2) {
   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2614|      {
2615|        cmpModules.set(a, e2);
The above dynamic import cannot be analyzed by Vite.
See https://github.com/rollup/plugins/tree/master/packages/dynamic-import-vars#limitations for supported dynamic import formats. If this is intended to be left as-is, you can use the /* @vite-ignore */ comment inside the import() call to suppress this warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions