question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Vue JS Dev Tools - Not detecting VUE DOM

See original GitHub issue

Vue JS Dev Tools - installing but does not list elements When running yarn electron:serve - the VUE JS dev tools are not registering any elements as VUE. However the tools are installed.

To Reproduce

  1. electron:serve
  2. The App launches
  3. Dev Tools installed but not working Screenshot 2019-05-08 at 11 13 14

Expected behavior

  1. After running the same command with no code changes the VUE devtools then work this is random and far between ( Same app and code but successful build here ) Screenshot 2019-05-08 at 11 22 44

Package.json { "name": "com.electron", "version": "0.1.0", "private": true, "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint", "electron:build": "vue-cli-service electron:build", "electron:serve": "vue-cli-service electron:serve", "postinstall": "electron-builder install-app-deps", "postuninstall": "electron-builder install-app-deps", "test:e2e": "vue-cli-service test:e2e" }, "main": "background.js", "dependencies": { "client-oauth2": "^4.2.3", "core-js": "^2.6.5", "vue": "^2.6.10", "vue-router": "^3.0.6", "vuex": "^3.1.0" }, "devDependencies": { "@vue/cli-plugin-babel": "^3.7.0", "@vue/cli-plugin-e2e-cypress": "^3.7.0", "@vue/cli-plugin-eslint": "^3.7.0", "@vue/cli-service": "^3.7.0", "@vue/eslint-config-prettier": "^4.0.1", "babel-cli": "^6.26.0", "babel-eslint": "^10.0.1", "electron": "^5.0.0", "eslint": "^5.16.0", "eslint-plugin-vue": "^5.0.0", "vue-cli-plugin-electron-builder": "^1.3.1", "vue-template-compiler": "^2.5.21", "webpack-cli": "^3.3.1" }, "eslintConfig": { "root": true, "env": { "node": true }, "extends": [ "plugin:vue/essential", "@vue/prettier" ], "rules": {}, "parserOptions": { "parser": "babel-eslint" } }, "postcss": { "plugins": { "autoprefixer": {} } }, "browserslist": [ "> 1%", "last 2 versions" ] }

Additional context Not sure if the tools are trying to re install or there is a race condition before the browser loads? Or it might be silently failing?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:13
  • Comments:26 (4 by maintainers)

github_iconTop GitHub Comments

17reactions
baileyherbertcommented, May 25, 2019

I am using Electron 5 and ran into this issue as well. Nothing was being recognized by the extension, including the DOM and Vuex state.

I fixed it by closing the devtools window and reopening it (which can be done quickly by hitting the keybinding twice, e.g. Ctrl+Shift+I). It then recognized both the state and the DOM, and it continued working through hot reloads.

As an experiment, I tried delaying the initial openDevTools() call by several seconds, but it still did not work until I relaunched devtools.

6reactions
gtamascommented, Jun 7, 2019

Same here. Opening an closing devtools fixes it, but all tabs are empty when electron loads the window.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is Vue.js Chrome Devtools not detecting Vue.js?
Config your Vue.js tool in Chrome extensions · Search for "Vue.js devtools" · Click on details · Check the "Allow access to file...
Read more >
Vue3 devtools : VueJS not detected - Get Help - Vue Forum
I installed vue devtools but it says VueJS not detected (in chrome). my app is working fine. how can a Vue instance not...
Read more >
vue.js not detected · Issue #1279 · vuejs/devtools - GitHub
first things first, install vue devtools from manual. and then close the browser. finally restart browser and check your vue development ...
Read more >
[Solved]-Vue devtools in Chrome: Vue.js not detected-Vue.js
Have you tried npm run dev ? Your Vue application needs to be in development mode in order for the Vue dev tools...
Read more >
Vue.js DevTools Tutorial - Flavio Copes
The Vue.js DevTools · Install on Chrome · Install on Firefox · Install the standalone app · How to use the Developer Tools....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found