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

source.on is not a function #82

Open
kale1d0code opened this issue Nov 13, 2024 · 1 comment
Open

source.on is not a function #82

kale1d0code opened this issue Nov 13, 2024 · 1 comment

Comments

@kale1d0code
Copy link

using Axios to post FormData to a URL
I am attempting to submit a file

I grab the file data using your fileFromPath method.

When Axios attempts to send, I get the error message:

source.on is not a function

@octet-stream
Copy link
Owner

Hi. Thanks for reaching me out. I need more information before I can help:

  1. What Node.js version you use
  2. Also, what Axios and formdata-node
  3. Minimal reproduction code would also help

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