cancel
Showing results for 
Search instead for 
Did you mean: 

cannot ready contents mixins.js

SOLVED

cannot ready contents mixins.js

Hi All

 

In my Exception i get alot of the issues below, Can anyone tell me what it is  and how i can solve it ? 

 

[2018-06-12 09:09:34] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/es_ES/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/es_ES/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/es_ES/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/es_ES/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:09:34] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/en_US/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/en_US/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/en_US/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/en_US/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:09:35] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/fr_FR/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/fr_FR/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/fr_FR/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/fr_FR/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:09:36] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/en_US/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/en_US/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/en_US/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/en_US/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:09:49] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/es_ES/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/es_ES/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/es_ES/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/es_ES/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:09:50] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/ru_RU/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/ru_RU/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/ru_RU/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/ru_RU/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:10:01] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/it_IT/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/it_IT/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/it_IT/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/it_IT/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:10:01] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/pl_PL/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/pl_PL/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/pl_PL/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/pl_PL/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:10:01] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/pl_PL/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/pl_PL/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/pl_PL/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/pl_PL/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:10:01] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/de_DE/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/de_DE/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/de_DE/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/de_DE/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:10:02] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/es_ES/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/es_ES/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/es_ES/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/es_ES/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:10:15] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/de_DE/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/de_DE/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/de_DE/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/de_DE/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:10:15] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/es_ES/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/es_ES/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/es_ES/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/es_ES/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:10:15] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/it_IT/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/it_IT/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/it_IT/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/it_IT/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:10:15] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/fr_FR/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/fr_FR/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/fr_FR/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/fr_FR/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:10:16] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/hu_HU/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/hu_HU/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/hu_HU/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/hu_HU/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:10:20] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/es_ES/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/es_ES/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/es_ES/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/es_ES/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:10:27] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/pl_PL/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/pl_PL/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/pl_PL/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/pl_PL/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:10:27] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/pl_PL/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/pl_PL/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/pl_PL/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/pl_PL/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:10:27] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/ru_RU/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/ru_RU/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/ru_RU/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/ru_RU/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:10:28] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/da_DK/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/da_DK/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/da_DK/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/da_DK/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:10:28] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/pl_PL/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/pl_PL/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/pl_PL/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/pl_PL/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-06-12 09:10:42] main.CRITICAL: Cannot read contents from file "/var/www/ /public_html/pub/static/frontend/Alothemes/default/it_IT/mage/requirejs/mixins.js" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/it_IT/mage/requirejs/mixins.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/var/www/ /public_html/pub/static/frontend/Alothemes/default/it_IT/mage/requirejs/mixins.js\" Warning!file_get_contents(/var/www/ /public_html/pub/static/frontend/Alothemes/default/it_IT/mage/requirejs/mixins.js): failed to open stream: No such file or directory at /var/www/ /public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
1 ACCEPTED SOLUTION

Accepted Solutions

Re: cannot ready contents mixins.js

Hi @Nicolaikimbrer

 

Based on the error log it looks like you don't have writable permission along with ownership !

 

So you need to run below commands to give permission and ownership

 

sudo find var pub/static pub/media -type f -exec chmod g+w {} \; 
sudo find var pub/static pub/media -type d -exec chmod g+ws {} \;
sudo find ./pub/media -type d -exec chmod 777 {} \;
sudo find ./pub/static -type d -exec chmod 777 {} \;

Hope it  helps !

if issue solved,Click Kudos & Accept as Solution

View solution in original post

4 REPLIES 4

Re: cannot ready contents mixins.js

Kindly gives root permission to pub/static and generated folder as well as check pub/static folder has .htaccess file is exist or not?

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: cannot ready contents mixins.js

Hi Rakesh

 

Which command should i use to give it root permissions

 

 

Re: cannot ready contents mixins.js

Kindly give below permisson,

from your magento root instance,

find var vendor pub/static pub/media app/etc -type f -exec chmod u+w {} \; && find var vendor pub/static pub/media app/etc -type d -exec chmod u+w {} \; && chmod u+x bin/magento

Refer below links,

https://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: cannot ready contents mixins.js

Hi @Nicolaikimbrer

 

Based on the error log it looks like you don't have writable permission along with ownership !

 

So you need to run below commands to give permission and ownership

 

sudo find var pub/static pub/media -type f -exec chmod g+w {} \; 
sudo find var pub/static pub/media -type d -exec chmod g+ws {} \;
sudo find ./pub/media -type d -exec chmod 777 {} \;
sudo find ./pub/static -type d -exec chmod 777 {} \;

Hope it  helps !

if issue solved,Click Kudos & Accept as Solution