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.

electron-tabs doesn't work with electron 5.0.0.

See original GitHub issue

To Reproduce: Create a new folder

npm init
npm install electron (installs the latest automatically)
npm install electron-tabs
cd node_modules/electron-tabs
npm run demo

Result: Window opens but no tabs loaded

webPreferences: {nodeIntegration: true} for browser window in app.js doesn’t help.

Workaround: downgrade to “electron”: “4.2.2”

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
zhouyangitcommented, Aug 27, 2019

You now need to explicitly enable webviewTag in your webPreferences object.

const mainWindow = new BrowserWindow({
  webPreferences: {
    webviewTag: true
  }
})
1reaction
brrdcommented, Jul 6, 2019

I pinned this issue to highlight it until it is fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The framework version '5.0.0' (x64) was not found. But 6.0. ...
Hi, I've created a pipeline for my project. I've installed Electron.Net and Electron.Net.CLI but when I try to Electronize it throws me:.
Read more >
electron 5.0.0 "Uncaught ReferenceError: require is not ...
I upgraded to electron beta (5.0. 0) because I needed a newer version of node and encountered this error message in my renderer...
Read more >
electron-tabs
Start using electron-tabs in your project by running `npm i electron-tabs`. There are 5 other projects in the npm registry using electron-tabs.
Read more >
Desktop application changelog
Fixed an issue where Ctrl+C or Ctrl+V didn't work on Electron modals or developer tools. Fixed an issue where navigation with Ctrl/Cmd+Tab stopped...
Read more >
Changelog
Fixed a regression introduced in the Electron browser in Cypress 10.8.0 where ... The Run All Specs experiment will now open in a...
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