Reputation: 462
This works in one folder, and when I cloned the repo into another folder I'm getting this error:
Error in plugin 'sass'
Message:
app\scss\base\_fonts.scss
Error: Undefined variable: "$URL-PREFIX".
on line 5 of app/scss/base/_fonts.scss
>> src: url("#{$URL_PREFIX}media/fonts/Volkhov-Regular-webfont.eot");
-------------^
Any Idea why it would be saying there is an error with:
"$URL-PREFIX"
instead of:
"$URL_PREFIX"
which is what is actually in the code?
Upvotes: 0
Views: 643
Reputation: 39
Doesn't look like this helps with your situation in particular, but incase others came upon this post as we did, I wanted to share a possible answer.
We were dealing with the same error. It turned out that the issue occurred when the partial file was not prefixed with an underscore.
My only guess would be since it didn't have the prefix and a standalone css was being generated, the error was being thrown because the variable would not be available.
Hope this help someone.
Upvotes: 3