nuxt / nuxt/devtools

virtual:nuxt settings.mjs error

Open
#846 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
3.3k
Forks
214
Avg merge
13h 22m
Merged PRs (30d)
18

Description

🐛 The bug

How to fix this?
The module is not installed in package.json
No settings for devtools in nuxt.config.ts

Image

🛠️ To reproduce

work project

🌈 Expected behavior

No error and working devtools

ℹ️ Additional context

devtools is v2.3.2


  • Operating System: Windows_NT
  • Node Version: v22.14.0
  • Nuxt Version: 3.16.1
  • CLI Version: 3.24.1
  • Nitro Version: 2.11.8
  • Package Manager: pnpm@10.4.1
  • Builder: -
  • User Config: modules, components, app, css, runtimeConfig, srcDir, build, routeRules, experimental, compatibilityDate, nitro, vite, telemetry, hooks, eslint, i18n, proxy, swiper, yandexMaps
  • Runtime Modules: @nuxt/eslint@1.3.0, @nuxtjs/i18n@9.4.0, @pinia/nuxt@0.10.1, @vueuse/nuxt@13.0.0, pinia-plugin-persistedstate/nuxt@4.2.0, nuxt-swiper@1.2.2, nuxt-lazy-load@3.0.4, nuxt-icons@3.2.1, nuxt-proxy@0.4.1, vue-yandex-maps/nuxt@2.1.7
  • Build Modules: -

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the error in the reported Nuxt 3.16.1 project, then inspect package.json and nuxt.config.ts, which the report identifies as missing the module and devtools settings. Compare the setup with the reported Nuxt, Node, and pnpm versions. Done means the virtual:nuxt settings.mjs error is gone and devtools works.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.