Skip to content

__VUE_PROD_DEVTOOLS__ Cause my project to not run. #316

@xstxhjh

Description

@xstxhjh

Describe the bug

vite.config.ts
define: {
VUE_PROD_DEVTOOLS: JSON.stringify(true),
},

If I change VUE_PROD_DEVTOOLS to false or delete this line of code, it will cause the browser of a certain page in the project to freeze directly.

Reproduction

https://ali.dev.goviewlink.com/chart/home/clqap150z0001mykzdn1q3mv8

Steps to reproduce

username: 13476068653
password: a123456
Log in and open the URL
https://ali.dev.goviewlink.com/chart/home/clqap150z0001mykzdn1q3mv8

I've tried to reproduce this bug, but it only appears on a page in my real environment.

System Info

"@vitejs/plugin-vue": "^4.5.2"

System:
    OS: macOS 14.1.2
    CPU: (11) arm64 Apple M3 Pro
    Memory: 299.58 MB / 18.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node
    Yarn: 1.22.21 - ~/.nvm/versions/node/v18.19.0/bin/yarn
    npm: 10.2.3 - ~/.nvm/versions/node/v18.19.0/bin/npm
    bun: 1.0.15 - ~/.bun/bin/bun
  Browsers:
    Safari: 17.1.2
  npmPackages:
    @vitejs/plugin-vue: ^4.5.2 => 4.2.3 
    @vitejs/plugin-vue-jsx: ^3.1.0 => 3.0.1 
    vite: ^5.0.10 => 5.0.10

Used Package Manager

npm

Logs

Project stuck

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions