Turborepo internal package passes "build" but can't run in "dev"
Unanswered
Satin Angora posted this in #help-forum
Satin AngoraOP
I have a monorepo with turborepo with some apps and some packages. Up until now I had not tried to pack my internal packages and simply built the apps.
Recently I tried packing one of the packages in order to publish it to a private registry and use it somewhere outside of the turborepo hierarchy. I followed the docs(https://turbo.build/repo/docs/guides/publishing-libraries) using tsup , it seems like the package builds properly and the apps also work fine when running after build.
When I try to run the apps in "dev" I get errors such as "module not found" for simple node packages in the app dependencies like "fs" "net", etc.
I'd appreciate any help/direction. I'm not even sure what to debug.
Recently I tried packing one of the packages in order to publish it to a private registry and use it somewhere outside of the turborepo hierarchy. I followed the docs(https://turbo.build/repo/docs/guides/publishing-libraries) using tsup , it seems like the package builds properly and the apps also work fine when running after build.
When I try to run the apps in "dev" I get errors such as "module not found" for simple node packages in the app dependencies like "fs" "net", etc.
I'd appreciate any help/direction. I'm not even sure what to debug.