Comments (10)
Thank you for creating the issue. Earlier it worked. Currently the same error occurs on my machine. I suspect that the problem is on part of Qwik. I will create an issue there and link this one to it.
from modular-forms.
Dear all,
have the same bug and tried some debugging on it...
If you use your complete example (website) but uncomment the following it will work ( the build in preview)
//export const useLoginFormAction= formAction$<LoginForm>(() => { }, zodForm$(loginSchema));
// const [, { Form, Field }] = useForm<LoginForm>({ // loader: useLoginFormLoader(), // action: useLoginFormAction(), // validate: zodForm$(loginSchema), // });
Maybe it helps a bit to hone in on the bug
from modular-forms.
Since it is most likely a Qwik problem, I am closing this issue until there are other signs.
from modular-forms.
@fabian-hiller I was hoping this gets fixed in qwik 0.25.0 but it was not!
Did you investigate the problem in qwik?
from modular-forms.
According to the issue of me at Qwik, there is no fix yet. Probably it will take a few more days or a week. For more specific info, I would ask on Discord.
from modular-forms.
@fabian-hiller
Is it possible that updating the modular-forms lib dependencies to the latest qwik release could fix the issue?
This discord message by Manu might imply that 🤷♂️ https://discord.com/channels/842438759945601056/940654245265436732/1091321817504960625
from modular-forms.
I will try to update the dependencies later.
from modular-forms.
@tuurbo he new version is now available.
from modular-forms.
@fabian-hiller Thanks for the update. Unfortunately it did not fix the error for me :/
node:internal/errors:484
ErrorCaptureStackTrace(err);
^
TypeError [ERR_INVALID_MODULE_SPECIFIER]: Invalid module "@qwik-city-plan" is not a valid package name imported from C:\_work\websites\_sandbox\qwik-gfs\node_modules\.pnpm\@[email protected][email protected][email protected]\node_modules\@builder.io\qwik-city\index.qwik.mjs
at new NodeError (node:internal/errors:393:5)
at parsePackageName (node:internal/modules/esm/resolve:788:11)
at packageResolve (node:internal/modules/esm/resolve:811:5)
at moduleResolve (node:internal/modules/esm/resolve:909:20)
at defaultResolve (node:internal/modules/esm/resolve:1124:11)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:841:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
at link (node:internal/modules/esm/module_job:75:36) {
code: 'ERR_INVALID_MODULE_SPECIFIER'
}
from modular-forms.
This error is now gone for me. However, I get another one: BuilderIO/qwik#3483 (comment)
from modular-forms.
Related Issues (20)
- Qwik: Latest qwik release breaks types HOT 14
- Enhance FieldStore to Return Multiple Errors per Field HOT 2
- Phone Number Input HOT 1
- Allow setting initial form values of a mounted component HOT 2
- Preact: What is the best method to pull values of fields in the form for using in computed() HOT 4
- [Question] Is it possible to have optional fields? HOT 7
- Import error in formAction for qwik HOT 1
- Checkbox works improperly when use modular forms with kobalte HOT 7
- [Question] Is it possible to have custom input without ref? HOT 5
- When useFormStore is in a seperate file, it fails HOT 1
- Select component with number types HOT 3
- Using modular form Fields inside solidjs Dynamic component HOT 1
- Qwik: Vite is trying to externalize packages used in formAction$ HOT 3
- `requestSubmit` is not a function on Safari < 16 HOT 3
- Does this library support React Native? HOT 1
- Internal issue: Cannot read properties of null (reading 'internal') HOT 4
- SolidJS: Form reset action doesn't preventDefault like submit does. HOT 1
- [Qwik] Form state is reset after action returns an error HOT 1
- [React]: Preact Signals Dependency Update HOT 11
- [SolidJS]: How to handle errors from server? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modular-forms.