benawad / benawad/apollo-server-react-file-upload
No createReadStream on file, only path
- Dominant language
- JavaScript
- Stars
- 81
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to implement your solution to my project but there is one problem but I'm not sure how to fix it.
I'm using exact same codes as yours but I m only getting
`{ path: 'example.jpeg' }`
when I try yours you get all options
`
{
fileName: 'example.jpeg'
mimeType: 'image/png'
encoding: '7bit'
createReadStream: [Function: createReadStream]
}
`
I don't know if its about react or node.
Contributor guide
No contributing guide indexed for this repository
Research direction
No source files, tests, or entry points are named. Reproduce the reported difference between receiving only `{ path: 'example.jpeg' }` and receiving `createReadStream`, then inspect the React and Node upload setup to identify which configuration or dependency causes the differing file object; done means the expected upload fields are available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js, react
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100