server-components-demo icon indicating copy to clipboard operation
server-components-demo copied to clipboard

Could not find webpack build output

Open Marckon opened this issue 4 years ago • 7 comments

I just follow the readme to run the demo, and encountered below image could anyone give any hints?

Marckon avatar Dec 25 '20 04:12 Marckon

Does it eventually build?

poteto avatar Dec 25 '20 04:12 poteto

Does it eventually build?

Nope. Perhaps I launch docker or postgres in a wrong way, will it cause this issue?

Marckon avatar Dec 25 '20 04:12 Marckon

It's going to be hard to pinpoint why without more information. Could you share:

  • What are the contents of the build folder?
  • What is the output of node -v?

poteto avatar Dec 25 '20 19:12 poteto

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.

Marckon avatar Dec 27 '20 09:12 Marckon

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 .

chenjun1011 avatar Feb 04 '21 02:02 chenjun1011

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..."

lvze1992 avatar May 11 '21 07:05 lvze1992

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.

brablc avatar Sep 07 '23 15:09 brablc