-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Vue Devtools randomly stops working #1697
Comments
Did you try on Firefox to see if it is also affected? |
Could you please provide a runnable reproduction so I can run the devtools on it? Thanks |
@Akryum I tested it on Firefox and have not been able to replicate the problem. It is using v6.0.4. So perhaps it's specific too Chrome, or somewhere between v6.0.0. and v6.0.4 fixed the issue? I'm not sure what I can provide you for a runnable reproduction. I provide the steps I have taken, and I'm able to replicate it by just reloading the page at any time. I cannot provide you the code as this is my works site. I'm going to try loading v6.0.4 from the source code next to see if that changes anything. I assume to use this directories files? https://github.com/vuejs/devtools/tree/main/packages/shell-chrome |
Here is some documentation about how to build and test the repo: https://devtools.vuejs.org/guide/contributing.html |
I'll set it up when I get some free time. Might not be until the weekend though. |
I am experiencing the same issues with 6.0.2 on Chrome / Windows 10. Navigating between my vue.js pages would randomly stop Devtools from working and it throws 'TypeError: sub is not a function' in the console. |
@rudongsu There is no |
Same issue, when I reload page, the devtool get blank. Also, if I reload chrome devtool, it worked again. |
Whenever Google validates it. The time it takes them to review the devtools extension update on Chrome Web Store is out of our control. |
This comment was marked as off-topic.
This comment was marked as off-topic.
My version has updated to v6.0.8 and still has the problem. I'm going to work on the test repo next. |
So today when I went to start things up, I was getting some new errors in the console. This was on first page load. backend.js:702
backend.js:703
I then forked and cloned the repo, and followed the directions for "Development" from this page: https://devtools.vuejs.org/guide/contributing.html I ran After that, something with Even though my extension from the Chrome store was at v6.0.8, I still proceeded to test out the "Testing as Chrome addon" step from the link you provided. I loaded the unpackaged extension, loaded up the vue site, and the problem is still happening when reloading the page. So I then decided to look at the scripts the extension is running. I loaded up
Vue Devtools was working at this point. I reloaded the page to this
Vue Devtools was still working. I refreshed the page one more time and then this happened when Vue Devtools stopped working:
At this point, I'm not sure what else I can do to test this anymore. Vue Devtools is failing consistently and all of the time. |
Yet the Firefox v6.0.4 extension still works perfectly and as intended. Same vue projects tested with no problems. It only seems to be happening for me on Chrome. |
You forgot to put the actual error messages here, I only see stack traces.
Were you inspecting the devtools development shell with the "real" devtools? What was the error? |
So now I just updated Chrome to Version 98.0.4758.102 (Official Build) (x86_64). Still have the problem, but now the error that I said went away after I rebooted my computer... is now back. The error was actually in my last message, but the github formatting removed the first line on each of them. This time they should be visible. But this doesn't take away from the fact that I was getting errors and the same problem with the code from this repo, so it's not my projects that are the issue. backend.js:702
backend.js:703
|
So the error you have is actually #1669? (If it is, please try posting a reproduction, I don't reproduce it on the repo dev shell, maybe another reproduction could help me.) This shouldn't stop the devtools from working apart from the Vuex inspector, but your initial post suggested that the devtools stopped working altogether? |
I think the latest version (v6.0.12) or another version in between may have resolved the issue. It hasn't been going blank for me anymore I think. So this Issue might be resolved now. |
Guess I spoke too soon. Was doing pretty good until today, where it's been having the issue again. Ugh. |
|
I was just having this issue, it looks like it was because I was still using the Vue Devtools Beta (6.0.0.21). When I uninstalled that and installed the latest version of Vue Devtools (the non-beta version), the problem went away. |
Not sure if this is new/useful, but I have lately been seeing random "staleness" in the Vue dev tool (2.6.14) data values after using it for a couple hours including many page refreshes. The DOM view seems fine, just the data view gets "stale". Clicking "Force refresh" does not fix it, but closing the dev tool and reopening it seems to. This is in the Chrome browser 108.0.5359.73. |
@mdr1384 same issue here. Stays like this forever. |
Running v6.4.5 on Firefox 108.0b9 (macOS 13) and I can confirm this has been happening to me for a while, getting the "disconnection" icon often. Switching tabs and letting it sit for a while, then coming back to it will often trigger the bug. |
I too am experiencing the same thing on Firefox latest, also the Vue tools keeps randomly doing a full refresh, and when it does, I lose my place and have to navigate back into whatever component or what not. It is extremely annoying. This never happened in earlier versions. Edit: Running v. 6.4.5 |
@bdanielbell I was also experiencing the full refresh problem and came across this issue, but noticed it was reported separately in #1974. The fix for that has been merged and a new release was tagged in v6.5.0, but it doesn't seem to have made its way to AMO yet. |
I get the same issue, every 30 seconds it just reloads itself - SUPER annoying! |
Tried to build 6.5.0 extension for firefox, but it failed with all kinds of errors. Not even going to bother trying to figure it out, I have too much work to do. Going to remove 6.4.5 and fallback to the legacy version. I can't deal with the constant crashing and refreshing anymore. |
Will this ever be picked up? |
The issue is still persistent on latest Chrome version (118.0.5993.117 arm64), macOS Sonoma 14.0 (MacBook Pro 14" 2023 M2 Pro), Vue.js devtools Version 6.5.1, Vue 3.3.4.
|
Vue.js devtools Version 6.6.1, Vue 3.4.5 , same problem |
After upgrading to Vue 3, the plugin constantly stop working, won't allow me to select an element, won't update the state. I literally have to close my browser after 1-2 minutes of working with the component or after refreshing the page. I've been using this plugin for over two years with Vue 2, but it's becoming impossible to use it with Vue 3. |
How is this issue, as important as it is, being ignored by the development team... |
Version
6.0.0
and
6.0.0 beta 21
I also tried out the legacy v5.3.4 which is where I first experienced this recently, very similar problem.
Browser and OS info
Chrome Version 98.0.4758.80 (Official Build) (x86_64)
Mac Catalina 10.15.7 (19H1519)
Steps to reproduce
In particular, if I'm in a Vue site, then log off the site (which reloads the page), every single time the Vue Devtools panel goes blank and requires reloading the Chrome Devtools window.
What is expected?
It should not just stop working randomly. It should not go blank and require reloading the Chrome Devtools.
What is actually happening?
It stops working. The tab is there, but it just shows an empty panel with some kind of default image.
This has been happening to me all the time, regularly every few minutes or so. Some situations the page needs to reload, and that's when it happens more often than when just navigating around.
The Chrome store does not have Vue Devtools 6.0.4, it's still on v6.0.0. So until that is updated I cannot test the latest build. I have also tried changing my Devtools theme and uninstalled, reinstalled the extension as that helped some people in the other Issues. None of those suggestions worked.
Screenshot of the blank panel v6.0.0 and v6.0.0 beta 21
Screenshot of the panel v5.3.4
The text was updated successfully, but these errors were encountered: