Comments (5)
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
from less-plugin-functions.
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.
from less-plugin-functions.
$ lessc --functions px2rem.less
undefinedError: Cannot read property 'trim' of undefined
from less-plugin-functions.
同样遇到,请问解决了没?
from less-plugin-functions.
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):
lessc --functions test.less
Then i get this message: undefinedError: Cannot read properties of undefined (reading 'trim')
Is there any recommendation to avoid this?
Thanks a lot!
from less-plugin-functions.
Related Issues (14)
- Uppercase characters not supported in function names? HOT 3
- How to use it with webpack? HOT 2
- I face a problem
- Great work
- There seems to be an issue with less calc function HOT 2
- grunt task config HOT 2
- Allow defining custom functions from outside the less files HOT 2
- Error on compile: "plugin.install is not a function" HOT 3
- the less-plugin-functions for sublime HOT 2
- How to use it in Sublime? HOT 2
- no repository filed when I use '--save' or ‘--save-dev’ HOT 1
- Using return values in @media condition HOT 3
- Proposal: Use @function instead HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from less-plugin-functions.