You have to use v5 to support angular 16 https://github.com/valor-software/ng2-file-upload/issues/1255