Skip to content
GitLab
    • Explore Projects Groups Snippets
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
An error occurred while fetching the assigned milestone of the selected merge_request.

pin and upgrade lerna version

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/viankakrisna/pinlerna into master 8 years ago
  • 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?

Compare
  • master (base)

and
  • latest version
    e1d50b48
    1 commit, 2 years ago

2 files
+ 4
- 4

    Preferences

    File browser
    Compare changes
lerna‎.json‎ +2 -2
packag‎e.json‎ +2 -2
lerna.json
+ 2
- 2
  • View file @ e1d50b48

  • Edit in single-file editor

  • Open in Web IDE


{
"lerna": "2.0.0-beta.37",
"lerna": "2.0.0-beta.38",
"version": "independent",
"changelog": {
"repo": "facebookincubator/create-react-app",
@@ -13,4 +13,4 @@
},
"cacheDir": ".changelog"
}
}
}
\ No newline at end of file
package.json
+ 2
- 2
  • View file @ e1d50b48

  • Edit in single-file editor

  • Open in Web IDE


@@ -18,7 +18,7 @@
"eslint-plugin-import": "2.0.1",
"eslint-plugin-jsx-a11y": "2.2.3",
"eslint-plugin-react": "6.4.1",
"lerna": "^2.0.0-beta.37",
"lerna": "2.0.0-beta.38",
"lerna-changelog": "^0.2.3"
}
}
}
\ No newline at end of file
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
1
1 participant
Administrator
Reference:
Source branch: github/fork/viankakrisna/pinlerna

Menu

Explore Projects Groups Snippets