You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the latest lerna version is 8.0.0. Version installed in the repository is 6.6.2 - 2 versions behind. CONTRIBUTING.md instructions say you should install lerna globally. However, that will install 8.0.0 globally and running commands like lerna run build does not work:
Seems like there was some breaking change in lerna v7 or v8.
Using the locally installed version works:
Expected behavior
We should not rely on contributors installing lerna globally because we can not ensure which version they will install. Even if we update the readme to tell contributors to install some specific version globally, that might be in conflict with other project for which they might need to use a different version (and you can only install one version globally).
All tooling should be invoked via npm scripts and use locally installed versions of packages. Readme and contribution documents should reflect this.
Reproduction steps
Clone the project anew and follow CONTRIBUTING.md guidelines for project setup
The text was updated successfully, but these errors were encountered:
Used libraries
all
Library version(s)
all
Environments with the issue
Node 18
Current behavior
Currently, the latest lerna version is
8.0.0
. Version installed in the repository is6.6.2
- 2 versions behind.CONTRIBUTING.md
instructions say you should install lerna globally. However, that will install 8.0.0 globally and running commands likelerna run build
does not work:Seems like there was some breaking change in lerna v7 or v8.
Using the locally installed version works:
Expected behavior
We should not rely on contributors installing lerna globally because we can not ensure which version they will install. Even if we update the readme to tell contributors to install some specific version globally, that might be in conflict with other project for which they might need to use a different version (and you can only install one version globally).
All tooling should be invoked via npm scripts and use locally installed versions of packages. Readme and contribution documents should reflect this.
Reproduction steps
Clone the project anew and follow CONTRIBUTING.md guidelines for project setup
The text was updated successfully, but these errors were encountered: