We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I came across the issue
Error: Cannot calculate proper length in a synchronous way.
What I'm trying to do
const fileName = 'somename' const form = new FormData() console.log(`- Uploading ${fileName}`) form.append('name', `${publicUrl}/assets/js/${fileName}`) form.append('file', fs.createReadStream(filePath)) // form.getLengthSync = null - a known workaround, thanks @mcfedr fetch(`url`, { method: 'POST', body: form })
I know that it's might be a problem with FormData itself, but can we handle somehow this case?
The text was updated successfully, but these errors were encountered:
I'm sorry, I just realized that isomorphic-fetch uses node-fetch :) should be handled there
Sorry, something went wrong.
No branches or pull requests
I came across the issue
What I'm trying to do
I know that it's might be a problem with FormData itself, but can we handle somehow this case?
The text was updated successfully, but these errors were encountered: