symfony/demo

Unable to find asset "$web-font-path"

Closed this issue · 8 comments

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.

Please provide the steps that you did to end up with this error.

php bin/console importmap:update
php bin/console asset-map:compile

Did you modify any files of the demo?

Did you modify any files of the demo?

no

replace this line:

@import url($web-font-path);

with:

`@import url("#{$web-font-path}");`

I cannot reproduce this. Please post the output of both commands.

I cannot reproduce this. Please post the output of both commands.

Image

replace this line:

@import url($web-font-path);

with:

`@import url("#{$web-font-path}");`

this worked for me as well.