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

Missing normalize.scss dependency #16

Closed
swissspidy opened this issue Nov 12, 2018 · 4 comments
Closed

Missing normalize.scss dependency #16

swissspidy opened this issue Nov 12, 2018 · 4 comments

Comments

@swissspidy
Copy link

I added a _config.yml file in my /docs folder with the following content:

remote_theme: pmarsceill/just-the-docs

And now my GitHub Pages deployment is failing with the following error message:

Your SCSS file `assets/css/just-the-docs.scss` has an error on line 5: File to import not found or unreadable: ./normalize.scss/normalize...

Is there any other step I'm missing? The install steps from the readme seem to be meant for local development, not GitHub.

Plus, I cannot see how a Gemfile would change anything since the only place normalize.scss is referenced in is the package.json.

Perhaps it needs to be added as a real dependency and not just a development dependency?

Any help is greatly appreciated!

@shishirkeluskar
Copy link

I encountered same error.

Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/just-the-docs.scss':
                    File to import not found or unreadable: ./normalize.scss/normalize.scss. Load paths: /usr/local/bundle/gems/jekyll-theme-primer-0.5.3/_sass /tmp/jekyll-remote-theme-20181113-22157-k0pb0e/_sass on line 5

@nbransby
Copy link

Me too

@pmarsceill
Copy link
Collaborator

pmarsceill commented Nov 15, 2018

Hey, thanks for filing this.

I haven't tested this as a remote_theme yet... I will look into seeing how to include normalize here.

I can tell you that normalize.scss gets packaged into the Gemfile during the build process. So if you're installing it as Gem-based theme, you shouldn't get this error.

This was referenced Nov 15, 2018
@pmarsceill
Copy link
Collaborator

Fixed in #20

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

4 participants