DevTips / Artists-Theme

🌄 A free Jekyll Theme developed by the DevTips Community
http://devtips.github.io/Artists-Theme
The Unlicense
592 stars 498 forks source link

Conversion error sass #102

Open sanjwilli opened 6 years ago

sanjwilli commented 6 years ago

I am following your tutorial on this project on youtube and I am encountering a problem.

Conversion error: Jekyll::Converters::Sass encountered an error while converting '/assets/css/main.sass': File to import not found or unreadable: 1-tools/-tools-index. on line 1 Would really appreciate some assistance. PLease and Thank you

ramonuchoa386 commented 6 years ago

The error message says what is wrong, look in the directory (I believe it is "_sass> 1-tools") if there is a file included (in yout case, the file "-tools-index.sass). , you could post a printscreen of your folder structure and a copy of your "master.sass" for a better analysis.

sanjwilli commented 6 years ago

Thank you, I figured out the problem. So inside my folder 1-tools, I did not name the sass files with the underscore ( _ ) at the front and apparently, jekyll did not understand and gave an error.

sanjwilli commented 6 years ago

Hello, could you help with another situation? So I uploaded my project to GitHub and it works to some extent when I visit the page of my project I noticed that the CSS is not rendering so I checked the browser's console, And it's saying there is no CSS file to be found. So after checking the project, I noticed on git the ( _site ) file did not produce the CSS file. But when I am running it locally it works. Help me Please and Thanks

_site/ assets/ this is where the CSS file should be/ js/ index.html

ramonuchoa386 commented 6 years ago

Try type "{{site.baseurl}}" before the CSS path, at the LINK tag.

e.g.:

I believe you do not need to put the " / " after the {{site.baseurl}}. Try both.

ramonuchoa386 commented 6 years ago

Hi!

What's the name of your project?

2017-11-10 16:14 GMT-02:00 sanjwilli notifications@github.com:

Hello, could you help with another situation? So I uploaded my project to GitHub and it works to some extent when I visit the page of my project I noticed that the CSS is not rendering so I checked the browser's console, And it's saying there is no CSS file to be found. So after checking the project, I noticed on git the ( _site ) file did not produce the CSS file. But when I am running it locally it works. Help me Please and Thanks

_site/ assets/ / js/ index.html

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DevTips/Artists-Theme/issues/102#issuecomment-343546682, or mute the thread https://github.com/notifications/unsubscribe-auth/ARIeRdSYwdrBChIOur7OIyxqe5EvaDl3ks5s1JKLgaJpZM4QZWwQ .

ramonuchoa386 commented 6 years ago

Works fine for me...

[image: Imagem inline 1]

2017-11-27 18:48 GMT-02:00 Ramon Uchôa ramonuchoa386@gmail.com:

Hi!

What's the name of your project?

2017-11-10 16:14 GMT-02:00 sanjwilli notifications@github.com:

Hello, could you help with another situation? So I uploaded my project to GitHub and it works to some extent when I visit the page of my project I noticed that the CSS is not rendering so I checked the browser's console, And it's saying there is no CSS file to be found. So after checking the project, I noticed on git the ( _site ) file did not produce the CSS file. But when I am running it locally it works. Help me Please and Thanks

_site/ assets/ / js/ index.html

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DevTips/Artists-Theme/issues/102#issuecomment-343546682, or mute the thread https://github.com/notifications/unsubscribe-auth/ARIeRdSYwdrBChIOur7OIyxqe5EvaDl3ks5s1JKLgaJpZM4QZWwQ .

sirius2145 commented 4 years ago

Hello there I am really new for this things. I am now trying to do instruction you rpovided to start the web -site . So I manually downloaded files from github .Than in command rpomt I am writing

c:\WEB>cd art (path of downloaded zip file)

c:\WEB\Art>jekyll serve --watch Configuration file: c:/WEB/Art/_config.yml Source: c:/WEB/Art Destination: c:/WEB/Art/_site Incremental build: disabled. Enable with --incremental Generating... Conversion error: Jekyll::Converters::Sass encountered an error while converting 'assets/css/all.sass': Error: Invalid CSS after "$accent": expected 1 selector or at-rule, was ": #c99065;" on line 15:1 of all.sass >> $accent: #c99065; ^

  Jekyll 4.0.0   Please append `--trace` to the `serve` command
                 for any additional information or backtrace.
                ------------------------------------------------

And it gives this error.

What could be the reason?