Comments (9)
Ok. Thank you a lot for your work.
from nestjs-console.
Please downgrade commander to 4.1.1
from nestjs-console.
Please downgrade commander to 4.1.1
What do you mean? There isn't such dependency
from nestjs-console.
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.
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.
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.
Latest npm version 3.0.1 is now sync with commander v5.
from nestjs-console.
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.
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)
- Examples doesn't work? HOT 2
- Documentation update for using opts HOT 5
- Support in nest v8 HOT 3
- _actionResults is undefined HOT 1
- Unable to add a global option HOT 2
- Unable to register commands in nestjs-console HOT 4
- CLI will _always_ throw an error even with empty promise handler HOT 3
- Can't read CLI options to configure the database HOT 3
- TypeError: parent.addCommand is not a function HOT 5
- Task Not Exiting HOT 2
- Support nestjs@9 HOT 2
- use enableShutdownHooks with nest-console
- ERROR [ExceptionHandler] undefined HOT 1
- Process.env issue HOT 3
- How to pass array of strings? HOT 1
- Example is slow? HOT 2
- Support for NestJs v10 HOT 2
- Module '"nestjs-console"' has no exported member 'createSpinner'. HOT 5
- What does this project do differently compared to nest-commander ? HOT 2
- Unknown createSpinner mention in wiki
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nestjs-console.