Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can no longer use lerna publish, fails with error #3049

Open
15770639358 opened this issue Dec 20, 2021 · 1 comment
Open

Can no longer use lerna publish, fails with error #3049

15770639358 opened this issue Dec 20, 2021 · 1 comment

Comments

@15770639358
Copy link

Expected Behavior

We can no longer publish packages when using lerna publish, it fails with error:

ERR! lerna bump must be an explicit version string _or_ one of: 'major', 'minor', 'patch', 'premajor', 'preminor', 'prepatch', 'prerelease', 'from-git', or 'from-package'.

Expected Behavior

Using this unchanged command:

lerna publish agile_components_libary 

I expect that packages are published

Current Behavior

I'm getting the formentioned error.

Steps to Reproduce (for bugs)

lerna.json

{
  "packages": [
    "packages/*"
  ],
  "version": "independent"
}

agile_components_libary/package.json

{
  "name": "agile_components_libary",
  "version": "1.0.8",
  "description": "> TODO: description",
  "author": "***",
  "homepage": "",
  "license": "ISC",
  "main": "lib/main.js",
  "publishConfig": {
    "registry": "http://***/repository/npm-host/"
  },
  "directories": {
    "lib": "lib",
    "components": "components"
  },
  "files": [
    "lib",
    "components"
  ],
  "scripts": {
    "test": "echo \"Error: run tests from root\" && exit 1"
  },
  "gitHead": "738c0ac32651b5fa6824d811faafd0572764363d"
}

Your Environment

Executable Version
lerna --version 4.0.0
npm --version 6.14.8
node --version v12.19.0
@ghiscoding
Copy link

seems to be an exact duplicate of #2315

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants