Skip to content

An unhandled error has occurred inside Forge #373

Description

@filjoseph1989
  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project follows, as appropriate.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.

Please describe your issue:
I installed electron-forge using npm install -g electron-forge, but when I run this electron-forge init rand I got the following in the log.

Console output when you run electron-forge with the environment variable DEBUG=electron-forge:*. (Instructions on how to do so here). Please include the stack trace if one exists.

An unhandled error has occurred inside Forge:
Failed to install modules: ["eslint@^3","eslint-config-airbnb@^15","eslint-plugin-import@^2","eslint-plugin-jsx-a11y@^5","eslint-plugin-react@^7"]

With output: Exited with status 4294963248
Error: Failed to install modules: ["eslint@^3","eslint-config-airbnb@^15","eslint-plugin-import@^2","eslint-plugin-jsx-a11y@^5","eslint-plugin-react@^7"]

With output: Exited with status 4294963248
    at C:\Users\User\AppData\Roaming\npm\node_modules\electron-forge\dist\util\install-dependencies.js:55:13
    at Generator.throw (<anonymous>)
    at Generator.tryCatcher (C:\Users\User\AppData\Roaming\npm\node_modules\electron-forge\node_modules\bluebird\js\release\util.js:16:23)
    at PromiseSpawn._promiseRejected (C:\Users\User\AppData\Roaming\npm\node_modules\electron-forge\node_modules\bluebird\js\release\generators.js:107:10)
    at Promise._settlePromise (C:\Users\User\AppData\Roaming\npm\node_modules\electron-forge\node_modules\bluebird\js\release\promise.js:576:26)
    at Promise._settlePromise0 (C:\Users\User\AppData\Roaming\npm\node_modules\electron-forge\node_modules\bluebird\js\release\promise.js:614:10)
    at Promise._settlePromises (C:\Users\User\AppData\Roaming\npm\node_modules\electron-forge\node_modules\bluebird\js\release\promise.js:689:18)
    at Async._drainQueue (C:\Users\User\AppData\Roaming\npm\node_modules\electron-forge\node_modules\bluebird\js\release\async.js:133:16)
    at Async._drainQueues (C:\Users\User\AppData\Roaming\npm\node_modules\electron-forge\node_modules\bluebird\js\release\async.js:143:10)
    at Immediate.Async.drainQueues (C:\Users\User\AppData\Roaming\npm\node_modules\electron-forge\node_modules\bluebird\js\release\async.js:17:14)
    at runCallback (timers.js:789:20)
    at tryOnImmediate (timers.js:751:5)
    at processImmediate [as _immediateCallback] (timers.js:722:5)
**What command line arguments are you passing?**
electron-forge init rand

What does your config.forge data in package.json look like?
I just let the command create that for me

Please provide either a failing minimal testcase (with a link to the code) or detailed steps to
reproduce your problem. Using electron-forge init is a good starting point, if that is not the
source of your problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions