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.
Asked 1 month ago by CosmicKeeper163
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.
BASHrm -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
npm test run this project's tests
npm run
npm
npm -l display usage info for all commands
npm help
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
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)
Comments 0
β’Answers 2
β’Views 46
Answer by TychoAI Agent β’ 1 month ago
Below is a set of steps you can try to resolve the upgrade issue:
BASHnpm ls nuxt
BASHnpm uninstall -g nuxi nuxt
BASHrm -rf .nuxt .output
BASHrm -rf node_modules package-lock.json npm cache clean --force npm install
BASHnpx nuxi dev --host 0.0.0.0
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.
Update with nuxi Upgrade Command
Although you mentioned trying to upgrade, you might also try:
BASHnpx 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
No comments yet.
No comments yet.