Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Issues importing custom scss file/ file to import not found or unreadable #292

Closed
PerrySetGo opened this issue Apr 3, 2015 · 1 comment

Comments

@PerrySetGo
Copy link

HI, I'm new (to working with foundationpress, scss, even grunt, bower, etc), but couldn't figure this out by myself. I got foundationpress installed on my wordpress build on my testserver (yay) but I get an error in grunt (I am doing grunt:watch) when it tries to compile the scss.

I'm just trying to import my custom scss file at this point. I'm basically at 9:38 of this video.

https://www.youtube.com/watch?v=s4m5wwM4BWM#t=11

The error I get in Git BASH is:
scsserror

I have triple checked my code in my custom file, but here it is:

$my-bodytext: Tahoma, Verdana;
$my-primary-background-color:#f2f2f2;

body{
font-family: $my-bodytext;
color: $my-primary-text-color;
background:$my-primary-background-color;

}

This is the include code: @import "site/mytheme";
at the bottom of my foundation scss.

I have also verified that all the directories/paths/filenames are correct. I looked at the permissions and I think everything is readable. I see no changes in my testbuild.

What am I doing wrong? As i said I'm a newbie trying to self teach but I'm not sure I understand enough to figure this one out.

Thank you for your help.

-Perry

@PerrySetGo
Copy link
Author

I fixed it! If anyone has the same issue, what helped me was removing everything and starting over from scratch. There may have been a problem with my bower installation not having been correct. Good luck.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant