Skip to content

error: Functions can only contain variable declarations and control directives #18

Description

Hello,
The tutorial was going great until I ran into a problem in chapter 03_03.
I can successfully start the server by issuing the gulp command but if any changes are made to any scss files the following error shows in the Mac OS X terminal.

{ [Error: error components/sass/style.scss (Line 12 of /Library/Ruby/Gems/2.0.0/gems/susy-2.2.12/sass/susy/language/susy/_validation.scss: Functions can only contain variable declarations and control directives.)
Compilation failed in 1 files.
]
message: '\u001b[31m error\u001b[0m components/sass/style.scss (Line 12 of /Library/Ruby/Gems/2.0.0/gems/susy-2.2.12/sass/susy/language/susy/_validation.scss: Functions can only contain variable declarations and control directives.)\n\u001b[31mCompilation failed in 1 files.\n\u001b[0m',
fileName: '/Users/gilbertstankiewicz/Desktop/responsive/components/sass/style.scss',
showStack: false,
showProperties: true,
plugin: 'gulp-compass',
__safety: { toString: [Function: bound ] } }

The web page shows the following:
screen shot 2016-12-18 at 10 32 37 am

Line 14 in the style.scss file is "@import "susy";

Any idea what is going on here?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

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