Electron-forge: "electron-prebuilt-compile" not a range

Created on 13 Oct 2017  Â·  1Comment  Â·  Source: electron-userland/electron-forge

one:

λ celectron-forge start
√ Checking your system
× Locating Application

Electron forge was terminated:
You must depend on "electron-prebuilt-compile" in your devDependencies

two:

npm install --save-dev electron-prebuilt-compile
+ [email protected]

three:

λ electron-forge start
√ Checking your system
× Locating Application

Electron forge was terminated:
You must depend on an EXACT version of "electron-prebuilt-compile" not a range

What happened?

Most helpful comment

@Lizhooh Check your package.json file, you'll see something that looks like this.

"electron-prebuilt-compile": "^1.7.9"

That is a dependency on a semver range, you should change it to just "1.7.9" so that it depends on exactly that version

>All comments

@Lizhooh Check your package.json file, you'll see something that looks like this.

"electron-prebuilt-compile": "^1.7.9"

That is a dependency on a semver range, you should change it to just "1.7.9" so that it depends on exactly that version

Was this page helpful?
0 / 5 - 0 ratings