yarn install
yarn start
to start the expo servernode server
to start the apollo server- click "Upload" in the app and pick an image
- See the error in the app
To reproduce the bug
- Comment out line 25 (
const data = await getStream.buffer(createReadStream(), { encoding });
) inserver.js
- Run
node server
- Upload a new image from the app
- Even though the server says it returns an error, it is never picked up by the client
My debugging so far shows that neither then
nor catch
are invoked on the fetch
call made in apollo-upload-client