question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`@electron-forge/cli@6.0.0-beta.25` installs sibling dependencies of latest tag `@6.0.0-beta.22` instead of the beta

See original GitHub issue
  • 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.

Using Yarn v1.7.0 I install 6.0.0-beta.25 @electron-forge/cli. Then initializing application.

$ yarn global add @electron-forge/cli@6.0.0-beta.25
$ electron-forge init project-name
√ Checking your system
√ Initializing Project Directory
√ Initializing Git Repository
√ Copying Starter Files
√ Initializing NPM Module
√ Installing NPM Dependencies

After all package.json has @electron-forge dependencies versioned after 6.0.0-beta.22:

{
  ...
  "devDependencies": {
    "@electron-forge/cli": "^6.0.0-beta.22",
    "@electron-forge/maker-deb": "^6.0.0-beta.22",
    "@electron-forge/maker-rpm": "^6.0.0-beta.22",
    "@electron-forge/maker-squirrel": "^6.0.0-beta.22",
    "@electron-forge/maker-zip": "^6.0.0-beta.22",
    "electron": "2.0.4"
  }
}

Not to say it’s pretty weird, but the beta package must utilize beta starter template, mustn’t it?

By the way, yeah, it’s only related to the beta stage (and it can still be an issue in future betas). Once v6 is released, I’ll be very happy to update my application. 😍

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
MarshallOfSoundcommented, Jul 13, 2018

I just don’t know the way to fetch it.

You can require the path to the core module’s package.json and read the version from it 👍

1reaction
MarshallOfSoundcommented, Jul 13, 2018

This just requires a change to our init logic to install beta deps, if the initializer is a beta

Read more comments on GitHub >

github_iconTop Results From Across the Web

electron-forge/cli@6.0.0-beta.25 installs sibling dependencies ...
@electron-forge/cli@6.0.0-beta.25 installs sibling dependencies of latest tag @6.0.0-beta.22 instead of the beta #534. Closed. 3 tasks done.
Read more >
@electron-forge/cli - npm
A complete tool for building modern Electron applications. Latest version: 6.0.4, last published: 8 days ago.
Read more >
@electron-forge/cli | Yarn - Package Manager
Electron Forge unifies the existing (and well maintained) build tools for Electron development into a simple, ... 6.0.0-beta.75 (2022-11-01). New Features.
Read more >
electron-forge/cli 6.0.0-beta.13 vulnerabilities - Snyk
Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities (in both your packages & their dependencies) and provides ...
Read more >
Issue with Electron Quick Start Guide - Stack Overflow
I ended up just installing electron-forge and then running import without npx . npm i -g @electron-forge/cli electron-forge --version 6.0.0-beta ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found