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
Hi, I’m trying to migrate an existing NestJS application into an Nx monorepo setup.
I’ve already set up a new Nx workspace using npx create-nx-workspace, and then tried moving my existing NestJS app into the apps/ directory. However, I’m having issues where the apps (and libs) are not connecting or recognizing each other properly — for example, import paths or shared modules aren’t resolving as expected.
Here’s what I’m looking for:
• Best practices for migrating an existing standalone NestJS app to Nx
• A reference or guide I can follow for the correct project structure
• Possible reasons why apps might not be linked correctly (e.g., project.json, tsconfig.base.json, or dependency issues)
If anyone has experience with this or can share tips, I’d really appreciate it!
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.
-
Hi, I’m trying to migrate an existing NestJS application into an Nx monorepo setup.
I’ve already set up a new Nx workspace using npx create-nx-workspace, and then tried moving my existing NestJS app into the apps/ directory. However, I’m having issues where the apps (and libs) are not connecting or recognizing each other properly — for example, import paths or shared modules aren’t resolving as expected.
Here’s what I’m looking for:
• Best practices for migrating an existing standalone NestJS app to Nx
• A reference or guide I can follow for the correct project structure
• Possible reasons why apps might not be linked correctly (e.g., project.json, tsconfig.base.json, or dependency issues)
If anyone has experience with this or can share tips, I’d really appreciate it!
Thanks in advance 🙏
Beta Was this translation helpful? Give feedback.
All reactions