affiliates-jekyll-theme icon indicating copy to clipboard operation
affiliates-jekyll-theme copied to clipboard

Getting this error after running jekyll serve --watch

Open manan-bajaj opened this issue 1 year ago • 5 comments

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

manan-bajaj avatar Mar 29 '23 18:03 manan-bajaj

Thanks for your reply. 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.

On Mon, Apr 3, 2023 at 9:37 AM Esquilo Verde @.***> wrote:

Delete the Gemfile.lock, and type bundle install, and then run jekyll serve again =)

— Reply to this email directly, view it on GitHub https://github.com/wowthemesnet/affiliates-jekyll-theme/issues/21#issuecomment-1493613545, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKI4VT6JHXJPR22QNEMZ7PLW7JEIJANCNFSM6AAAAAAWMIDJLQ . You are receiving this because you authored the thread.Message ID: @.***>

manan-bajaj avatar Apr 08 '23 14:04 manan-bajaj

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 ?

hari-jeya avatar Apr 25 '23 23:04 hari-jeya

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.

bressler1995 avatar May 09 '23 19:05 bressler1995

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

Newles avatar Jul 31 '23 22:07 Newles

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.

MiqueiasDevGames avatar Aug 28 '23 20:08 MiqueiasDevGames