How to fix JavaScript errors is console after installing an extension?

It seems that the plugin doesn’t work - the whole backend throws js error in console.

I will fix it now, do not do anything with the website.

I have fixed it by redeploying the static content:

rm -rf pub/static/* && bin/magento setup:static-content:deploy en_US