facebook / create-react-app

Set up a modern web app by running one command.
https://create-react-app.dev
MIT License
102.79k stars 26.87k forks source link

sockjs-node/info request in production #10889

Open twigs67 opened 3 years ago

twigs67 commented 3 years ago

Hello,

I'm running a create-react-app in production, but running 'yarn build' and in production I'm seeing the following request being made over and over (10 times then stops): http://localhost:3000/sockjs-node/info?. I'm not sure how to stop this or if this is a bug or what, but I have not ejected the app.

Any help would be appreciate.

Thanks

XieAn2016 commented 2 years ago

entry: isEnvDevelopment ? { index: [ require.resolve('react-dev-utils/webpackHotDevClient'), require.resolve('react-error-overlay'), paths.appIndexJs, ] }: { index: [ paths.appIndexJs, ] },

like this, try again

pavinduLakshan commented 2 years ago

We just were able to fix a similar issue today. Please see https://stackoverflow.com/a/73157019/8810941 for the detailed information.