Giter VIP home page Giter VIP logo

Comments (9)

daydarkln avatar daydarkln commented on June 8, 2024 1

Ok. Thank you a lot for your work.

from nestjs-console.

Rmannn avatar Rmannn commented on June 8, 2024

Please downgrade commander to 4.1.1

from nestjs-console.

daydarkln avatar daydarkln commented on June 8, 2024

Please downgrade commander to 4.1.1

What do you mean? There isn't such dependency

from nestjs-console.

Rmannn avatar Rmannn commented on June 8, 2024

There is a dependency. nestjs-console depends on commander package. It's a peer dependency.
I updated the Readme yesterday to point out the good version.

npm install [email protected]

Commander package moved to version 5.0.0. And this version is not compatible with this package. On this repo v5 branch is in progress and will be published to npm soon.

from nestjs-console.

daydarkln avatar daydarkln commented on June 8, 2024

Oh, I see. Thanks. But if someone doesn't want to install dep that never use directly? Maybe you replace it from devDep to dep?

from nestjs-console.

Rmannn avatar Rmannn commented on June 8, 2024

Other package like nestjs-cli that is widely used also depends on commander. As I want to be flexible, I allow you to use any version of your choice (minor or patch). This is the reason commander is a peer dependency and not a direct dependency.
I always keep this package up to date with major releases of commander. Except this time, I am late...

from nestjs-console.

Rmannn avatar Rmannn commented on June 8, 2024

Latest npm version 3.0.1 is now sync with commander v5.

from nestjs-console.

mtdewulf avatar mtdewulf commented on June 8, 2024

I ran into this bug just now with version 3.0.6. I had to manually install [email protected] to get things working. I think the commander package dependency needs to be promoted from dev dependency to full dependency?

from nestjs-console.

Rmannn avatar Rmannn commented on June 8, 2024

Commander is a peer dependency because it's also used by nestjs cli.
We won't force a version of nestjs framework, so we decide to let you choose which version to pick. That's why it's up to you to install commander.

from nestjs-console.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.