When I run it, the system log shows the message Unable to resolve the source file for, but when I check the path of the js files, Magento runs at the wrong path. Does anyone know how to fix this error?enter image description here
1 Answer 1
Run the following commands from CLI and then check.
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento indexer:reindex
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
sudo chmod -R 777 var/ generated/ pub/
 answered Nov 27, 2023 at 4:55
 
 
 
 Dhiren Vasoya 
 
 9,70914 gold badges37 silver badges61 bronze badges
 
 - 
 i tried your way but it did'nt workhau– hau2023年11月27日 06:14:47 +00:00Commented Nov 27, 2023 at 6:14
default