You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've observed a issue with NestJS applications in an Nx workspace using TypeScript Workspaces. NestJS manages dependencies through its own module system, utilizing the imports and exports arrays within the @Module decorator. When a module is imported into another module's imports array and then re-exported, the consuming module may fail to recognize this dependency.
This occurs because Nx's static analysis doesn't detect dependencies managed internally by NestJS's Dependency Injection system. Consequently, the build process fails, as the workspace doesn't acknowledge the module as a known dependency.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've observed a issue with
NestJS
applications in anNx workspace
using TypeScript Workspaces.NestJS
manages dependencies through its own module system, utilizing theimports
andexports
arrays within the@Module
decorator. When a module is imported into another module's imports array and then re-exported, the consuming module may fail to recognize this dependency.This occurs because
Nx's
static analysis doesn't detect dependencies managed internally byNestJS's
Dependency Injection system. Consequently, the build process fails, as the workspace doesn't acknowledge the module as a known dependency.Beta Was this translation helpful? Give feedback.
All reactions