-
-
Notifications
You must be signed in to change notification settings - Fork 523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught ReferenceError: require is not defined with node integration & webpack #2567
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Thanks for the bug report but this is not a bug in Electron Forge. Starting from Electron v12.0.0, the default value of If you need more assistance, please use one of the community forums, including the Electron Discord server. |
After set
@malept Is there any way to use ipcRenderer & ipcMain when set |
@iCyris: you can use |
@erickzhao It works, thank u~ :D |
Pre-flight checklist
Electron Forge version
6.0.0-beta.61
Electron version
v15.1.1
Operating system
macOS 11.3
Last known working Electron Forge version
No response
Expected behavior
Nothing should be logged. (except CSP warning)
Actual behavior
renderer console says:
Steps to reproduce
npx create-electron-app node-integration --template=webpack
cd node-integration
package.json
andmain.js
below)npm start
Additional information
main.js
package.json
The text was updated successfully, but these errors were encountered: