Failed to find a valid digest in the integrity attribute for resource

July 9, 2021 . 1 MIN READ

I get this error on heroku (not locally)

Failed to find a valid digest in the 'integrity' attribute for resource 'http://rubyissues.herokuapp.com/assets/rubyissues-dc683ef8d41f45e5fdafceda1a26598f.css' with computed SHA-256 integrity 'vGH6uxiZBXnDr46nPJPx2/V82if1Sij2FDhPgXSk6xI='. The resource has been blocked.

It seems to be similar to this: ember-cli/ember-cli#5040, but I can not fix it by adding an empty integrity attribute to the link tag. (I can see another integrity attribute is added automatically)

I am posting here because I broke the issue down to one of the @import statements in my app.scss:
The @import 'ember-paper'; – When I remove this line its working.

Seems to be an issue in chrome only. No problem when using Firefox.

https://github.com/ember-cli/ember-cli/issues/5040

https://github.com/miguelcobain/ember-paper/issues/224

https://github.com/jonathanKingston/ember-cli-sri/issues/5

Leave a Reply

Your email address will not be published. Required fields are marked *