Questions tagged [static-content-deploy]

Refers to static view files deployment. Writing static files to the Magento file system when the Magento software is set for production mode.

Filter by
Sorted by
Tagged with
51
votes
16answers
78k views

Magento2: Re generate css file in pub/static folder

I have installed Magento 2 and set developer mode, then I have installed one module that contains css and js files. The module works fine and css and js files are rendering from pub/static folder. Now ...
4
votes
10answers
14k views

Magento 2 shows 404 error and front end css crashed

I have installed Magento 2 successfully. When i am trying to open front end that looks like this picture and backend shows 404 error. how to solve this?
1
vote
1answer
3k views

Magento2 calling assets in folder pub/static/versionXXXXXXX after static content deploy

I'm running the command php bin/magento setup:static-content:deploy which exports all the assets in pub/static (creates folders: _requirejs, adminhtml and frontend), changes the deployed version in ...
2
votes
1answer
27 views

Variable @button__shadow-active is undefined while running deploy static content in Magento 2

I am getting this error whenever running php bin/magento setup:static-content:deploy. It showing variable @button__shadow-active is undefined in file en_US/css/source/_extends.less in _extends.less. ...
2
votes
1answer
1k views

Magento 2.2 Build system

I trying to setup build system for setup:di:compile and setup:static-content:deploy based on official devdocs. Build system The build system compiles code and generates static view files for ...
3
votes
1answer
2k views

Magento 2: js-translation.json 404 (Not Found) on production mode

After switching to the production mode, an error appeared in the console : pub/static/adminhtml/Magento/backend/en_US/js-translation.json 404 (Not Found) pub/static/adminhtml/Magento/backend/en_US/js-...
0
votes
4answers
88 views

Website showing error log after running Magento Setup:static-content:deploy -f ..?

I am creating magento website and run stativcontent deploy -f after that i get Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/home/soft/public_html/megahaat.tk/var/cache/" is not writable in ....