-
Notifications
You must be signed in to change notification settings - Fork 10
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
undefinedError: Cannot read property 'trim' of undefined #11
Comments
Just a error message text is totally useless. Please at least show the code you get the error with (and the more information never hurts - see for example https://github.com/necolas/issue-guidelines/blob/master/CONTRIBUTING.md#bug-reports. |
$ lessc --functions px2rem.less |
同样遇到,请问解决了没? |
Getting the same error. Looks like it has to do with args being undefined in lib/tinyargs.js less-plugin-functions/lib/tinyargs.js Line 53 in 86d8551
|
Hello, Im having the same issue, I'm doing the following: I took the example code from the repository: .function {
.foo(@x) {
return: @x * 2;
}
}
div {
width: foo(21em); // -> 42em
} Then I run the following command (Im in windows using lessc 4.1.2):
Then i get this message: Is there any recommendation to avoid this? Thanks a lot! |
undefinedError: Cannot read property 'trim' of undefined
The text was updated successfully, but these errors were encountered: