Unable to find asset "$web-font-path"
Closed this issue · 8 comments
lxregistry commented
WARNING [asset_mapper] Unable to find asset "$web-font-path" referenced in "/var/www/vhosts/mydomain.com/assets/styles/bootswatch/_bootswatch.scss". The file "/var/www/vhosts/mydomain.com/assets/styles/bootswatch/$web-font-path" does not exist.
xabbuh commented
Please provide the steps that you did to end up with this error.
lxregistry commented
php bin/console importmap:update
php bin/console asset-map:compile
xabbuh commented
Did you modify any files of the demo?
lxregistry commented
Did you modify any files of the demo?
no
lxregistry commented
replace this line:
@import url($web-font-path);
with:
`@import url("#{$web-font-path}");`
xabbuh commented
I cannot reproduce this. Please post the output of both commands.
lxregistry commented
idawson-gl commented
replace this line:
@import url($web-font-path);with:
`@import url("#{$web-font-path}");`
this worked for me as well.
