zce / vue-devtools

An electron devtools extension for debugging Vue.js applications.
MIT License
61 stars 23 forks source link

loadExtension error #58

Open jimhucksly opened 3 years ago

jimhucksly commented 3 years ago

v 5.1.4

my code

app.on('ready', async () => {
  if (process.env.NODE_ENV !== 'production') {
    require('vue-devtools').install()
  }
}) 

I'm getting error: Error: The path to the extension in 'loadExtension' must be absolute at Object.exports.install (webpack:///./node_modules/vue-devtools/lib/index.js?:13:46) at _callee$ (webpack:///./src/index.dev.js?:26:70) at tryCatch (webpack:///./node_modules/regenerator-runtime/runtime.js?:63:40) at Generator.invoke [as _invoke] (webpack:///./node_modules/regenerator-runtime/runtime.js?:293:22) at Generator.eval [as next] (webpack:///./node_modules/regenerator-runtime/runtime.js?:118:21) at asyncGeneratorStep (webpack:///./node_modules/@babel/runtime/helpers/asyncToGenerator.js?:3:24) at _next (webpack:///./node_modules/@babel/runtime/helpers/asyncToGenerator.js?:25:9) at eval (webpack:///./node_modules/@babel/runtime/helpers/asyncToGenerator.js?:32:7) at new Promise () at App.eval (webpack:///./node_modules/@babel/runtime/helpers/asyncToGenerator.js?:21:12)

Gaitin commented 3 years ago

Same as above