N
Nuxt6mo ago
drusellers

Version Mismatch (I must be doing something silly)

Nuxt 3.11.2 with Nitro 2.9.6 9:46:11 AM
9:46:12 AM
➜ Local: http://localhost:3001/
➜ Network: use --host to expose

WARN Module nuxt-gtag is disabled due to incompatibility issues: 9:46:13 AM
- [nuxt] Nuxt version ^3.7 is required but currently using 3.4.2

✔ Nitro built in 777 ms nitro 9:46:15 AM
ℹ Vite client warmed up in 1841ms 9:46:15 AM
ℹ nuxt.config.ts updated. Restarting Nuxt... 9:47:23 AM

WARN Module nuxt-gtag is disabled due to incompatibility issues: 9:47:24 AM
- [nuxt] Nuxt version ^3.7 is required but currently using 3.4.2

ℹ Vite client warmed up in 937ms 9:47:25 AM
✔ Nitro built in 407 ms
Nuxt 3.11.2 with Nitro 2.9.6 9:46:11 AM
9:46:12 AM
➜ Local: http://localhost:3001/
➜ Network: use --host to expose

WARN Module nuxt-gtag is disabled due to incompatibility issues: 9:46:13 AM
- [nuxt] Nuxt version ^3.7 is required but currently using 3.4.2

✔ Nitro built in 777 ms nitro 9:46:15 AM
ℹ Vite client warmed up in 1841ms 9:46:15 AM
ℹ nuxt.config.ts updated. Restarting Nuxt... 9:47:23 AM

WARN Module nuxt-gtag is disabled due to incompatibility issues: 9:47:24 AM
- [nuxt] Nuxt version ^3.7 is required but currently using 3.4.2

ℹ Vite client warmed up in 937ms 9:47:25 AM
✔ Nitro built in 407 ms
I have deleted my node_modules, deleted my npm lock file, deleted my .nuxt directory. I can see in my package lock file that I have 3.11.2, I have created a branch new vue project using nuxi, and it creates with 3.11.2 just fine. I've compared the nuxt config and the package.json file between my project and the old project For the life of me I cannot figure out how to get my project to run as 3.11.2 (as seen by the nuxt-gtag version enforcement.
6 Replies
owljackob
owljackob6mo ago
Try running npx nuxi upgrade --force.
drusellers
drusellersOP6mo ago
Latest Run https://gist.github.com/drusellers/06a850f7b7685ffe179da2b73c397fb0 What I find curious is that npx nuxi says Current Nuxt version: 3.4.2 rather than Nuxt 3.12.1
Gist
nuxi.log
GitHub Gist: instantly share code, notes, and snippets.
drusellers
drusellersOP6mo ago
npx nuxi
⚡️ Nuxt Generation CLI Experience (nuxi v3.12.0)
npx nuxi
⚡️ Nuxt Generation CLI Experience (nuxi v3.12.0)
Did npx nuxi@latest upgrade --force as well with no change
npx nuxi@latest upgrade --force
Need to install the following packages: [email protected]
ℹ Package manager: npm 10.2.3
ℹ Current Nuxt version: 3.4.2
npx nuxi@latest upgrade --force
Need to install the following packages: [email protected]
ℹ Package manager: npm 10.2.3
ℹ Current Nuxt version: 3.4.2
owljackob
owljackob6mo ago
I see that you use 10.2.3, as of npm. Could you please try to update it? What version of Node.js do you run?
drusellers
drusellersOP6mo ago
fricking heck there was another node_modules in a parent directory that was some how influencing things TY for the assist
owljackob
owljackob6mo ago
No worries, glad it's solved. 👌
Want results from more Discord servers?
Add your server