7th Practical Class:
Apollo File Uploads Fix
Apollo File Uploads Fix
- 4IT580 server is using Node.js v14
- Apollo Server file upload is compatible only with Node.js v12
- uploads will end with strange errors
- here is a related Github issue with solution
How to Fix It
open
backend/package.json
add following lines:
(remember to add
,
after}
on line before"resolutions"
)e.g.:
save and run
yarn install