Cannot resolve dependencies for @nestjs/swagger

Viewed 290

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/swagger@6.0.3

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

1 Answers

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

Related