question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

meow validateFlags Error: Flag keys may not contain '-': same-file xxx

See original GitHub issue

os: macOS 11.1 node: v12.13.1 npm: v6.12.1

start

  1. Install according to the documentation
npm install -g conventional-changelog-cli
  1. Execute the command
cd project
conventional-changelog -p angular -i CHANGELOG.md -s

error logs

截屏2021-01-07 17 38 39

So, following the message prompt, I located the latest ban b that was referencing the library meow

v8.1.1 update function validateFlags, add judgment condition flagKey !== '-', This will conflict with flags of conventional-changelog-cli

conventional-changelog-cli/cli.js image

temporary solution

yarn add meow@8.0.0

I hope to fix the problem soon

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:3
  • Comments:7

github_iconTop GitHub Comments

1reaction
nimrodolevcommented, Jan 7, 2021

Should now be resolved following the release of meow 8.1.2 which reverted the breaking changes. I suggest either fixing the meow configuration so it passes validation (as it seems the current configuration format was never officialy supported), or at least pinning the dependency versions to avoid these issues in the future.

0reactions
GusLANcommented, Jan 11, 2021

Same error, our CI pipeline is broken.

Read more comments on GitHub >

github_iconTop Results From Across the Web

conventional-changelog - Bountysource
It would be nice for the git-latest-semver-tag library to have a helper that ... meow validateFlags Error: Flag keys may not contain '-':...
Read more >
2021年07月_weixin_39562554的博客
附录:英文资料及翻译Computer-Aided Design CADA CAD system is basically a design tool in which the computer is used to analyze various aspects ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found