-
-
Couldn't load subscription status.
- Fork 8.1k
Closed
Closed
Copy link
Labels
Description
Did you read the migration guide?
- I have read the whole migration guide
Is there an existing issue that is already proposing this?
- I have searched the existing issues
Potential Commit/PR that introduced the regression
No response
NestJS version
11.0.7 -> 11.0.8
Describe the regression
No changes in my code that compiled successfully prior to updating nestjs to 11.0.8.
Full stack trace:
C:\data\projects\nx\github\node_modules\express\lib\application.js:131
throw new Error('\'app.router\' is deprecated!\nPlease see the 3.x to 4.x migration guide for details on how to update your app.');
^
Error: 'app.router' is deprecated!
Please see the 3.x to 4.x migration guide for details on how to update your app.
at Function.get (C:\data\projects\nx\github\node_modules\express\lib\application.js:131:13)
at ExpressAdapter.isMiddlewareApplied (C:\data\projects\nx\github\node_modules\@nestjs\platform-express\adapters\express-adapter.js:332:19)
at C:\data\projects\nx\github\node_modules\@nestjs\platform-express\adapters\express-adapter.js:192:37
at Array.filter (<anonymous>)
at ExpressAdapter.registerParserMiddleware (C:\data\projects\nx\github\node_modules\@nestjs\platform-express\adapters\express-adapter.js:192:14)
at NestApplication.registerParserMiddleware (C:\data\projects\nx\github\node_modules\@nestjs\core\nest-application.js:110:26)
at NestApplication.init (C:\data\projects\nx\github\node_modules\@nestjs\core\nest-application.js:97:31)
at NestApplication.listen (C:\data\projects\nx\github\node_modules\@nestjs\core\nest-application.js:170:13)
at bootstrap (C:\data\projects\nx\github\dist\apps\api\main.js:1541:5)
Minimum reproduction code
No response
Input code
Expected behavior
Sucessful compilation
Other
No response
MVitelli