Skip to content
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

[Bug]: An error when trying to install electron-forge #41780

Closed
3 tasks done
Fyphen1223 opened this issue Apr 5, 2024 · 1 comment
Closed
3 tasks done

[Bug]: An error when trying to install electron-forge #41780

Fyphen1223 opened this issue Apr 5, 2024 · 1 comment
Labels

Comments

@Fyphen1223
Copy link

Fyphen1223 commented Apr 5, 2024

Preflight Checklist

Electron Version

29.2.0

What operating system are you using?

Windows

Operating System Version

Windows 11

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

When trying to run this command
npx electron-forge import
from the get started page, I got this error:

An unhandled rejection has occurred inside Forge:
Error: Failed to install modules: ["electron-squirrel-startup"]

With output: Command failed with a non-zero return code (1):
npm install electron-squirrel-startup --save

npm ERR! Cannot read properties of null (reading 'matches')

Some error text are reducted due to privacy, if you need this for debugging, I'll post it as soon as possible.

Actual Behavior

Should justr install the library that are necessary to compile the files.

Testcase Gist URL

No response

Additional Information

No response

@codebytere
Copy link
Member

Please open this issue on the forge repo

@codebytere codebytere closed this as not planned Won't fix, can't repro, duplicate, stale Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants