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.

error with e() function (since 3.10.1)

See original GitHub issue

compile this less code containing using the e() function (using 3.10.1)

reproduced with node versions: 10.16 LTS, 12.7, 12.8.1

body {
    color: red;
}

e('anything to unquote');

result

SyntaxError: Quoted node returned by a function is not valid here in /home/robert/main.less on line 5, column 1:
4 
5 e('anything to unquote');
6 

the same less code compiles as expected in 3.9.0

maybe related to https://github.com/less/less.js/issues/3345

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
matthew-deancommented, Aug 24, 2019

@cor3000 I just pushed a new version, should work.

0reactions
cor3000commented, Aug 26, 2019

@matthew-dean thanks for the quick fix, works like a charm on 3.10.3

Read more comments on GitHub >

github_iconTop Results From Across the Web

What's New In Python 3.10 — Python 3.11.1 documentation
NameErrors¶. When printing NameError raised by the interpreter, PyErr_Display() will offer suggestions of similar variable names in the function ...
Read more >
"Error in (function (x) : attempt to apply non-function" #30
Hi there,. I am receiving the following message using the terra package: Error in (function (x) : attempt to apply non-function.
Read more >
in VS Code ImportError: cannot import name 'Mapping' from ...
4. I think the problem is inside the test.py: from collections import Mapping · 7. Problem solved by: from collections. · 2. It...
Read more >
2.5 Error Handling and Generation - Bookdown
There are a few essential functions for generating errors, warnings, and messages in R. The stop() function will generate an error. Let's generate...
Read more >
3.10. Exceptions — OCaml Programming - GitHub Pages
To raise an exception value e , simply write. raise e. There is a convenient function failwith : string -> 'a in the...
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