`@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:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can
require
the path to thecore
module’s package.json and read the version from it 👍This just requires a change to our init logic to install beta deps, if the initializer is a beta