razzle
razzle copied to clipboard
!!! Script exited with code 1 when restart
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"
Is this on windows?
https://github.com/jaredpalmer/razzle/blob/master/packages/razzle-start-server-webpack-plugin/src/StartServerPlugin.js#L129
Yes, is in windows! Sorry, I forgot to say it.