-
-
Notifications
You must be signed in to change notification settings - Fork 541
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
Error: Cannot find module '@electron-forge/plugin-fuses' when npm run make
after importing manually created project
#3509
Comments
I also encountered the same error. I solved mine by additionally running the following command:
The forge/packages/api/core/src/api/init-scripts/init-npm.ts Lines 18 to 25 in 1aa94fc
|
|
+1 on this. Came here to report this issue |
+1. Faced the same problem. After installing @electron-forge/plugin-fuses in devDependencies "npm run make" works without errors: npm install @electron-forge/plugin-fuses --save-dev |
+1 same problem, same solution |
Yes, baby ! |
This worked out for me! Thx |
Thanks for this solution |
Thanks for the solution. Worked for me. |
+1, used solutions available and it worked for me. |
Im still having this issue, when i run the command suggested above no files are added to my package.json, just the folder for electron forge
I even tried switching over to yarn instead of NPM but running into other issues where if I install this dependency when it's missing, it removes other dependencies that are required when installing this one, please help |
Pre-flight checklist
Electron Forge version
7.3.0
Electron version
v29.0.1
Operating system
macOS 13.6.1
Last known working Electron Forge version
No response
Expected behavior
No missing required modules after import, and work normally
Actual behavior
Error: Cannot find module '@electron-forge/plugin-fuses', make failed
Steps to reproduce
devDependencies
only haveelectron
inpackage.json
Additional information
package.json:
forge.config.js:
The text was updated successfully, but these errors were encountered: