nuxt / nuxt/hints

RefrenceError on start up

Open
#277 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

need reproduction
Dominant language
TypeScript
Stars
344
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Environment
Operating system macOS 25.2.0
CPU Apple M2 Max (12 cores)
Node.js version v24.13.1
nuxt/cli version 3.33.1
Package manager yarn@4.9.2
Nuxt version 4.3.1
Nitro version 2.13.1
Builder vite@7.3.1
Config build, compatibilityDate, css, eslint, experimental, i18n, modulesDir, modules, typescript, vite
Modules @nuxt/hints@1.0.0, @pinia/nuxt@0.11.2, @nuxtjs/i18n@10.2.1, @nuxt/eslint@1.9.0, unplugin-turbo-console/nuxt@2.2.0, @vueuse/nuxt@13.6.0, nuxt-auto-parallel-plugins@1.1.0
Reproduction

Describe the bug

When i add this module to my Nuxt app i get the errors logs below, in my console:

Any idea why this is happening?

Additional context
  • I use nuxt layers
  • i use 'nuxt-auto-parallel-plugins'
Logs
ReferenceError: Cannot access '__original_AnnyBaseModal' before initialization
nuxt.js?v=66d05d91:123 [nuxt] error caught during app initialization H3Error: Cannot access '__original_AnnyBaseModal' before initializationCaused by: ReferenceError: Cannot access '__original_AnnyBaseModal' before initialization

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 startup error with Nuxt 4.3.1, the listed modules, Nuxt layers, and nuxt-auto-parallel-plugins; then compare startup with the module or plugin removed. Trace the app-initialization path implicated by the ReferenceError and verify that the app starts without the initialization error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.