-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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 slice of undefined" #159
Comments
That problem is caused by this code: |
yea - I solved till now, but still more clear error would be awesome :) |
@bx2 and @andrezj-aa and I have the same issue with similar code how did you solve the issue. Thanks for helping an utter n00b |
Hi bx2 ! how did you solve it? |
Well - it was a problem with the my stylesheet code - like @andrzej-aa commented. As for the exact example - sorry it was so long ago that I just don't remember - my bad because I should publish the solution here - sorry guys :( |
I also have this problem while compiling Tweeter Bootstrap. |
yep, twitter bootstrap crashed with this error |
@korjavin You should use an older version of Less. |
@korjavin/all I just ran into this problem with less v1.2.0 (specifically http://lesscss.googlecode.com/files/less-1.2.0.min.js). I downgraded to less v1.1.5 (http://lesscss.googlecode.com/files/less-1.1.5.min.js) and the problem disappeared. |
So far Less v1.2.0 is very buggy - I wouldn't suggest using it until it's more stable. -----Original Message----- @korjavin/all I just ran into this problem with less v1.2.0 (specifically http://lesscss.googlecode.com/files/less-1.2.0.min.js). I downgraded to less v1.1.5 (http://lesscss.googlecode.com/files/less-1.1.5.min.js) and the problem disappeared. Reply to this email directly or view it on GitHub: |
This bug is not very specific.. I read it as "improve errors" - and later on you talk about less being buggy without giving examples. better error handling is in #16 so I consider this a duplicate. Please raise a new bug for issues if it is not a dupe and you have a test case. |
I had the same problem in Bootstrap3 and was able to fix it by initiating carousel within jQuery(document).ready. I also made sure to match the markup as specified in http://getbootstrap.com/javascript/#carousel. In my case, I was missing the active class in . Cheers
|
I get this error every time I try to render less file with less.js in Chrome.
In Firefox the error is -
d.extract[1] is undefined
.I'm using latest less.js from
dist/
directory.The text was updated successfully, but these errors were encountered: