You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run script styleguidist server, after reload page, the dev server is crash
To reproduce
1.upgrade to 11.1.2 or 11.1.1, run styleguidist server and open styleguidist in chrome
2.Open chrome console panel
3. type new WebSocket('ws://localhost:6060/sockjs-node') and press enter
4. repeat step3 twice
5. server crash
Seems like same issue here: ECONNRESET right after styleguidist builds (Compiled successfully.) and is opened in the browser, leading to socket communication.
Running on node 14.14.0, npm 6.14.8
If I downgrade to react-styleguidist 11.1.1, no errors.
Current behavior
run script
styleguidist server
, after reload page, the dev server is crashTo reproduce
1.upgrade to 11.1.2 or 11.1.1, run styleguidist server and open styleguidist in chrome
2.Open chrome console panel
3. type
new WebSocket('ws://localhost:6060/sockjs-node')
and press enter4. repeat step3 twice
5. server crash
I found the reason:
#1705 (comment)
I think this should be config in https://github.com/styleguidist/react-styleguidist/blob/master/src/scripts/create-server.ts#L12, no in user webpack.config.js
Expected behavior
server don't crash
The text was updated successfully, but these errors were encountered: