refreshing browser window crashes storybook-native with latest storybook version and react-native 0.53
storybook start -p 7007events.js:183
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at _errnoException (util.js:1024:11)
at TCP.onread (net.js:615:25)
error Command failed with exit code 1.
Same here and I can't figure out what's causing it.
Something hot reload?
Environment:
OS: macOS High Sierra 10.13.2
Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.53.0 => 0.53.0
"@storybook/react-native": "3.3.12"
same thing,
also did experience same behaviour on react-native 0.52
I was able to work around this bug by forcing ws package to version3.3.2.
I've used yarn resolutions to accomplish this.
further information: https://github.com/websockets/ws/issues/1256
Many thanks @nikhedonia the ws downgrade seems to have worked a treat for me.
Also thanks for the link to the underlying issue documenting the change in ws error behaviour in 3.3.3
Released 3.3.14
@axelnormand you can remove the downgrade now
Thank you guys!
I can confirm it works for us in newsuk/times-components.
works great. Many thanks @Hypnosphi !
Most helpful comment
Thank you guys!
I can confirm it works for us in newsuk/times-components.