Maybe I did something wrong, but I configured the plugin according the documentation. There is no errors but also there is no sign of the renderer process being executed. Could you help me with this please?
Please describe your issue:
Console output when you run electron-forge with the environment variable DEBUG=electron-forge:*. (Instructions on how to do so here). Please include the stack trace if one exists.
/usr/local/bin/node /usr/local/Cellar/yarn/1.16.0/libexec/bin/yarn.js run start
yarn run v1.16.0
$ DEBUG=electron-forge:* ELECTRON_ENV=development electron-forge start
WARNING: DEBUG environment variable detected. Progress indicators will be sent over electron-forge:lifecycle
electron-forge:async-ora Process Started: Checking your system +0ms
electron-forge:check-system checking system, create ~/.skip-forge-system-check to stop doing this +0ms
electron-forge:async-ora Process Succeeded: Checking your system -- after 428ms +428ms
WARNING: DEBUG environment variable detected. Progress indicators will be sent over electron-forge:lifecycle
electron-forge:async-ora Process Started: Locating Application +0ms
electron-forge:project-resolver searching for project in: /Users/srg/Documents/Projects/screenhub/pl-temp +0ms
electron-forge:project-resolver electron-forge compatible package.json found in /Users/srg/Documents/Projects/screenhub/pl-temp/package.json +4ms
electron-forge:async-ora Process Succeeded: Locating Application -- after 6ms +6ms
electron-forge:require-search searching [
'@electron-forge/plugin-webpack',
'/Users/srg/Documents/Projects/screenhub/pl-temp/@electron-forge/plugin-webpack',
'/Users/srg/Documents/Projects/screenhub/pl-temp/node_modules/@electron-forge/plugin-webpack'
] relative to /Users/srg/Documents/Projects/screenhub/pl-temp +0ms
electron-forge:require-search testing @electron-forge/plugin-webpack +2ms
electron-forge:plugin:webpack hooking process events +0ms
electron-forge:async-ora Process Started: Preparing native dependencies +601ms
electron-forge:async-ora Process Succeeded: Preparing native dependencies -- after 641ms +641ms
electron-forge:plugins plugin: "webpack" has taken control of the start command +0ms
electron-forge:async-ora Process Started: Compiling Main Process Code +29ms
electron-forge:async-ora Process Succeeded: Compiling Main Process Code -- after 886ms +886ms
electron-forge:async-ora Process Started: Launch Dev Servers +0ms
electron-forge:async-ora Process Succeeded: Launch Dev Servers -- after 28ms +28ms
electron-forge:async-ora Process Started: Compiling Preload Scripts +0ms
electron-forge:async-ora Process Succeeded: Compiling Preload Scripts -- after 0ms +0ms
electron-forge:async-ora Process Started: Launching Application +2ms
electron-forge:async-ora Process Succeeded: Launching Application -- after 5ms +5ms
Webpack Output Available: http://localhost:9000
electron-forge:plugin:webpack hooking electron process exit +2s
webpack built 2299d1bcbe26c80ff1e0 in 1327ms
What command line arguments are you passing?
Put the arguments here
What does your config.forge data in package.json look like?
"config": {
"forge": {
"packagerConfig": {},
"makers": [
{
"name": "@electron-forge/maker-squirrel",
"config": {
"name": "player_next"
}
},
{
"name": "@electron-forge/maker-zip",
"platforms": [
"darwin"
]
},
{
"name": "@electron-forge/maker-deb",
"config": {}
},
{
"name": "@electron-forge/maker-rpm",
"config": {}
}
],
"plugins": [
[
"@electron-forge/plugin-webpack",
{
"mainConfig": "./webpack.main.config.js",
"renderer": {
"config": "./webpack.renderer.config.js",
"entryPoints": [
{
"html": "./src/index.html",
"js": "./src/renderer.tsx",
"name": "main_window"
}
]
}
}
]
]
}
},
Figured it out.
Figured it out.
dude, seriously? This is maybe the very worst thing an engineer can say about a bug.
HOW did you figure it out? What did you do wrong?
Most helpful comment
dude, seriously? This is maybe the very worst thing an engineer can say about a bug.
HOW did you figure it out? What did you do wrong?