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 have a turborepo mono repo starter, and it was working correctly all along. All of the sudden the build step started failing.
If I try to start the app with start:watch: yarn clean && nest start --watch on the apps/backend it doesn't correctly build on the dist folder and it fails to start:
yarn run v1.22.19
$ yarn clean && nest start --watch
$ shx rm -rf dist
✔ Console Ninja extension is connected to Webpack, see https://tinyurl.com/2vt8jxzw
[5:12:24 pm] Starting compilation in watch mode...
[5:12:27 pm] Found 0 errors. Watching for file changes.
Error: Cannot find module '/Users/astritzeqiri/Sites/localhost/povio/princeton-hcl/opendelli-courier-backend-v2/apps/backend/dist/main'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
at Function.Module._load (node:internal/modules/cjs/loader:920:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47
The dist folder structure under the backend app used to be:
I have a turborepo mono repo starter, and it was working correctly all along. All of the sudden the build step started failing.
If I try to start the app with
start:watch: yarn clean && nest start --watch
on theapps/backend
it doesn't correctly build on the dist folder and it fails to start:The dist folder structure under the backend app used to be:
Now when its built it has change to only:
Has anyone had this issue?
The text was updated successfully, but these errors were encountered: