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

Busboy is not a constructor #1144

Open
winterZhao opened this issue Feb 16, 2022 · 1 comment
Open

Busboy is not a constructor #1144

winterZhao opened this issue Feb 16, 2022 · 1 comment

Comments

@winterZhao
Copy link

winterZhao commented Feb 16, 2022

看到package.json里的"connect-busboy": "0.0.2"写死版本了。然后到connect-busboy看到mscdex/connect-busboy#21 里写的

v0.0.3 is released that fixes the semver range to match the pre-v1.0 busboy.
v1.0.0 is released to match the changes in busboy v1.0.

现在尝试按照,在pacakge-lock.json里的"connect-busboy": "0.0.2",依赖安装到的busboy为*,实际安装的是1.4.0版本。所以再注册用户时会报错Busboy is not a constructor。感觉connect-busboy不太好改。是否您这边把connect-busboy升高会好点呢。

@tsflow
Copy link

tsflow commented Aug 9, 2022

升级到v1.0.0 就行了

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

2 participants