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

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

Open
iamandersonp opened this issue Mar 27, 2024 · 0 comments
Open

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

iamandersonp opened this issue Mar 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@iamandersonp
Copy link

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 [email protected]
  • 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.
@iamandersonp iamandersonp added the bug Something isn't working label Mar 27, 2024
@iamandersonp iamandersonp changed the title Angular: vite can't load application @nxext/ionic-angular : vite can't load application Apr 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant