I am trying to deploy static content in developer mode in magento 2.2 community edition. I am getting multiple errors in terminal related to css.

Getting error as -

Cannot read contents from file "/var/www/html/[site]/staging/pub/static/frontend/Magento/blank/en_US/Mysite_Theme/css/less/type.css" Warning!file_get_contents(/var/www/html/[Site]/staging/pub/static/frontend/Magento/blank/en_US/Mysite_Theme/css/less/type.css): failed to open stream: No such file or directory .

I checked for the file type.css, there is no file present in the project with such name.

Please provide a solution.


1 Answer 1


Make you sure your theme path is like below:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.