-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: read ECONNRESET #315
Comments
Is there any more errors on the bundler side? |
It seems an issue of |
Thanks for looking into this, i'll dive into this a bit and report what i found or do a PR EDIT: Confirmed using WS 3.3.3 |
Pinpointed the situation, it had to do with an error that got added to ws (when user disconnects while sending), This gets triggered every time the websocket triggers a html reload (if u edit a html file) |
Am I wrong or does this bug completely break Parcel in dev at the moment? Wanted to get check out Parcel today but crashes on every change. |
It breaks the moment you change html files @chasegiunta |
For me, it's breaking just upon reloading a page that is including the output. No html file change needed. I'm running |
Than it's affecting more people than expected, i'll do my best to speedup getting the PR through |
So, I landed here because I was googling the same today's error output (ionic project) ionic-team/ionic-cli#2921 @DeMoorJasper are you facing that issue only with Chrome too? |
@peterpeterparker look at PR #320 |
@DeMoorJasper neat, thx for pointing that out 👍 |
I'm hear to report I'm having a very similar issue. I can start the parcel server, but I see this when it is starting...
However, when I go to http://localhost:3000, the app responds. If I change any files, I see the changes happen. The second I refresh the page though, I get...
Downgrading ws to 3.3.2 does not fix the problem. |
@goyney Are you sure you've downgraded ws successfully? Check And I'm using https://github.com/JounQin/parcel-study/blob/master/package.json |
@JounQin hello,Can the downgrade ws to @3.3.2 solve the problem? |
@wangjian1119 I solve this problem by locking https://github.com/JounQin/parcel-study/blob/master/package.json#L70 You can just try it. |
Guys this resolved the problem Just run:
|
@DeeJayElly your solution work for me thanks; |
Not using chrome or disabling hmr should also work, as far as l’ve read other issues related to this one |
@DeeJayElly thanks!This is a good way of resolution |
hmmm @DeeJayElly solution is not working for me. Parcel still crashed when I manually reload the page. I'm using the latest Chrome and ws@3.3.2. It's working fine in Safari though. EDIT: it seems HMR is working normally and doesn't trigger the crash so everything is okay as long as I don't reload the page manually. |
Fix pushed in v1.2.1. |
@devongovett I can confirm this push fixes the issue for me. Cheers |
`wss.on('connection', function (ws) { })` |
Try to install parcel locally |
Hello, I am trying to get started with Parcel. I created an index.html file with an index.js and when I run
parcel index.html
localhost:1234 opens fine but as soon as I save the file the server stops and I get
The text was updated successfully, but these errors were encountered: