Web build error

web build error

running: ionic serve --external
everything happens normally

when i run ionic build --prod --base-href=/

and pass the files to the domain gives the error

but the files were created and are in the domain would be some compilation error?

ionic version 6.18.1
angular version 12.0.5

any help will be welcome