Followed the ElectronForge page and installed the Electron template using the following command:
When you run , an error message similar to the following appears in the command window:
I tried googling, but no one had the same error problem.Another project I made a week ago was working without any error messages, so I copied it and ran it, and it worked normally.
However, if you run the following command,
22 varnerabilities (3 moderate, 19 high) came out.
The error is
The npm audit fix or npm audit fix --force did not fix it.Therefore, we corrected this error by rewriting package.json and package-lock.json.Then delete the node_modules folder and perform npm install.
The first error occurred again when running .
There may be a problem with the electron-forge/plugin-webpack, but I've just started studying this field and I'm not sure if it's a plug-in configuration.
I would appreciate it if you could let me know.nodejs typescript webpack electron
I think it's the next issue (it seems to be a bug caused by a recent change):
The fix has not been published yet, we're aiming to get that out tomorrow PST
Therefore, I think the correction will be reflected after a while.
© 2023 OneMinuteCode. All rights reserved.