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

Getting this error after running jekyll serve --watch #21

Open
manan-bajaj opened this issue Mar 29, 2023 · 5 comments · May be fixed by #24
Open

Getting this error after running jekyll serve --watch #21

manan-bajaj opened this issue Mar 29, 2023 · 5 comments · May be fixed by #24

Comments

@manan-bajaj
Copy link

610:21 root stylesheet
Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/theme.scss':
Expected identifier.

@manan-bajaj
Copy link
Author

manan-bajaj commented Apr 8, 2023 via email

@hari-jeya
Copy link

I tried the above solution, but it didn't work. It gave the same error message. ERROR MESSAGE: Error: Expected identifier. ╷ 610 │ transition: all.3s; │ ^ ╵ /assets/css/theme.scss 610:21 root stylesheet Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/theme.scss': Expected identifier. ------------------------------------------------ Jekyll 4.3.2 Please append --trace to the serve command for any additional information or backtrace.

i have the same issue, can someone help me ?

@bressler1995
Copy link

bressler1995 commented May 9, 2023

I am also seeing the same issue. I removed / commented out the line and it worked fine. I am not too savvy on this Scss stuff but something about the syntax 'transition: all.3s;' it does not like. Also putting a space between all and .3s worked, it must see it as invalid syntax when it compiles. Otherwise, works fine.

potomak added a commit to potomak/affiliates-jekyll-theme that referenced this issue Jul 2, 2023
@potomak potomak linked a pull request Jul 2, 2023 that will close this issue
@Newles
Copy link

Newles commented Jul 31, 2023

I know I'm a little late but I found the solution to this error, what happens is that the one who uploaded the code using sass has conversions and does not respect spaces and line breaks, therefore, so that it can run without problems, what has to be done I mean, if you use vscode, format the sass files and then run the command again and it will work without a problem. It's a very good theme. I try it to be inspired to make my own theme for this framework, which is Jekyll, and first I'm seeing how it works

@MiqueiasDevGames
Copy link

Chatgpt fix:

Check for incomplete declarations: Make sure all CSS property declarations are complete and properly formed. For example, a statement like #transition: all.3s; it is incorrect. Must be transition: all 0.3s; or something similar.

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

Successfully merging a pull request may close this issue.

5 participants