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.

[BUG] Version passed to cli ignored

See original GitHub issue

Hi, I’m on a php project, and want to give the version manually.

$ gitmoji-changelog 1.2.0                                                                                                                                      Projects/laravel-json-syncer master
▶  start     gitmoji-changelog v2.1.0
ℹ  info      update ./CHANGELOG.md
ℹ  info      No custom configuration found
ℹ  info      use preset node
✖  error     Error: Cannot retrieve the version from your configuration. Check it or you can do "gitmoji-changelog <wanted version>". 
    at main (/Users/mathieutu/Projects/laravel-json-syncer/node_modules/gitmoji-changelog/src/cli.js:63:13)

you can do “gitmoji-changelog <wanted version>”

Actually this is exactly what I’m doing.

It’s working on v1.

Thanks.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
chengcybercommented, Oct 9, 2020

@frinyvonnick That might be a package version resolution issue. In my project, jest is installed first, and it depends on read-pkg-up@7.0.1, since it installed before gitmoji-changelog. so the read-pkg-up in top-level is read-pkg-up@7.0.1

the dep tree kind of like this:

├─ @gitmoji-changelog/core@2.1.0
│  └─ read-pkg-up@4.0.0
├─ jest-resolve@26.1.0
│  └─ read-pkg-up@7.0.1
└─ read-pkg-up@7.0.1
1reaction
mathieutucommented, Sep 23, 2020

Actually this seems to be a totally different issue, and will be fixed after #190 merged.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[BUG] CLI values ignored by Helm #27376 - rancher ... - GitHub
What kind of request is this: BUG After upgrading from Rancher CLI v2.2.0 to Rancher CLI v2.4.3, our apps that use a values.yaml...
Read more >
Kernel command line argument "console=" is completely ignored ...
Migrated from https://crbug.com/1135157. Since upstream commit 48021f981308 ("printk: handle blank console arguments passed in."), a kernel command line ...
Read more >
P: CMake Warning: Ignoring extra path from command line ...
Bug : CMake Warning: Ignoring extra path from command line is displayed when it shouldn't. Minimal steps to reproduce the issue:.
Read more >
CLI Reference - Turborepo
Ignore the local filesystem cache for all tasks. Only allow reading and caching artifacts using the remote cache. turbo run build --remote-only.
Read more >
Docker Compose release notes
Pinned Kubernetes dependencies to the same version as in buildx. Passed the interactive flag from the Compose CLI to the Docker one to...
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