Cross origin error is shown in firefox

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at (Reason: CORS request did not succeed). Status code: (null).

None of the “sha512” hashes in the integrity attribute match the content of the subresource.

The crossorigin is set to anonymous

So what it seems to be an issue. The issue is happening only in firefox. Other browsers like chrome, safari there is no issue like that. Please do let me know how to solve the issue.

Same issue. Any solution found?