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
This issue is almost a duplicate of #2114, I can't figure out why this should be address in Discord since it is a real bug and we are facing exactly the same issue in a pnpm workspace.
I can get it working by performing this manual change on dist:
Open apps/nest/dist/src/app.controller.js
Change require("../../../packages/math-helpers/dist/index").Me to require("../../../../packages/math-helpers/dist/index").Me
Is there an existing issue for this?
Current behavior
This issue is almost a duplicate of #2114, I can't figure out why this should be address in Discord since it is a real bug and we are facing exactly the same issue in a pnpm workspace.
I can get it working by performing this manual change on dist:
apps/nest/dist/src/app.controller.js
require("../../../packages/math-helpers/dist/index").Me
torequire("../../../../packages/math-helpers/dist/index").Me
Possible related issues:
#1386
#501
Minimum reproduction code
https://github.com/bindermuehle/monorepo-issue
Steps to reproduce
npm i
npm run start:dev -w nest
Expected behavior
nest/swagger should correctly resolve the paths
Package version
7.1.10
NestJS version
9.0.0
Node.js version
20.9.0
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: