Yuvals
Yuvals

Reputation: 3266

Cannot resolve dependencies for @nestjs/swagger

I am trying to install @nestjs/swagger using npm i @nestjs/swagger as per documentation.

I get the following error:

npm ERR! Could not resolve dependency:
npm ERR! peer @nestjs/common@"^9.0.0" from @nestjs/[email protected]

Any idea what is the issue?I can see that the package was last published a few hours ago, not sure if related.

Upvotes: 4

Views: 1519

Answers (1)

Yuvals
Yuvals

Reputation: 3266

npm-check-updates "/nestjs*/" -u and nest update solved this

Upvotes: 4

Related Questions