Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.14.4 Cannot read properties of undefined (reading 'pluginList') #525

Closed
Gavin-Gao-Vegeta opened this issue Mar 31, 2022 · 7 comments
Closed
Labels

Comments

@Gavin-Gao-Vegeta
Copy link

环境 :node14+vite+vue3+ts+容器化部署
问题描述:生成环境下打开页面就出现报错提醒。
v3.10.1不会出现这个问题。
image
image

@Gavin-Gao-Vegeta Gavin-Gao-Vegeta changed the title v3.14.4 v3.14.4 Cannot read properties of undefined (reading 'pluginList') Mar 31, 2022
@Maizify
Copy link
Collaborator

Maizify commented Mar 31, 2022

是否有做 SSR 之类的直出渲染?从内部逻辑上看,如果页内已有 id 为 #__vconsole 的元素,那么就不会初始化 this.comInstance,才会导致这个报错。

@Maizify
Copy link
Collaborator

Maizify commented Mar 31, 2022

应该是短时间内快速new了两次导致的。现在调整了下初始化时的判断逻辑,以避免这种情况。

@Maizify Maizify added the Done label Mar 31, 2022
@Maizify
Copy link
Collaborator

Maizify commented Apr 6, 2022

已在3.14.5发布。

@Maizify Maizify closed this as completed Apr 6, 2022
@haledeng
Copy link

低端机型上,这个问题还是存在

@yoyo837
Copy link

yoyo837 commented Jun 30, 2023

Chromium 52 仍然有这个问题. Android 7

我这边自检确实是重复<script> 引入并且重复 new 了.

@qtanran
Copy link

qtanran commented Dec 18, 2023

vite + vue3 + vconsole3.15.1
在ios17还会出现这个问题

@qtanran
Copy link

qtanran commented Dec 18, 2023

64dbea709d48e2930f51685100b8e41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants