razzle icon indicating copy to clipboard operation
razzle copied to clipboard

!!! Script exited with code 1 when restart

Open jlramosr opened this issue 4 years ago • 2 comments

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:

  • "node": "12.13.0",
  • "npm": "6.14.8",
  • "react": "^17.0.2", (with react 16, it happened the same)
  • "react-dom": "^17.0.2",
  • "razzle": "^4.1.0", , (with razzle 4.0.0, it happened the same)
  • "razzle-dev-utils": "^4.1.0",
  • "webpack": "^4.46.0",
  • "webpack-dev-server": "^3.11.0"

jlramosr avatar Sep 24 '21 08:09 jlramosr

Is this on windows?

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

fivethreeo avatar Sep 24 '21 13:09 fivethreeo

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

jlramosr avatar Sep 24 '21 13:09 jlramosr