You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lessc ./swatchmaker.less > swatch/bootstrap.css
TypeError: Cannot call method 'charAt' of undefined
at getLocation (/usr/local/lib/node_modules/less/lib/less/parser.js:212:34)
at new LessError (/usr/local/lib/node_modules/less/lib/less/parser.js:221:19)
at Object.toCSS (/usr/local/lib/node_modules/less/lib/less/parser.js:385:31)
at /usr/local/lib/node_modules/less/bin/lessc:107:28
at /usr/local/lib/node_modules/less/lib/less/parser.js:434:40
at /usr/local/lib/node_modules/less/lib/less/parser.js:94:48
at /usr/local/lib/node_modules/less/lib/less/index.js:116:17
at Object.parse (/usr/local/lib/node_modules/less/lib/less/parser.js:436:17)
at /usr/local/lib/node_modules/less/lib/less/index.js:115:16
at [object Object].<anonymous> (fs.js:115:5)
When trying to build with LESS version: lessc 1.3.0 (LESS Compiler) [JavaScript]
Apologies, this appears to be my fault. I went back to vanilla bootstrap and swatch and the error doesn't occur, I'll see if I can build back up and figure out where the error happens.
A couple of possibilities: you might need to wrap a value in quotes (eg url()), or you might be passing values with commas into a mixin (eg .box-shadow()) which can be problematic.
I'm seeing:
When trying to build with LESS version:
lessc 1.3.0 (LESS Compiler) [JavaScript]
This seems related but no resolution yet: less/less.js#592
Any suggestions appreciated!
The text was updated successfully, but these errors were encountered: