0

I have set the client side compilation mode on within admin and have recieved lots of missing files errors. Error:

FileError: 'http://magento2.com/static/version1493890573/_cache/merged/source/_theme.less' wasn't found (404)

I have tried clearing static files and redploying them however the less files are not generated and only merged css files seem to be present on there.

I am wondering what to do here and if there is a way to disable client side compilation from shell or in database but would also like to fix the static deployment so the files are deployed correctly.

1 Answer 1

1

You can change it from the database.

Try running the following in your database.

update core_config_data set value='server_side_compilation' where path = 'dev/front_end_development_workflow/type';
3
  • Thanks yeah just found this and am back up again. Still a bit worried about why the files are not being found in the first place now.
    – harri
    May 4, 2017 at 10:02
  • Does your site runs in production mode? May 4, 2017 at 10:28
  • Yeah seems fine in production.
    – harri
    May 4, 2017 at 11:17

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.