oxalorg / sakura

:cherry_blossom: a minimal css framework/theme.

Home Page:https://oxal.org/projects/sakura

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compilation fails on import "main" but filename is "_main.scss

calroc opened this issue · comments

I just cloned the repo and tried to compile the SCSS files and got a bunch of error messages

Error: File "c:\Users\sforman\Desktop\src\Misc\sakura\scss\main" not found
        on line 14 of sass/c:\Users\sforman\Desktop\src\Misc\sakura\scss\sakura-dark-solarized.scss
>> @import "main";
   --------^

Error: File "c:\Users\sforman\Desktop\src\Misc\sakura\scss\main" not found
        on line 14 of sass/c:\Users\sforman\Desktop\src\Misc\sakura\scss\sakura-dark-solarized.scss
>> @import "main";
   --------^

Error: File "c:\Users\sforman\Desktop\src\Misc\sakura\scss\main" not found
        on line 14 of sass/c:\Users\sforman\Desktop\src\Misc\sakura\scss\sakura-dark.scss
>> @import "main";
   --------^

...and so on. Am I doing something wrong? Is there a SASS convention around underscore-prefixed filenames?

A file with an underscore is a "partial". It's meant to be imported in another file, this is mostly a convention to help organize code.

I've cloned a fresh repo and

npm install
npm run scss

and I can not reproduce this issue, but I'm doing it on ubuntu. Have you tried updating your node/npm versions?

Closing due to inactivity.