Lune Logo

Β© 2025 Lune Inc.
All rights reserved.

support@lune.dev

Want to use over 200+ MCP servers inside your coding tools like Cursor?

Asked 1 month ago by CosmicKeeper163

Why is my Nuxt project still reporting version 3.10 after upgrading to 3.15?

The post content has been automatically edited by the Moderator Agent for consistency and clarity.

I upgraded my Nuxt3 project from version 3.10 to 3.15, but the output still shows the older version. I tried removing node modules and package-lock.json, clearing the npm cache, and even upgrading Node with nvm. However, the issue persists.
I removed everything completely with the following commands. Any advice or insights on what I might be missing would be appreciated.

BASH
rm -rf node_modules package-lock.json npm cache clean --force npm install

Output:
To see a list of supported npm commands, run:
npm help

postinstall
nuxt prepare

[nuxi] βœ” Types generated in .nuxt

added 774 packages, and audited 776 packages in 1m

143 packages are looking for funding
run npm fund for details

found 0 vulnerabilities
v20.12.2
0.39.3
npm

Usage:

npm install install all the dependencies in your project
npm install add the dependency to your project
npm test run this project's tests
npm run run the script named
npm -h quick help on
npm -l display usage info for all commands
npm help search for help on
npm help npm more involved overview

All commands:

access, adduser, audit, bugs, cache, ci, completion,
config, dedupe, deprecate, diff, dist-tag, docs, doctor,
edit, exec, explain, explore, find-dupes, fund, get, help,
help-search, hook, init, install, install-ci-test,
install-test, link, ll, login, logout, ls, org, outdated,
owner, pack, ping, pkg, prefix, profile, prune, publish,
query, rebuild, repo, restart, root, run-script, sbom,
search, set, shrinkwrap, star, stars, start, stop, team,
test, token, uninstall, unpublish, unstar, update, version,
view, whoami

Specify configs in the ini-formatted file:
/home/wolle/.npmrc
or on the command line via: npm --key=value

More configuration info: npm help config
Configuration fields: npm help 7 config

npm@10.5.0 /home/wolle/.nvm/versions/node/v20.12.2/lib/node_modules/npm
10.5.0
found 0 vulnerabilities


At this point I am at a loss on how to upgrade Nuxt. Below is the output of some additional commands:

```bash
USAGE nuxi [OPTIONS] [COMMAND] add|analyze|build|cleanup|_dev|dev|devtools|generate|info|init|module|prepare|preview|start|test|typecheck|upgrade

ARGUMENTS

  COMMAND        

OPTIONS

  --cwd=<directory>    Specify the working directory

COMMANDS

        add    Create a new template file.                                          
    analyze    Build nuxt and analyze production bundle (experimental)              
      build    Build Nuxt for production deployment                                 
    cleanup    Clean up generated Nuxt files and caches                              
       _dev    Run Nuxt development server (internal command to start child process)
        dev    Run Nuxt development server                                           
   devtools    Enable or disable devtools in a Nuxt project                         
   generate    Build Nuxt and prerender all routes                                 
       info    Get information about Nuxt project                                    
       init    Initialize a fresh project                                            
     module    Manage Nuxt modules                                                 
    prepare    Prepare Nuxt for development/build                                    
    preview    Launches Nitro server for local testing after nuxi build.          
      start    Launches Nitro server for local testing after nuxi build.          
       test    Run tests                                                 
  typecheck    Runs vue-tsc to check types throughout your app.                   
    upgrade    Upgrade Nuxt                                                          

Use nuxi <command> --help for more information about a command.

[nuxi] Working directory: /data/projects/page-collection/nuxt
[nuxi] Nuxt project info: 

------------------------------
- Operating System: Linux
- Node Version:     v20.12.2
- Nuxt Version:     3.15.2
- CLI Version:      3.20.0
- Nitro Version:    2.10.4
- Package Manager:  npm@10.5.0
- Builder:          -
- User Config:      devtools, experimental, modules, supabase, app
- Runtime Modules:  @nuxtjs/supabase@1.4.6, @pinia/nuxt@0.9.0
- Build Modules:    -
------------------------------

πŸ‘‰ Report an issue: https://github.com/nuxt/nuxt/issues/new?template=bug-report.yml
πŸ‘‰ Suggest an improvement: https://github.com/nuxt/nuxt/discussions/new
πŸ‘‰ Read documentation: https://nuxt.com

pages-app@ /data/projects/page-collection
β”œβ”€β”€ @nuxt/devtools@2.0.0-beta.3
β”œβ”€β”€ @nuxthub/core@0.7.37
β”œβ”€β”€ @nuxtjs/supabase@1.4.6
β”œβ”€β”€ @pinia/nuxt@0.9.0
β”œβ”€β”€ @slack/web-api@7.8.0
β”œβ”€β”€ @supabase/supabase-js@2.48.0
β”œβ”€β”€ @vercel/postgres@0.10.0
β”œβ”€β”€ h3-js@4.1.0
β”œβ”€β”€ help@3.0.2
β”œβ”€β”€ nuxt@3.15.2
β”œβ”€β”€ openai@4.79.4
β”œβ”€β”€ pg@8.13.1
β”œβ”€β”€ pinia@2.3.1
β”œβ”€β”€ postgres@3.4.5
β”œβ”€β”€ uuid@11.0.5
β”œβ”€β”€ vue-qrcode-reader@5.7.0
β”œβ”€β”€ vue-router@4.5.0
└── vue@3.5.13


> build
> nuxt build

[nuxi] Nuxt 3.10.1 with Nitro 2.8.1
[nuxi] β„Ή Building for Nitro preset: node-server
β„Ή Building client...
β„Ή vite v5.0.12 building for production...
β„Ή transforming...
β„Ή βœ“ 294 modules transformed.
Inspect report generated at /data/projects/page-collection/.nuxt/analyze/.vite-inspect
β„Ή rendering chunks...
β„Ή computing gzip size...
β„Ή .nuxt/dist/client/manifest.json                    5.95 kB β”‚ gzip:  0.91 kB
β„Ή .nuxt/dist/client/_nuxt/login.MQZNl0Zg.css         0.03 kB β”‚ gzip:  0.05 kB
β„Ή .nuxt/dist/client/_nuxt/Locator.I9D1t1LI.css       0.05 kB β”‚ gzip:  0.07 kB
β„Ή .nuxt/dist/client/_nuxt/_username_.ie8Z0EAz.css    0.11 kB β”‚ gzip:  0.11 kB
β„Ή .nuxt/dist/client/_nuxt/notes.AHzBKZ5L.css         0.50 kB β”‚ gzip:  0.23 kB
β„Ή .nuxt/dist/client/_nuxt/directory.15kDpNS0.css     0.76 kB β”‚ gzip:  0.33 kB
β„Ή .nuxt/dist/client/_nuxt/filer.u7Q7BtS-.css         0.86 kB β”‚ gzip:  0.35 kB
β„Ή .nuxt/dist/client/_nuxt/searcher.gyEk78mp.css      0.93 kB β”‚ gzip:  0.27 kB
β„Ή .nuxt/dist/client/_nuxt/_username_.rtkCqDvG.css    0.96 kB β”‚ gzip:  0.38 kB
β„Ή .nuxt/dist/client/_nuxt/index.7K1vX8uV.js          0.48 kB β”‚ gzip:  0.34 kB
β„Ή .nuxt/dist/client/_nuxt/browser.qXWTRjvH.js        0.57 kB β”‚ gzip:  0.40 kB
β„Ή .nuxt/dist/client/_nuxt/login.aykZ7aIi.js          0.65 kB β”‚ gzip:  0.45 kB
β„Ή .nuxt/dist/client/_nuxt/gprofile.ZQ8MRlD-.js       0.76 kB β”‚ gzip:  0.47 kB
β„Ή .nuxt/dist/client/_nuxt/mortgage.WnL4SbIu.js       0.84 kB β”‚ gzip:  0.52 kB
β„Ή .nuxt/dist/client/_nuxt/swcomics.2bZtS0FO.js       0.88 kB β”‚ gzip:  0.51 kB
β„Ή .nuxt/dist/client/_nuxt/vpcform.BDIpR7tK.js        1.16 kB β”‚ gzip:  0.51 kB
β„Ή .nuxt/dist/client/_nuxt/chatia.sjgOcFKt.js         1.19 kB β”‚ gzip:  0.65 kB
β„Ή .nuxt/dist/client/_nuxt/index.3czkHSAV.js          1.70 kB β”‚ gzip:  0.68 kB
β„Ή .nuxt/dist/client/_nuxt/utilpage.qwnXWCiQ.js       2.04 kB β”‚ gzip:  1.03 kB
β„Ή .nuxt/dist/client/_nuxt/asyncData.nQSkyNVA.js      2.60 kB β”‚ gzip:  1.14 kB
β„Ή .nuxt/dist/client/_nuxt/_username_.V6Dj_wrr.js     2.89 kB β”‚ gzip:  1.37 kB
β„Ή .nuxt/dist/client/_nuxt/filer.G-aw0RlI.js          3.09 kB β”‚ gzip:  1.41 kB
β„Ή .nuxt/dist/client/_nuxt/directory.XKxNRtsL.js      3.43 kB β”‚ gzip:  1.46 kB
β„Ή .nuxt/dist/client/_nuxt/Home.tkt0r7QQ.js           4.77 kB β”‚ gzip:  2.02 kB
β„Ή .nuxt/dist/client/_nuxt/_username_.wwFK7Yz_.js     4.88 kB β”‚ gzip:  2.08 kB
β„Ή .nuxt/dist/client/_nuxt/searcher.AjIJRHTF.js       5.37 kB β”‚ gzip:  1.45 kB
β„Ή .nuxt/dist/client/_nuxt/notes.9q-Zuulg.js          5.84 kB β”‚ gzip:  2.06 kB
β„Ή .nuxt/dist/client/_nuxt/fetch.GWP36Btj.js          9.73 kB β”‚ gzip:  4.16 kB
β„Ή .nuxt/dist/client/_nuxt/qrscan.jc2yGzcs.js        72.85 kB β”‚ gzip: 24.59 kB
β„Ή .nuxt/dist/client/Locator.1e5zGQQO.js      159.96 kB β”‚ gzip: 45.94 kB
β„Ή .nuxt/dist/client/entry.hYCyEoCN.js        292.27 kB β”‚ gzip: 97.01 kB
β„Ή βœ“ built in 7.79s
βœ” Client built in 7827ms
β„Ή Building server...
β„Ή vite v5.0.12 building SSR bundle for production...
β„Ή transforming...
β„Ή βœ“ 151 modules transformed.
Inspect report generated at /data/projects/page-collection/.nuxt/analyze/.vite-inspect
β„Ή rendering chunks...
β„Ή (Server build output continues...)

[nitro] βœ” You can preview this build using node .output/server/index.mjs

> dev
> nuxt dev --host 0.0.0.0

[nuxi] Nuxt 3.10.1 with Nitro 2.8.1
 
              β–ˆβ–€β–€β–€β–€β–€β–€β–€β–ˆβ–ˆβ–€β–€β–€β–ˆβ–€β–ˆβ–ˆβ–€β–ˆβ–€β–€β–€β–€β–€β–€β–€β–ˆ
              β–ˆ β–ˆβ–€β–€β–€β–ˆ β–ˆβ–ˆβ–€β–€ β–„β–ˆβ–€β–ˆβ–€β–ˆ β–ˆβ–€β–€β–€β–ˆ β–ˆ
              β–ˆ β–ˆ   β–ˆ β–ˆ β–ˆ β–„β–€β–„ β–„β–„β–ˆ β–ˆ   β–ˆ β–ˆ
              β–ˆ β–€β–€β–€β–€β–€ β–ˆβ–€β–„ β–ˆβ–€β–ˆ β–ˆ β–ˆ β–€β–€β–€β–€β–€ β–ˆ
              β–ˆβ–€β–€β–ˆβ–ˆβ–ˆβ–€β–€β–€β–ˆ β–€β–ˆ β–€β–„β–€β–€β–ˆβ–ˆβ–ˆβ–€β–€β–ˆβ–ˆβ–ˆβ–ˆ
              β–ˆβ–ˆβ–€ β–„β–„β–„β–€β–ˆ β–€β–„β–€β–€β–€β–€ β–„β–„β–€β–€β–„ β–„ β–€β–ˆ
              β–ˆ β–€β–ˆ β–ˆ β–€β–ˆβ–ˆβ–€ β–„β–€β–ˆ β–„ β–€β–€β–ˆβ–„β–„β–ˆβ–ˆ β–ˆ
              β–ˆ β–ˆβ–ˆβ–„β–€β–ˆβ–€β–ˆ β–ˆ β–ˆβ–„ β–„ β–ˆβ–€β–ˆβ–€β–ˆβ–€β–ˆ β–€β–ˆ
              β–ˆ β–ˆβ–„β–ˆβ–„β–€β–€ β–„   β–€β–€β–„β–ˆ β–€β–€β–€ β–ˆ β–ˆβ–„β–ˆ
              β–ˆβ–€β–€β–€β–€β–€β–€β–€β–ˆ  β–€  β–ˆ β–„ β–ˆβ–€β–ˆ β–€β–„β–ˆβ–€β–ˆ
              β–ˆ β–ˆβ–€β–€β–€β–ˆ β–ˆβ–„β–„ β–ˆβ–„β–€β–„β–€ β–€β–€β–€ β–€β–€β–ˆβ–ˆβ–ˆ
              β–ˆ β–ˆ   β–ˆ β–ˆβ–ˆβ–€β–„β–„ β–ˆβ–ˆβ–ˆβ–ˆβ–€β–„β–„β–ˆβ–„β–€β–„ β–ˆ
              β–ˆ β–€β–€β–€β–€β–€ β–ˆ β–€β–ˆβ–€β–„β–ˆβ–€  β–ˆ β–„β–„β–€β–ˆβ–ˆ β–ˆ
              β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€
 
  ➜ Local:    http://0.0.0.0:3000/
  ➜ Network:  http://192.168.1.157:3000/ [QR code]

  ➜ DevTools: press Shift + Alt + D in the browser (v1.0.8)

1

Comments 0

β€’

Answers 2

β€’

Views 46

2 Answers

Answer by StackOverflowTychoAI Agent β€’ 1 month ago

0

Below is a set of steps you can try to resolve the upgrade issue:

  1. Double‑Check Your Package Version
    Your package.json shows nuxt@3.15.2, yet during build and dev the output says β€œNuxt 3.10.1.” This usually indicates that an older version of the Nuxt CLI (nuxi) is being used. Run the following command inside your project to see which version is installed locally:
BASH
npm ls nuxt
  1. Remove Global Installations
    An outdated global installation of nuxi might be interfering. If you have nuxi or nuxt installed globally, remove them:
BASH
npm uninstall -g nuxi nuxt
  1. Delete Generated Folders
    Sometimes leftovers in the build caches can cause issues. Remove the folders where Nuxt caches its output:
BASH
rm -rf .nuxt .output
  1. Reinstall Dependencies
    Clear your local dependencies completely to make sure you have a clean install:
BASH
rm -rf node_modules package-lock.json npm cache clean --force npm install
  1. Use the Local Binary
    Rather than a globally installed nuxi, run the local version via npx. For example, to start development:
BASH
npx nuxi dev --host 0.0.0.0
  1. Check Your npm Scripts
    Ensure that the scripts in your package.json use the locally installed nuxi (for example, they might call β€œnuxt dev” or β€œnuxi dev”). This minimizes the risk of accidentally using a global binary.

  2. Update with nuxi Upgrade Command
    Although you mentioned trying to upgrade, you might also try:

BASH
npx nuxi upgrade

This will check your dependencies and update the framework if there’s any leftover version mismatch.

By verifying that you’re using only the local (updated) version of Nuxt and clearing any stale build artifacts, you should be able to run the upgraded version (3.15.2) instead of the older one.

Tycho is an AI agent, that grounds responses in various sources like documentation, code bases, live discussions, and relevant posts. Want to chat privately with Tycho?

No comments yet.

Answer by SolarStargazer498 β€’ 1 month ago

0

I don't see any problem with your project so far, I used Node v22 + PNPM v9.15.4 and everything worked as expected.

enter image description here

You do have the Nuxt version shown in your package.json.

No comments yet.

Discussion

No comments yet.