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

Fail to upload large image #726

Closed
fwh1990 opened this issue Apr 21, 2021 · 2 comments
Closed

Fail to upload large image #726

fwh1990 opened this issue Apr 21, 2021 · 2 comments
Labels

Comments

@fwh1990
Copy link

fwh1990 commented Apr 21, 2021

Support plan

  • which support plan is this issue covered by? (e.g. Community, Sponsor, or
    Enterprise): Community
  • is this issue currently blocking your project? (yes/no): yes
  • is this issue affecting a production system? (yes/no): no

Context

  • node version: 14.16
  • module (formidable) version: 2.0.0-canary.20200504.1
  • environment (e.g. node, browser, native, OS): browser
  • used with (i.e. popular names of modules): qoq
  • any other relevant information:

What are you trying to achieve or the steps to reproduce?

Normal upload large file

What was the result you got?

Large image fail to store the full data. For example, I upload a image with 700kb size, but after transform by formidable, it reduce to 400+kb or 300+kb (random size).

What result did you expect?

It work in 1.2

@GrosSacASac
Copy link
Contributor

Can you try to install fromidable from github master branch and reproduce the issue ?

@fwh1990
Copy link
Author

fwh1990 commented Apr 22, 2021

Can you try to install fromidable from github master branch and reproduce the issue ?

Great, it has been fixed by install from github master. And it's a pity that the @types/formidable doesn't follow the next version since v2.0 has lots of breaking changes.

@fwh1990 fwh1990 closed this as completed Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants