npm WARN tarball tarball data for [email protected], @angular/[email protected], @angular/[email protected] seems to be corrupted

Whenever i try to build my angular application with my gitlab ci i get the following errors:

I also tried with npm ci because thats a cleaner way but it gives the same errors but also for the typescript package.

I tried clearing the cache on gitlab and updating my npm packages. Also deleted the package-lock.json file but that didn’t fix it.

Build can be found here:

How can i fix it?

Source: StackOverflow