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

Syntax Error On Build - Unknown Reason #38

Open
l-gothberg opened this issue Jan 9, 2019 · 0 comments
Open

Syntax Error On Build - Unknown Reason #38

l-gothberg opened this issue Jan 9, 2019 · 0 comments

Comments

@l-gothberg
Copy link

l-gothberg commented Jan 9, 2019

I keep getting Invalid CSS after "grid": expected expression (e.g. 1px, bold), was ";" (Sass::SyntaxError)

Can't determine the cause of the error, since the indicated expression is correct:

.grid-container {
    display: grid;
}

SASS file is included as attachment, full output of backtrace follows:

/Users/leo/Desktop/github/cs493-cloud-dev/styles.sass:2: Invalid CSS after "grid": expected expression (e.g. 1px, bold), was ";" (Sass::SyntaxError)
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/scss/parser.rb:1308:in `expected'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/script/lexer.rb:240:in `expected!'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/script/parser.rb:897:in `assert_done'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/script/parser.rb:69:in `parse'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/script/parser.rb:228:in `parse'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/script.rb:27:in `parse'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/engine.rb:1169:in `parse_script'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/engine.rb:745:in `parse_property'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/engine.rb:707:in `parse_property_or_rule'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/engine.rb:666:in `parse_line'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/engine.rb:539:in `build_tree'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/engine.rb:558:in `block in append_children'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/engine.rb:557:in `each'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/engine.rb:557:in `append_children'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/engine.rb:548:in `block in build_tree'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/engine.rb:541:in `each'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/engine.rb:541:in `build_tree'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/engine.rb:558:in `block in append_children'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/engine.rb:557:in `each'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/engine.rb:557:in `append_children'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/engine.rb:417:in `_to_tree'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/engine.rb:389:in `_render_with_sourcemap'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/engine.rb:307:in `render_with_sourcemap'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/plugin/compiler.rb:462:in `update_stylesheet'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/plugin/compiler.rb:215:in `block in update_stylesheets'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/plugin/compiler.rb:209:in `each'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/plugin/compiler.rb:209:in `update_stylesheets'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/plugin.rb:82:in `update_stylesheets'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/exec/sass_scss.rb:338:in `watch_or_update'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/exec/sass_scss.rb:51:in `process_result'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/exec/base.rb:50:in `parse'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/lib/sass/exec/base.rb:18:in `parse!'
	from /Library/Ruby/Gems/2.3.0/gems/sass-3.7.3/bin/sass:13:in `<top (required)>'
	from /usr/local/bin/sass:22:in `load'
	from /usr/local/bin/sass:22:in `<main>'
[Finished in 0.4s with exit code 65]
[cmd: ['sass', '--update', '/Users/leo/Desktop/github/cs493-cloud-dev/styles.sass:/Users/leo/Desktop/github/cs493-cloud-dev/styles.css', '--stop-on-error', '--style=compressed', '--trace']]
[dir: /Users/leo/Desktop/github/cs493-cloud-dev]
[path: /usr/local/bin:/usr/bin:/usr/bin/ruby:/bin:/usr/sbin:/sbin]

styles.sass.zip

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

1 participant