New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot split a chunk that has already been edited #13589
Cannot split a chunk that has already been edited #13589
Comments
linked: Rich-Harris/magic-string#208 |
Downgrading to vite 2.8 (by manually installing it) should work around this issue for now. |
Do i have to install it |
@anburocky3 Can you reproduce with the latest Nuxt version? We resolved a similar issue in nuxt/framework#3997. |
Updated to λ yarn build
Nuxt CLI v3.0.0-27480123.4c77c88 15:46:05
i Using Tailwind CSS from ~/assets\css\tailwind.css nuxt:tailwindcss 15:46:07
i Merging Tailwind config from ~/tailwind.config.js nuxt:tailwindcss 15:46:07
ERROR Cannot split a chunk that has already been edited (0:87 – "from "/__NUXT_BASE__/@vite/client"") 15:46:09
ERROR Cannot split a chunk that has already been edited (0:87 – "from "/__NUXT_BASE__/@vite/client"") 15:46:09
ERROR Cannot split a chunk that has already been edited (0:87 – "from "/__NUXT_BASE__/@vite/client"") 15:46:09
ERROR Cannot split a chunk that has already been edited (0:87 – "from "/__NUXT_BASE__/@vite/client"") 15:46:09
i Vite client warmed up in 3364ms 15:46:12
i Client built in 3436ms 15:46:12
i Building server... 15:46:12
√ Server built in 950ms 15:46:13
i Nitro preset is server 15:46:13
i Cleaning up .output 15:46:13
start Generating public... 15:46:13
√ Generated public .output/public 15:46:13
start Building server... 15:46:13
start Writing server bundle... 15:46:16
√ Server built 15:46:16
├─ .output/server/index.mjs (279 B) (174 B gzip)
├─ .output/server/chunks/vue3.mjs (283 B) (197 B gzip)
├─ .output/server/chunks/static.mjs (3.13 kB) (1.3 kB gzip)
├─ .output/server/chunks/server2.mjs (259 kB) (60 kB gzip)
├─ .output/server/chunks/server.mjs (5.38 kB) (2.05 kB gzip)
├─ .output/server/chunks/render.mjs (22.6 kB) (6.29 kB gzip)
├─ .output/server/chunks/index.mjs (395 kB) (91.1 kB gzip)
└─ .output/server/chunks/client.manifest.mjs (515 B) (245 B gzip)
Σ Total size: 5.14 MB (1.4 MB gzip)
i You can preview this build using nuxi preview |
It's not an issue with nuxi; you'll need to update nuxt itself with |
Updating to |
@andysay Would you open a new issue with a reproduction? |
nuxt v3.0.0-27501460.04a72f8 |
Any chance of a reproduction? 🙏 |
Am also recieving same error. I just ran npx nuxi upgrade and now i get this error
|
change nuxt3 to nuxt and reinstall package.json look this https://github.com/nuxt/framework/discussions/2883 |
this fixed it for me - thanks! |
Getting this as a warning in test suite.
reported by @pi0
The text was updated successfully, but these errors were encountered: