Skip to content
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

在node-v8.15.0以上版本,egg-socket.io与node存在变量冲突 #3531

Closed
zhangshichun opened this issue Mar 11, 2019 · 4 comments
Closed

Comments

@zhangshichun
Copy link

What happens?

A clear and concise description of what the bug is.

Mini Showcase Repository(REQUIRED)

Provide a mini GitHub repository which can reproduce the issue.
Use egg-init --type=simple bug then upload to your GitHub
看下面这个仓库
https://github.com/hyj1991/egg-socket.io-error-demo

How To Reproduce

Steps to reproduce the behavior:
1.使用egg-socket.io 在centos 7.66 上部署,使用版本为v8.15.1 到 v10.xx
2.前端发起长链接

Expected behavior
1.正常链接

Context

node切换到v8.15.0可解决此问题,受此困扰的通报,请尝试降低node版本到v8.15.0

@lvsenlin
Copy link

同样遇到,10.15.1可以

@ngot
Copy link
Member

ngot commented Mar 12, 2019

这个是 Node.js 本身的变更导致的,关注官方 issue ,在解决之前不要升级 nodejs/node#26366

@An0313
Copy link

An0313 commented May 23, 2019

就是这个问题 让我痛苦了两个星期 我都要怀疑人生了 -----node -v 10.15.3

@iguxiaobei
Copy link

10.15.3不可以,10.15.1可以。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants