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.

Absolute reference for include seems to be broken

See original GitHub issue

According the pugjs documentation, an absolute file reference is a valid path for an include statement. However I’m getting an error on the following line: include:scss /usr/local/styles/simple-theme.scss I’m getting an error stating that /path/to/working/directory/usr/local/styles/simple-theme.scss is not a valid file, leading me to believe that the file resolution always attempts a relative path, instead of trying to follow the absolute path. It would be nice to support absolute references, as I’d like to have some different themes available in an easy to reference location in order to reuse them.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Zulkocommented, Jul 3, 2018

So I had to change a few things internally but it seems to work. I just pushed a version of ReLaXed in which you can set --basedir / and then do for instance:

style
  include:scss /tmp/mystyle.scss
1reaction
Zulkocommented, Jul 3, 2018

wait a bit ill tell you that soon

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Use Absolute Cell Reference in Excel - YouTube
We use an absolute cell reference in Excel calculations when we need to keep the reference to a cell in a formula constant....
Read more >
Switch between relative and absolute references
Change a cell reference from relative (default) to absolute to maintain the original cell reference when you copy it. Maintain cell reference by...
Read more >
How to use absolute and relative references - Get Digital Help
To keep absolute references use INDIRECT function. Type =INDIRECT("$B$1") + ENTER in cell A1; Select row 1; Press with right mouse button on ......
Read more >
Absolute Cell References Breaking - excel - Stack Overflow
I had thought that absolute cell references wouldn't break if a cell or a row was deleted, however it's still happening. They turn...
Read more >
Relative and absolute cell references in Excel conditional ...
Absolute cell references (with the $ sign, e.g. $A$1) always remain constant, no matter where they are copied. · Relative cells references ·...
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