Images upload is not working in Media Library

System Information
  • Strapi Version: 4.3.4:
  • **Operating System: Ubuntu 20.04.4 LTS 64-bit **:
  • Database: sqlite3 from box:
  • Node Version: v12.22.0:
  • NPM Version: 7.20.2:
  • Yarn Version: 1.22.10:

Its my first try to work with Strapi , i installed project using npm , started and signrd up in panel, next i created one collection and one component which contain image and a few other fields. My collection includes that component. Then i tried to upload some images to test , and next - loader spinned for 5 min avg. And failed in the end. Strange thing because every other files are loading correctly. i tried (jpeg , png, jfif) - Not uploading , (Pdg, doc, docx, js, json, csv) - works good. Below i will leave screenshot of all states.

Welcome to the Strapi Community Forums @user17 :wave:

Quick question how big are the files you are trying to upload ? the one that failed as an example ?

Hi @EvenTyret
I am also facing exact same issue. My Files are around 25kb.

1 Like

One thing i did notice, not that I think that has any effect, is Node Version: v12.22.0
I think you need 14 minimum or up to ,16 @user17

Also could you check that the filetype is allowed?

PROBLEM SOLVED : The problem was in version of Node.js , Strapi expects version between v14.9.1 and v16.x.x. I installed using - nvm

1 Like