-
-
Notifications
You must be signed in to change notification settings - Fork 609
Closed
Labels
blocked/upstreamIssues blocked by upstream bugsIssues blocked by upstream bugs
Description
- 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'm getting Failed to install modules: ["electron-prebuilt-compile@2.0.8"] when attempting to import a pretty bare-bone electron project. electron-prebuilt-compile@2.0.8 does not exist yet, 2.0.7 is the latest version.
Console output when you run electron-forge with the environment variable DEBUG=electron-forge:*:
npx electron-forge import .
✔ Checking your system
? WARNING: We will now attempt to import: "/home/andreas/git/net-worth/store/ele
ctron". This will involve modifying some files, are you sure you want to contin
ue? Yes
✔ Initializing Git Repository
? Do you want us to change the "main" attribute of your package.json? If you ar
e currently using babel and pointing to a "build" directory say yes. No
? Do you want us to remove the "electron-packager" dependency in package.json? E
lectron Forge already uses this module as a transitive dependency. Yes
? Do you want us to update the "start" script to instead call the electron-forge
task "electron-forge start" Yes
? Do you want us to update the "package" script to instead call the electron-for
ge task "electron-forge package" Yes
? Do you want us to update the "make" script to instead call the electron-forge
task "electron-forge make" Yes
✔ Writing modified package.json file
✔ Pruning deleted modules
✖ Installing dependencies
An unhandled error has occurred inside Forge:
Failed to install modules: ["electron-prebuilt-compile@2.0.8"]
With output: Exited with status 1
Error: Failed to install modules: ["electron-prebuilt-compile@2.0.8"]
With output: Exited with status 1
at /home/andreas/.npm/_npx/25202/lib/node_modules/electron-forge/dist/util/install-dependencies.js:55:13
at Generator.throw (<anonymous>)
at Generator.tryCatcher (/home/andreas/.npm/_npx/25202/lib/node_modules/electron-forge/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseRejected (/home/andreas/.npm/_npx/25202/lib/node_modules/electron-forge/node_modules/bluebird/js/release/generators.js:107:10)
at Promise._settlePromise (/home/andreas/.npm/_npx/25202/lib/node_modules/electron-forge/node_modules/bluebird/js/release/promise.js:576:26)
at Promise._settlePromise0 (/home/andreas/.npm/_npx/25202/lib/node_modules/electron-forge/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/home/andreas/.npm/_npx/25202/lib/node_modules/electron-forge/node_modules/bluebird/js/release/promise.js:689:18)
at Async._drainQueue (/home/andreas/.npm/_npx/25202/lib/node_modules/electron-forge/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/home/andreas/.npm/_npx/25202/lib/node_modules/electron-forge/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues (/home/andreas/.npm/_npx/25202/lib/node_modules/electron-forge/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
What command line arguments are you passing?
npx electron-forge import .
What does your config.forge data in package.json look like?
N/A
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.
https://github.com/andreashuber69/net-worth/tree/master/store/electron
Metadata
Metadata
Assignees
Labels
blocked/upstreamIssues blocked by upstream bugsIssues blocked by upstream bugs