Skip to content

Inspector not working on vite 7.2.5 #164

@Amansaxena001

Description

@Amansaxena001

Describe the bug

The inspector is stuck at loading and throws an error

installHook.js:1 [vite] TypeError: Cannot read properties of undefined (reading 'send')
    at Object.send (client:449:7)
    at Object.send (client:780:16)
    at Object.send (client:318:23)
    at Object.send (client:396:30)
overrideMethod @ installHook.js:1

Reproduction

Upgrade to vite 7, @vitejs/plugin-react to 5.0.0

System Info

System:
    OS: macOS 15.7.1
    CPU: (10) arm64 Apple M2 Pro
    Memory: 68.67 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.13.1 - /opt/homebrew/opt/node@22/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 10.9.2 - /opt/homebrew/opt/node@22/bin/npm
    pnpm: 8.15.5 - /opt/homebrew/bin/pnpm
  Browsers:
    Brave Browser: 141.1.83.118
    Chrome: 142.0.7444.162
    Safari: 26.0.1

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Contributions

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions