Open xaviergmail opened 8 months ago
having the same. even quick-start example project is not starting
The first attempt to use nuxt-electron was entangled by this issue. Is there any workaround?
Pretty sure this is caused by this: nuxt/nuxt#26396
It doesn't seem to actually be fixed...
This bug doesn't exist in the older version of nuxt/nuxi (I'm not sure which). You can get around this issue for now by requiring an older version. For me I was previously using nuxt: 3.10.2 and nuxi: 3.10.1.
You'll have to add an overrides (npm) or resolutions (yarn) section to your package.json to force it to install the older version of nuxi but then things should actually work.
Nuxt core team seems not ready to solve this issue. Does someone have an idea of a fix or work around?
This bug doesn't exist in the older version of nuxt/nuxi (I'm not sure which). You can get around this issue for now by > requiring an older version. For me I was previously using nuxt: 3.10.2 and nuxi: 3.10.1.
I downgraded nuxt
to 3.6.5
and everything works fine, and you can try using the latest quick-start.
https://github.com/caoxiemeihao/nuxt-electron/issues/74#issuecomment-2117567168
Fixed it for me, but it should be definitely handled in package itself
Hey everyone and @caoxiemeihao , This problem is resolved?
I tested it with the following pattern and an error occurred in versions v3.11.0
and later.
// package.json
"scripts": {
- "dev": "nuxt dev",
+ "dev": "npx nuxi@3.x.y dev",
}
version | OK / NG |
---|---|
v3.10.0 |
⭕️ |
v3.10.1 |
⭕️ |
v3.11.0 |
⭕️ |
v3.11.1 (nuxt/cli is latest ) |
NG: "write after end" error occurs |
I'm currently using v3.11.0
. I hope this experiment will lead to a solution hint.
This package was working great until I ran
nuxi upgrade
. I'm getting the error I believe this may be related to: https://github.com/nuxt/nuxt/issues/23832I tried the nitro proxy workaround described in that thread with no luck. I'll keep playing around and report back with anything I find