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

Missing Electron packages #586

Open
stweyel opened this issue Mar 6, 2021 · 1 comment
Open

Missing Electron packages #586

stweyel opened this issue Mar 6, 2021 · 1 comment

Comments

@stweyel
Copy link
Contributor

stweyel commented Mar 6, 2021

After successful npm install i get some errors when trying to npm start:

An unhandled rejection has occurred inside Forge:
Error: Could not find any Electron packages in devDependencies
    at getElectronModuleName (/xxx/Account-Manager/node_modules/@electron-forge/core/src/util/electron-version.ts:56:11)
    at getElectronVersion (/xxx/Account-Manager/node_modules/@electron-forge/core/src/util/electron-version.ts:92:23)
    at _default (/xxx/Account-Manager/node_modules/@electron-forge/core/src/api/package.ts:186:28)
    at /xxx/Account-Manager/node_modules/@electron-forge/cli/src/electron-forge-package.ts:30:3

Electron Forge was terminated. Location:
{}

Specs: MacOS 10.12.6, Node 14.15.5, [email protected]

@angle943
Copy link
Contributor

angle943 commented Mar 6, 2021

@stweyel hmm thats strange. I have the same Node version and the app version. My Mac OS is 11.2.1, but I don't think thats the issue.

Try deleting your node_modules directly, and doing npm install && npm start again?

Has anyone else been encountering this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants