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

Conversion error sass #102

Open
sanjwilli opened this issue Nov 10, 2017 · 7 comments
Open

Conversion error sass #102

sanjwilli opened this issue Nov 10, 2017 · 7 comments

Comments

@sanjwilli
Copy link

sanjwilli commented Nov 10, 2017

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
Copy link

ramonuchoa386 commented Nov 10, 2017

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
Copy link
Author

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
Copy link
Author

sanjwilli commented Nov 10, 2017

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
Copy link

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
Copy link

ramonuchoa386 commented Nov 27, 2017 via email

@ramonuchoa386
Copy link

ramonuchoa386 commented Nov 27, 2017 via email

@sirius2145
Copy link

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?

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

3 participants