Question/help wanted: how to integrate BugSnag with Electron-Vue?
See original GitHub issueI already asked this question over at https://github.com/SimulatedGREG/electron-vue/issues/769 without any response to this date, so maybe someone here can point me in to the right direction.
I’m trying to use Bugsnag with Electron-Vue but I always get the following error:
import bugsnag from '@bugsnag/js'
import bugsnagVue from '@bugsnag/plugin-vue'
const bugsnagClient = bugsnag('API_KEY')
bugsnagClient.use(bugsnagVue, Vue)
....\node_modules\@bugsnag\node\dist\bugsnag.js:2138 Uncaught TypeError: setInterval(...).unref is not a function
at SessionTracker.start (....\node_modules\@bugsnag\node\dist\bugsnag.js:2138)
at Object.init (....\node_modules\@bugsnag\node\dist\bugsnag.js:2028)
at BugsnagClient.use (....\node_modules\@bugsnag\node\dist\bugsnag.js:163)
at ....\node_modules\@bugsnag\node\dist\bugsnag.js:1578
at Array.forEach (<anonymous>)
at module.exports (....\node_modules\@bugsnag\node\dist\bugsnag.js:1577)
at eval (main.js?3b76:3)
at Object.<anonymous> (renderer.js:1636)
at __webpack_require__ (renderer.js:680)
at fn (renderer.js:90)
Should we even still be using the @bugsnag/plugin-vue as it’s now deprecated? https://docs.bugsnag.com/platforms/javascript/vue/
Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Electron integration guide - Platforms - Bugsnag docs
Start Bugsnag along with any renderer-specific configuration as needed: ... Bugsnag integrates with JavaScript UI frameworks in the renderer via the use of ......
Read more >Bugsnag docs › Platforms › Electron › Configuration options
Discover configuration options for your Bugsnag Electron integration. Customize your Bugsnag setup to meet your application's unique needs.
Read more >Vue integration guide - JavaScript - Bugsnag docs
Use the source maps guide to ensure your tooling outputs source maps, and the build integrations guide to find out how to upload...
Read more >Bugsnag docs › Platforms › JavaScript
JavaScript integration guide. Add Bugsnag to your JavaScript projects to automatically capture and report errors in production.
Read more >Bugsnag docs › Platforms › JavaScript › Legacy › Vue
Install Bugsnag and the Bugsnag / Vue integration from the npm registry using npm ... If you want control over what is deemed...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You could just provide an empty function to it:
There isn’t a bugsnag config file per say, but it sounds like that commenter has created one to hold their configuration.
Sorry about that 😄 I wrote it like
() => {}
and thought I ought to convert tofunction () {}
in case people weren’t familiar with arrow functions and messed it up!