Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghost opened this issue Dec 18, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 18, 2016

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?

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

No branches or pull requests

0 participants