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

Clearly document JEKYLL_ENV requirement on build environments #14

Closed
1 task done
mhanberg opened this issue May 22, 2020 · 3 comments
Closed
1 task done

Clearly document JEKYLL_ENV requirement on build environments #14

mhanberg opened this issue May 22, 2020 · 3 comments

Comments

@mhanberg
Copy link
Owner

mhanberg commented May 22, 2020

I think this needs to be more stressed. I figured the reason you mentioned it is that you're using the env variable in the postcss config on your demo repo only. I didn't realize it would hang in netlify and y local docker env.

Originally posted by @steveoh in #8 (comment)

Acceptance Criteria

  • The readme should clearly state that you should definitely set the JEKYLL_ENV in your build environment, or else your build is liable to hang and then fail.
@steveoh
Copy link

steveoh commented May 22, 2020

This bit me in docker as well as netlify.

currently debugging this issue now...

/usr/local/lib/ruby/2.7.0/json/common.rb:156:in `parse': 783: unexpected token at '⚠️  Tailwind is not purging unused styles because no template paths have been provided. (JSON::ParserError)
If you have manually configured PurgeCSS outside of Tailwind or are deliberately not
removing unused styles, set `purge: false` in your Tailwind config file to silence
this warning.

@mhanberg
Copy link
Owner Author

Can you elaborate on what JEKYLL_ENV has to do with that error? To me it looks like a tailwind misconfiguration.

@steveoh
Copy link

steveoh commented May 22, 2020

Can you elaborate on what JEKYLL_ENV has to do with that error? To me it looks like a tailwind misconfiguration.

Sorry yah they arent related. I should open a new issue if I wanted some help with that. I'll see if I can get it working first.

I should elaborate that my dev build env is docker so the jekyll build fails for me in development.

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

2 participants