composes (import) doesn't seem to work at all (on Windows at least)
See original GitHub issueHey, 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:
- Created 8 years ago
- Comments:21 (10 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
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 😃