My Nuxt application was originally built using Nuxt2, but recently I encountered some errors while using ESlint and I was forced to upgrade and migrate the application to Nuxt3.
However, when migrating, the application local server is not started using the startup script. Below is an image showing the output when runningnpm run dev
Nodejs:18^
nuxtjs: 3^
vuejs:2.7^
Nuxt3 uses Vue3, not Vue2.7.
Also, when you run
npm run dev
your application runs fine, so you don't need to runnpm nuxi dev
separately.You can run
npx nuxi-edge@latest dev
assuggested here.This feature works because
npx
instead ofnpm
, which is completely different.npx
Instead of requiring you to install the package locally or globally on your system, it can remotely take the entire code and run it immediately.In your case though: use
npm run dev
and that'll be fine.No need to run it through npx/nuxi, that just adds latency.