Open ScubaDrew opened 11 months ago
Following the install directions:
npm install electron-devtools-installer --save-dev
Works like a charm.
However, when we built our electron app in production mode, then we get the following error when we launched the app:
`A JavaScript error occurred in the main process
Uncaught Exception: Error: Cannot find module 'electron-devtools-installer' Require stack: - /Applications/CCC.app/Contents/Resources/app.asar/build/electron/main.js
How can we get our app to have electron-devtools-installer to work when we are developing locally but not break things when we do production builds?
electron-devtools-installer
Thanks!
May I see the code containing the installExtension Function?
Following the install directions:
Works like a charm.
However, when we built our electron app in production mode, then we get the following error when we launched the app:
`A JavaScript error occurred in the main process
How can we get our app to have
electron-devtools-installer
to work when we are developing locally but not break things when we do production builds?Thanks!