nuxt: Cannot split a chunk that has already been edited

Getting this as a warning in test suite.

Cannot split a chunk that has already been edited (0:87 – "from "/__NUXT_BASE__/@vite/client"")

reported by @pi0

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 9
  • Comments: 17 (7 by maintainers)

Most upvoted comments

Updating to Nuxt CLI v3.0.0-27480141.51f3bbf fixed it. Thanks. ❤️👍

It’s not an issue with nuxi; you’ll need to update nuxt itself with npx nuxi upgrade. And the package with the update was still going through CI at the time. (For reference, it is 3.0.0-27480141.51f3bbf.)

Am also recieving same error. I just ran npx nuxi upgrade and now i get this error Cannot start nuxt: Cannot find module ‘nuxt’ Require stack:

  • \index.js

change nuxt3 to nuxt and reinstall package.json look this https://github.com/nuxt/framework/discussions/2883

it’s seems that the issue only appear on the latest version of nuxi.

npm run build

image

npx nuxi info

image

Netlify deploy log (production)

image

Getting this on yarn build image