jaredpalmer / razzle

✨ Create server-rendered universal JavaScript applications with no configuration
https://razzlejs.org
MIT License
11.11k stars 867 forks source link

!!! Script exited with code 1 when restart #1723

Open jlramosr opened 3 years ago

jlramosr commented 3 years ago

Hello! Since I use version 4 of razzle, when I restart the server, I always obtain the message !!! Script exited with code 1. When I restart again, everything works fine again. But always I have to restart twice.

This is the complete sequence:

...
sswp> Update applied.

rs
sswp> !!! Script exited with code 1
rs
[ I18NextHMR ] Server HMR has started
✅ Server-side HMR Enabled!
sswp> Handling Hot Module Reloading
🚀 HTTP Server ready on environment 'development' at http://localhost:3000

Versions used:

fivethreeo commented 3 years ago

Is this on windows?

https://github.com/jaredpalmer/razzle/blob/master/packages/razzle-start-server-webpack-plugin/src/StartServerPlugin.js#L129

jlramosr commented 3 years ago

Yes, is in windows! Sorry, I forgot to say it.