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.

composes (import) doesn't seem to work at all (on Windows at least)

See original GitHub issue

Hey, trying to use a simple import statement to import a value from another css file:

values.css

@value someValue: 500px;

header.css

@value someValue from './values.css';

:global( .header ) {
    background-color: someValue;
}

I’m getting the following error:

NO NODE D:\dev\browserify-react\D:\D:\src\components\header\styles.css D:\dev\browserify-react\D:\D:
\src\components\header\values.css
[Error: Node does not exist: D:\dev\browserify-react\D:\D:\src\components\header\styles.css]

Notes:

  • header.css is being imported from a react component as part of a browserify stack
  • both css files are in the same directory
  • the same thing happens with any compose statement

Any idea what is wrong here? 😦 I tried to investigate the file loading code, but I didn’t have any luck understading what was going on.

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:21 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
Nimelriancommented, Jul 4, 2017

Test repo: https://github.com/Nimelrian/css-modulesify-windows-test

travis-ci can not build on Windows AFAIK.

Jenkins can for sure if you have the building node running on Windows.

0reactions
joshwnjcommented, Jul 8, 2017

Sorry I haven’t been able to dig further into this. I’m OOO all next week, so been busy getting ready for that 😃

If anyone else would like to step in and figure out the next piece of this, please feel free 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Import error with modules mode, composes and sass #131
It's resolving ./Card.scss just fine - it's the secondary import that doesn't seem to be working.
Read more >
How to preserve canvas state in Jetpack Compose for Desktop
The canvas is not preserved across recompositions (this, for example, allows to change what you're drawing without clearing it every time).
Read more >
Fixes or workarounds for recent issues in Outlook for PC
[FIXED] Unable to send emails from QuickBooks, Office applications, or all Windows applications that allow to send files as attach.
Read more >
Testing your Compose layout - Jetpack - Android Developers
Semantics. UI tests in Compose use semantics to interact with the UI hierarchy. Semantics, as the name implies, give meaning to a piece ......
Read more >
How to Style and Theme an App With Jetpack Compose
How to set up light and dark themes for your apps in only a few lines of code; How to use your new...
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