Electron-vue: Yarn install electron beta

Created on 13 Sep 2017  路  2Comments  路  Source: SimulatedGREG/electron-vue

Found an issue or bug with electron-vue? Tell me all about it!

When I use yarn command, it get the beta version from electron, not the latest stable. Is this a bug with this package, or electron? How to solve this?

Tell me about your development environment.
  • Node version: 8.4.0
  • NPM version: 5.4.0
  • Operating System: Windows 10
dep-issue

Most helpful comment

@marceloavf

Looks like yarn made a change to how dependency ranges are installed. This isn't really a bug, but just a slightly unexpected behavior or opinion. Will be pushing a fix, but you can get back to a stable install with yarn remove electron && yarn add electron@latest --dev.

When using the carrot range, yarn will install the highest version within the range, ignoring any dist tags related to betas, RCs, etc.

Related: https://github.com/yarnpkg/yarn/issues/1690

All 2 comments

@marceloavf

Looks like yarn made a change to how dependency ranges are installed. This isn't really a bug, but just a slightly unexpected behavior or opinion. Will be pushing a fix, but you can get back to a stable install with yarn remove electron && yarn add electron@latest --dev.

When using the carrot range, yarn will install the highest version within the range, ignoring any dist tags related to betas, RCs, etc.

Related: https://github.com/yarnpkg/yarn/issues/1690

Seems that this issue has solved itself. Might have been related to the removed beta versions that shipped with the Chrome security vulnerability.

Make sure to update yarn, version ^1.0.0 is now out.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexiej picture alexiej  路  3Comments

blackw212 picture blackw212  路  3Comments

Quadriphobs1 picture Quadriphobs1  路  3Comments

michalzaq12 picture michalzaq12  路  3Comments

okwangyu picture okwangyu  路  3Comments