Jekyll can't compile .sass files - sass

Jekyll simply won't compile any of my .sass files when I run it with
bundle exec jekyll build,
but jekyll serve -l works just fine. It's really irritating, because my sass works in a development environment, but breaks if I upload it to Github pages.
The error:
Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/styles.scss':
Invalid CSS after " 50px": expected "}", was ";" on line 3
jekyll 3.9.0 | Error: Invalid CSS after " 50px": expected "}", was ";" on line 3
assets/css/styles.scss:
---
---
#import "base";
_sass/base.sass:
\:root
--navheight: 50px;
--backgroundcolor: #1b111d
--textcolor: #F4F3EF
--navlink: #2478ed
I'm pretty sure base.sass on line 3 is where it's breaking, not styles.scss. Not sure why the error displays itself that way.

Ok, so turns out I just had to remove all the semicolons. That was pretty easy, I guess.

Related

Compiling Sass or Scss Error in Laravel 7 with TailwindCSS

I have put the SCSS file in the directory: ProjectName/public/css/main.scss
and I have followed the method of this problem but it didn't work, even though it was only a little different, it didn't solve my problem. following the link:laravel-scss-compiling-fails
actually I am in this project using laravel/ui, that is Tailwindcss.
please help with my problem, and hopefully with this it can help friends who are also experiencing problems like me.🙏🙏🙏
enter image description here
Compiling Sass/Scss Files:
d:\laragon\www\ProjectName\public\css\main.scss
d:\laragon\www\ProjectName\vendor\laravel\ui\src\Presets\bootstrap-stubs\app.scss
--------------------
Compilation Error
Error: File "d:\laragon\www\ProjectName\vendor\laravel\ui\src\Presets\bootstrap-stubs\~bootstrap\scss\bootstrap" not found
on line 8 of sass/d:\laragon\www\ProjectName\vendor\laravel\ui\src\Presets\bootstrap-stubs\app.scss
>> #import '~bootstrap/scss/bootstrap';
--------^
--------------------

Why is the following sass code giving me an error?

(.sass)
div
background-color: cyan
Build error: Transform Sass on dart_gol|lib/forms_menu.sass threw
error: Invalid CSS after "...und-color: #333": expected "{", was ""
on line 6 of standard input
I have Sass installed:
sass --version
"Sass 3.4.22 (Selective Steve)"
I just began using the Sass transformer using pub. I got that error; then went back to --watch . (using Sass via terminal) to see if it happened there. The error was the same both times.
I'm using a .sass extension and it is giving me the problem. I'm using the Sass Basics as a guide.
I did not have a problem when using .scss, with the bracket formatting. I'm not sure why .sass has a problem.
The problem appears to be in the dart_sass_transformer. It isn't properly compiling the sass into css.
Turning off the transformer (removing it from the pubspec) and running sass via Terminal is working properly.
The code in question is just fine.
It tells you it was expecting {
What you need is:
div {
background-color: cyan
}

Sass Compilation Error

I am trying to compile my Sass file, but keep getting this error in my terminal:
error sass/app.scss (Line 60: File to import not found or unreadable:
custom.
This happened after:
cd to the containing folder
sass --watch `sass:css`
What did I do wrong? What steps should I take? Do I need to use Compass to use Sass?

Bourbon Neat is giving me error after sass watch

Hi guys i am new to Bourbon Neat.
ive installed bourbon and neat in a folder.
Now after i do this
sass --watch scss
When it compiles the css generated has following errors.
Syntax error: Invalid CSS after "... $grid-columns ": expected "}", was "!global !default;"
on line 48 of C:/neatFinale/scss/../neat/functions/_private.scss
from line 2 of C:/neatFinale/scss/../neat/_neat-helpers.scss
from line 6 of C:/neatFinale/scss/../neat/_neat.scss
from line 2 of C:/neatFinale/scss/main.scss
Please tell me if i am doing something wrong.
Thanks.
Ps: When doing Neat--ver it says DL is deprecated.

Susy: Error using nth-omega mixin

I thought this would work:
.col4 {#include span-columns(3,12); #include nth-omega();}
But I get this error message (in CodeKit):
error screen.scss (Line 195 of _support.scss: Mixin with-only-support-for takes 6 arguments but 8 were passed.)
Without '#include nth-omega();' I don't get an error message. '#include nth-omega(4);' did not work either.
Susy < 1.0.4 had an error regarding nth-omega which might be what you're seeing. Which version of Compass and Susy are you using? Try updating both with > sudo gem update.

Resources