Less Compilation is failing with Quasar version 1.1.1
See original GitHub issueDescribe the bug A clear and concise description of what the bug is.
Less compilation failed workerPid=21168, details={
"message": "Property '$editor-button-gutter' is undefined",
"type": "Name",
"filename": "/node_modules/quasar/dist/quasar.css",
"index": 38758,
"line": 1875,
"column": 9,
"callLine": null,
"extract": [
" position: absolute;",
" left: -$editor-button-gutter;",
" top: 4px;"
]
}
Codepen/jsFiddle/Codesandbox (required) Fork a Codepen (https://codepen.quasar.dev) or a jsFiddle (https://jsfiddle.quasar.dev) or a Codesandbox (https://codesandbox.quasar.dev) and hit save then copy-paste link here.
To Reproduce Steps to reproduce the behavior:
the issue is that this command is failing on your quasar.css file:
less.render(src, cfg.options, callback)
Expected behavior A clear and concise description of what you expected to happen. Before the version 1.1.1 release our post-install script would use quasar’s css file along with our own less based style sheets to create one css file. So I expect to be able to combine less and css style sheets into one css file.
Screenshots$editor-button-gutter If applicable, add screenshots to help explain your problem.
The existing npm error explains the issue. I can not even get quasar and less style sheets to cooperate in the latest release so can not even get to the UI right now.
Platform (please complete the following information): OS: ubuntu Node: 11.15.0 NPM: 6.7.0 Yarn: none Browsers: none iOS: none Android: none Electron: none
Additional context Add any other context about the problem here.
The primary issue appears to be a sass variable $editor-button-gutter is in dist/quasar.css now. if that variable is not there less compilation is fine. I also saw that you are deprecating less support.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)

Top Related StackOverflow Question
is working fine here thanks man.
no problem will test it out in a moment.