qwik: [🐞] Qwik City build error when using Modular Forms
Which component is affected?
Qwik Runtime
Describe the bug
When I run npm run preview
, I get the following error: TypeError [ERR_INVALID_MODULE_SPECIFIER]: Invalid module “@qwik-city-plan” is not a valid package name imported from /Users/…/qwik-app/node_modules/@builder.io/qwik-city/index.qwik.mjs
The problem occurs only when I import my package @modular-forms/qwik
. However, I suspect that the problem is more on the part of Qwik.
https://github.com/fabian-hiller/modular-forms/issues/28
Reproduction
https://stackblitz.com/edit/modular-forms-qwik
Steps to reproduce
Open the StackBlitz link and run npm run preview
. The error should now be displayed in the console.
System Info
I think that this information is not relevant here.
Additional Information
No response
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 1
- Comments: 21 (17 by maintainers)
Commits related to this issue
- fix: node bundling (#3687) fixes #3641 fixes #3483 fixes #3297 — committed to QwikDev/qwik by manucorporat a year ago
Probably related to #3297
@rherwig should be solved. Please read through these comments: