Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Merge requests
  • !1688

pin and upgrade lerna version

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/viankakrisna/pinlerna into master Mar 01, 2017
  • Overview 14
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: viankakrisna

Lerna just released a new version here https://github.com/lerna/lerna/releases/tag/v2.0.0-beta.38 But I encountered this error after deleting yarn.lock and node_modules and tried to install again.

yarn
yarn install v0.21.3
info No lockfile found.
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 📃  Building fresh packages...
success Saved lockfile.
$ lerna bootstrap
Lerna v2.0.0-beta.38
Independent Versioning Mode
Lerna version mismatch: The current version of lerna is 2.0.0-beta.38, but the Lerna version in `lerna.json` is 2.0.0-beta.37. You can either run `lerna init` again or install `lerna@2.0.0-beta.37`.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

I don't know if we should upgrade to 2.0.0-beta.38 or just stay with 2.0.0-beta.37 in lerna.json?

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/viankakrisna/pinlerna