Skip to content

Error on first sass compile...fixed! #8

Open
@smeyer

Description

I wanted to post this for everyone's benefit:

I was getting the following error when I try to compile the app.scss file via Terminal/Grunt in the child theme for FoundationPress:
Running "sass:dist" (sass) task
Warning: /Applications/MAMP/htdocs/starter_theme_3.9.2/wp-content/themes/starter_theme_FP/scss/app.scss:3: error: file to import not found or unreadable: "foundation"
Use --force to continue.

I was originally trying to compile the file using CodeKit, but based on comments in another Issue for FoundationPress, I tried compiling it using Grunt. Still no luck.

I thought that it might be possible that the includePaths in the Gruntfile should be edited to refer to the parent theme, so I tried that and it compiled!

includePaths: ['../FoundationPress/bower_components/foundation/scss']

Just wanted to give a heads up about it...

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions