App's package dependencies in node_modules are empty - Dockerfile #4173
-
|
Hello, i have followed the with-docker example to the letter. The only problem I've had so far is in these lines: Here we copy json folder of pruned version of turborepo which contains only the package.json files of each app and it's package/lib dependencies (e.x. tsconfig) which include only package.json files as well. The problem is every time i install and then exec the container with bash, i can see that /app/apps/my-app/node_modules/my-package has just the package.json. It doesn't have the built files because the package is empty in the first place. I am very confused as to why a yarn install with empty dependencies would work anyway. Then the example does this: Now we have something like this: So my question is how exactly is this supposed to work? Am i missing something? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
I think i managed to fix it. See issue |
Beta Was this translation helpful? Give feedback.
I think i managed to fix it. See issue