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
After we make the server package depends on lib/shared and lib/indexers.
The previous approach to make a clean production build not working for server anymore.
Previously, we do
1 yarn install at top-level, all dependencies will be hoisted in top-level
2 yarn build prod to bundle 'client' and we put client into server/public
3 we copy server folder out (drop the build environment of client), run yarn install in server to resolve dependencies
Now #3 won't work, because server's dependencies not fully copied out.
To Reproduce
$docker-compose build
Expected behavior
bundle server successfully
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
@hailiu2586 we've addressed this but I think you've taken a different approach. Our preference is that you would follow the same mechanisms of our docker bundle process. see #1461
Version
master
Describe the bug
After we make the server package depends on lib/shared and lib/indexers.
The previous approach to make a clean production build not working for server anymore.
related to #1440
Previously, we do
1 yarn install at top-level, all dependencies will be hoisted in top-level
2 yarn build prod to bundle 'client' and we put client into server/public
3 we copy server folder out (drop the build environment of client), run yarn install in server to resolve dependencies
Now #3 won't work, because server's dependencies not fully copied out.
To Reproduce
$docker-compose build
Expected behavior
bundle server successfully
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: