sidebar not showing
edoreld opened this issue · 2 comments
edoreld commented
To reproduce, clone this repo, cd to directory, run `npm install && npm start'.
Forunners commented
Have you found a solution ?
I have the same problem, I cloned the repo, installed the node modules and hit 'npm start' but the sidebar with the documents just won't show.
kochajkiewicz commented
I fixed it by adding:
webPreferences: {
nodeIntegration: true
}
when creating the browser window, as per https://stackoverflow.com/questions/44391448/electron-require-is-not-defined.
There are security concerns around this approach, however – https://www.electronjs.org/docs/tutorial/security#2-do-not-enable-nodejs-integration-for-remote-content