installation issue
MavDavis opened this issue · 16 comments
I have tried installing nuxt like four times tonight and that is the error I keep getting anytime I try running npm run dev
try setting the nuxt version in your package.json to 2
- I suspect you're pulling in Nuxt 3, which has just been released, along with a module that's not compatible with nuxt 3.
As @danielroe said, create-nuxt-app doesn’t support nuxt.js v3 and I think nuxi init
is the best way to initialize nuxt v3 application.
I’ll also make fix to have better prompt when packages are not compatible.
@pi0 @danielroe please correct me if I misunderstood anything or I’m wrong.
Ain't they suppose to modify the docs tho cos the process for the installation was from the official nuxt docs
'nuxi' is not recognized as an internal or external command,
operable program or batch file
I have never used nuxi, any help?
Please follow nuxt v3 doc, https://nuxt.com/docs/getting-started/installation#new-project
Please what's the best way of installing a nuxt app and which version is recommendable( (I will appreciate a version that allows auto import)? I have tried so many methods and it will end up giving an error.
@MavDavis - the best way to install a new Nuxt app is to follow the instructions to get started with Nuxt 3 at https://nuxt.com/docs/getting-started/installation.
You can follow the instructions to get started with Nuxt 3 at https://nuxt.com/docs/getting-started/installation.
Isn't that the way to start a project with nuxt 3? Then it does not work for this repository, I just followed the instructions to start a project with nuxt 2 and I had exactly the same problem as this issue.
The installed version of nuxt is version 2.
@MavDavis try to do a fresh install of nuxt2 with out extra plugins, specially tailwind, if you need tailwind use this version instead https://www.npmjs.com/package/@nuxtjs/tailwindcss/v/4.0.0-12
My project was already live and throwing started this error, but downgrading @nuxtjs/tailwindcss to 4.2.1 fixed the issue for anyone else struggling with it.
Vm only local only 127.0.0.0.1 and so on no vac