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

Unknown option: 'xxxx:commitizen_path' with pnpm #249

Open
gyhyfj opened this issue Dec 9, 2022 · 8 comments
Open

Unknown option: 'xxxx:commitizen_path' with pnpm #249

gyhyfj opened this issue Dec 9, 2022 · 8 comments

Comments

@gyhyfj
Copy link

gyhyfj commented Dec 9, 2022

if my package.json includes such config field:

"config": {
    "commitizen": {
      "path": "./node_modules/cz-customizable"
    }
  }

If I run npm-run-all script with pnpm ,
It would print Unknown option: 'xxxx:commitizen_path' in terminal, and exit with code 1.

@gyhyfj gyhyfj changed the title Unknown option: 'xxxx:commitizen_path' with pnp, Unknown option: 'xxxx:commitizen_path' with pnpm Dec 9, 2022
@7086cmd
Copy link

7086cmd commented Dec 16, 2022

Same problem.
image
image

@AC-0308
Copy link

AC-0308 commented Jan 31, 2023

same problem

@jayyoonn
Copy link

jayyoonn commented Feb 5, 2023

me too

@ap-1
Copy link

ap-1 commented Feb 6, 2023

You can use concurrently as a replacement until this gets fixed

@llemllen
Copy link

same problem

@llemllen
Copy link

When i remove name from package.json, it work

@llemllen
Copy link

node高版本也会有,传递参数启动时候异常

error code

wei-zone added a commit to wei-zone/vue3-quick-start that referenced this issue Jul 10, 2023
解决 build 报错,Unknown option: 'xxxx:commitizen_path' with pnpm

对应issue:mysticatea/npm-run-all#249 (comment)
@shijistar
Copy link

Remove the config section from package.json, and create .czrc file instead then move config into it.

{
  "path": "cz-conventional-changelog"
}

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

7 participants