I was working on a new Magento-2 (Version-2.3.0) site and all workes is fine then I added theme so my admin was not open and showing this error.

[![enter image description here](https://i.stack.imgur.com/v9zDi.png)](https://i.stack.imgur.com/v9zDi.png)