An unhandled rejection has occurred inside Forge: Error: Could not find module with name: @electron-forge/maker-squirrel. Make sure it's listed in the devDependencies of your package.json
- Dominant language
- TypeScript
- Stars
- 7.1k
- Forks
- 641
- Avg merge
- 3d 17m
- Merged PRs (30d)
- 32
Description
### Pre-flight checklist
- [X] I have read the [contribution documentation](https://github.com/electron-userland/electron-forge/blob/master/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [code of conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project uses.
- [X] I have searched the issue tracker for a bug that matches the one I want to file, without success.
### Electron Forge version
6.0.0-beta.61
### Electron version
16.0.5
### Operating system
Windows 10 (1803)
### Last known working Electron Forge version
6.0.0-beta.61
### Expected behavior
It would be packaged perfectly
### Actual behavior


After I installed electron and forge, I wanted to package after completing the instructions in the above figure, but I always got the above error:
An unhandled rejection has occurred inside Forge:
Error: Could not find module with name: @electron-forge/maker-squirrel. Make sure it's listed in the devDependencies of your package.json
Electron Forge was terminated. Location:
{}
But my package.json file shows that there is installation, as shown in another picture
### Steps to reproduce
I have tried this step many times, but I always report this error in the npm run make step.
### Additional information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.