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.

Module is broken with @nestjs/common@7.6.0

See original GitHub issue

I’m submitting a Bug report

Current behavior

After upgrading @nestjs/common to v7.6.0, swagger module doesn’t work anymore. The problem is that in common package function validatePath was removed - https://github.com/nestjs/nest/commit/bead1f4a57c9ad1b8dd28ce620a05b3d4d518453#diff-a963f02276dde5355d25ee914a9e9f914b96f28b56f47806db68499fb1a2961eL8

on which Swagger module is relied on.

Environment

Nest version: 7.6.0 Nest Swagger: 4.7.5

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
kamilmysliwieccommented, Dec 10, 2020

Fixed in @nestjs/common@7.6.1

0reactions
pietrovismaracommented, Dec 10, 2020

@vtrphan Downgrade your @nestjs dependencies to version ~7.5.5, except @nestjs/swagger which I have at version ~4.7.5

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrading to version 8.0.4 breaks dependency injection using ...
When doing the migration from NestJs v7.6.15 to v8.0.4 the module forward reference breaks. Current behavior. I have two modules and am using ......
Read more >
Migration guide - FAQ - A progressive Node.js framework
Migration guide. This article provides a set of guidelines for migrating from Nest version 8 to version 9. To learn more about the...
Read more >
npm ERESOLVE unable to resolve dependency tree NestJs ...
this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ...
Read more >
Announcing NestJS 7: What's New - Trilon Consulting
Today I am excited to announce the official release of Nest 7: A progressive Node.js framework for building efficient and enterprise-grade, ...
Read more >
@nestjs/terminus | Yarn - Package Manager
Bug Fixes · deps: update dependency @grpc/proto-loader to v0.6.0 (e00f738) · deps: update dependency @nestjs/mongoose to v7.2.4 (1d0d26e) · deps: update dependency ...
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