-
-
Notifications
You must be signed in to change notification settings - Fork 78.8k
-
-
Notifications
You must be signed in to change notification settings - Fork 78.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot call method 'charAt' of undefined in sprites.less #2029
Comments
Seems like i found the answer : in sprite.less i changed background-image: url("@{iconSpritePath}"); and background-image: url("@{iconWhiteSpritePath}"); adding the " " and the { } got rid of the errors.. |
This needs to be fixed in 2.0.2! |
I can confirm as well this fixed worked for me too! |
+1 for this solution as well |
Worked for me too, Thanks! |
Also confirming fatalmusicgroup's solution. |
Yup, fix worked for me too. |
me as well, thanks for the post |
Fixed it for me, Thanks! |
This does fix the issue, please update master with this change |
Worked for me too. Thanks! |
Worked also for me, thank you!! |
Indeed, worked for me too. But, I had also to add it to the root (on the bootstrap.less). Because trying to get a variable ../img/ was resolving to an absolute path. |
Worked for me too! Thanks! |
+1 |
I just downloaded the current 2.0.2 snapshot, the error still occurs in there. |
@klu2 - Are you using LESS 1.3? |
yes |
Get the same error with LESS 1.3. I have a main css file and import bootstrap's CSSs from theirs EDIT: Never mind is because I forget to load variable.less |
+1. The solution worked for me as well. Thanks. |
FYI: I ran into the problem while using an old version of LESS.app, make sure to update LESS.app if you're using it and coming across problems. |
+1 in Ubuntu |
I commented out sprite.less and the problem persists...any solutions. I'm thinking I may just have to scrap less. It's holding up development and seems to be a common issue. |
Hello,
I've just downloaded the new update and I'm using less.1.2.1. Set up a simple test page using the fluid.html example but I get the Cannot call method 'charAt' of undefined in sprites.less error. (on my local server)
If I comment out @import "sprites.less"; in bootstrap.less it works fine.
The urls to the img folder are set correctly in variables.less so i'm kinda lost. Quite new to less too.
I'm compiling it on client side.
Any advice is much appreciated, thanks!
Iris
The text was updated successfully, but these errors were encountered: