1

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 -

[Magento\Framework\Exception\FileSystemException]
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
  • are you create custom theme? Commented May 1, 2019 at 5:46

1 Answer 1

0

Make you sure your theme path is like below:

/app/design/frontend/Mysite/Theme/
3

Your Answer

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

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