angular-cli-electron icon indicating copy to clipboard operation
angular-cli-electron copied to clipboard

require.js is not available

Open Seanmclem opened this issue 7 years ago • 1 comments

When following the instructions to enable fs access, I get Uncaught ReferenceError: require is not defined.

Seanmclem avatar Feb 20 '18 19:02 Seanmclem

@Seankps change in src/electron.dev.js: nodeIntegration: false to nodeIntegration: true, then it will work

vooft avatar Jul 08 '18 00:07 vooft