Nelify build error

When I try to deploy my website with Netlify, I got this error.

opt/build/repo/images/logo.svg: Invalid version: Undefined, when my build command is “$ parcel build index.html --no-minify”.

But when my build command is “$ parcel build index.html” I get a different error message opt/build/repo/images/banner.webp: Invalid Version: Undefined.

Please note that I’ve read and tried all solutions that have been provided before.

I tried the solution I saw on this forum, stack overflow and even Netflix itself but I keep getting the same error no matter what I do.

I don’t know what I’m doing wrong. Please I need help. Thank you in advance.

I get other errors like this as well I don’t know if this is critical.