forge icon indicating copy to clipboard operation
forge copied to clipboard

Error => Could not find module with name '@electron-forge/maker-squirrel'

Open tripower opened this issue 2 years ago • 3 comments

Pre-flight checklist

  • [X] I have read the contribution documentation for this project.
  • [X] I agree to follow the code of conduct 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

7.2.0

Electron version

18.3.15

Operating system

Windows 10

Last known working Electron Forge version

No response

Expected behavior

"npm run make" should run without errors

Actual behavior

Error with lastest version and after some research since v6.0.0-beta.55 => Could not find module with name '@electron-forge/maker-squirrel'

with Version v6.0.0-beta.33 => maker.ensureExternalBinariesExist is not a function with Version v6.0.0-beta.54 => maker.clone is not a function

Steps to reproduce

must be a problem of my "code" or PC because other people seems not to have that problem

Additional information

which change in the code between beta54 and beta55 could be responsible for the "could not find module" problem??

tripower avatar Jan 18 '24 14:01 tripower

Can you share your package.json and forge.config?

erikian avatar Jan 25 '24 01:01 erikian

files.zip @erikian here the 2 files and I only added the dependency for pdf viewer the rest is original from the electron example app and the forge commands ...

tripower avatar Jan 25 '24 12:01 tripower