question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Less Compilation is failing with Quasar version 1.1.1

See original GitHub issue

Describe 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:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
aljones15commented, Sep 17, 2019

is working fine here thanks man.

0reactions
aljones15commented, Sep 17, 2019

no problem will test it out in a moment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[v1.17] Can't compile · Issue #3898 · quasarframework/quasar
your node version is out of date - it should be 10.15.3; it seems to me that you are running several other instances...
Read more >
[Solved] Quasar V1 "Failed to compile with X errors" but no ...
Software version OS: mac os high sierra Node: 12.5.0 NPM: 6.10.0 ... [Solved] Quasar V1 "Failed to compile with X errors" but no...
Read more >
Configuring quasar.config.js
Options to supply to less-loader . The following properties of build are automatically configured by Quasar CLI depending on dev/build commands and Quasar...
Read more >
node sass version 7.0.0 is incompatible with ^4.0.0. - You.com
I am newbie and working on a reactjs project, now having the error below, can you please help me to solve it? Failed...
Read more >
TypeError: this.getOptions is not a function - vue.js
A quick fix is to remove that additional package from XXXX/node_modules . You can also check what package version the XXXX module use...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found