Vuetify 3 组件无法在 chrome 中工作 - 未捕获类型错误:globalStack.at 不是函数

2023-12-26

我在使用从头开始创建的 vuetify 3 插件项目运行 Vue JS 项目时遇到此错误。我专门使用 v-dialog,但它在其他组件的 chrome 中也出现控制台错误。

`

Uncaught TypeError: globalStack.at is not a function
    at stack.ts:55
    at callWithErrorHandling (runtime-core.esm-bundler.js:157)
    at callWithAsyncErrorHandling (runtime-core.esm-bundler.js:166)
    at ReactiveEffect.getter [as fn] (runtime-core.esm-bundler.js:1732)
    at ReactiveEffect.run (reactivity.esm-bundler.js:187)
    at doWatch (runtime-core.esm-bundler.js:1847)
    at watchEffect (runtime-core.esm-bundler.js:1652)
    at useStack (stack.ts:54)
    at Object.setup [as _setup] (VOverlay.tsx:149)
    at setup (defineComponent.tsx:77)`


My package.json looks like below-

``

{
  "name": "vuetify-project",
  "version": "0.0.0",
  "scripts": {
    "dev": "vite",
    "build": "vue-tsc --noEmit && vite build",
    "preview": "vite preview"
  },
  "dependencies": {
    "@babel/types": "^7.20.5",
    "@mdi/font": "7.0.96",
    "esbuild": "^0.16.10",
    "roboto-fontface": "*",
    "vue": "^3.2.38",
    "vuetify": "^3.0.0",
    "webfontloader": "^1.0.0"
  },
  "devDependencies": {
    "@types/node": "^18.11.9",
    "@types/webfontloader": "^1.6.35",
    "@vitejs/plugin-vue": "^3.0.3",
    "typescript": "^4.0.0",
    "vite": "^3.0.9",
    "vite-plugin-vuetify": "^1.0.0-alpha.12",
    "vue-tsc": "^1.0.9"
  }
}``



I have tried various conditions like upgrading nodejs version, disabling vite and enabling vue-cli but the issue didn't resolve

您需要升级您的浏览器 - 最近添加了 at() 函数。如果你安装了最新的 Chrome,它就可以正常工作。如果您使用的是 Node,请将 Node 升级到 16.6 或更高版本

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Vuetify 3 组件无法在 chrome 中工作 - 未捕获类型错误:globalStack.at 不是函数 的相关文章

随机推荐