server-components-demo
server-components-demo copied to clipboard
Could not find webpack build output
I just follow the readme to run the demo, and encountered below
could anyone give any hints?
Does it eventually build?
Does it eventually build?
Nope. Perhaps I launch docker or postgres in a wrong way, will it cause this issue?
It's going to be hard to pinpoint why without more information. Could you share:
- What are the contents of the
buildfolder? - What is the output of
node -v?
yeah sure.
- I never see the build folder, cause the demo doesn't build successfully
- I use 14.15.3 version of node as you mentioned.
I got the same problem.
- node version: 14.9.0
- no docker, just clone the project and run
npm start
I tried npm run bundler:prod, but the webpack callback is not been called.
It seems some problem with react-server-dom-webpack/plugin . If remove the plugin from webpack config, the webpack callback can been called .
same problem. @chenjun1011
- node version: 14.9.0 follow the Github readme guide, but no build folder ~ . and show "Could not find webpack build output. Will retry in a second..."
In my case it builds successfully in host environment and fails in docker during node scripts/build.js on Segmentation fault. In both cases with node v18.17.1.