-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
2.2.1 release causing a jekyll-algolia "TypeError: no implicit conversion of nil into Hash after upgrading Gemfile" #138
Comments
@mkiser This bug has been addressed on # Gemfile
gem "jekyll-archives", git: "https://github.com/jekyll/jekyll-archives.git", branch: "master" Do get back to us and we shall release a |
I was using v2.2.1 as of today and it was causing this issue. Downgrading resolved the issue. Not sure I understand the point of versions and pointing to master. |
Pointing to master is a temporary move to test the fix that has not been released. You need not commit the change to your repo. Simply, testing with the |
@ashmaroli I have the same issue and tried to use this repo's |
Thanks for the feedback @nhoizey. Is the error / stack trace any different with the |
It looks they are the same: With
With
|
I don't if this comment from @borisschapira can help: |
The actual cause is reflected in @borisschapira's comment. def self.disable_other_plugins(config)
# Disable archive pages from jekyll-archives
- config['jekyll-archives'] = nil
+ config.delete("jekyll-archives") I could patch |
@jekyll/plugin-core Should we handle a |
I wouldn't handle it silently. We should detect an invalid configuration, print a warning, and then just disable the plugin. |
I don't think there's an API for that.. The easiest way is to abort the build.. |
You don't need an API for that and you don't need to abort the build. The plugin operations just need to do nothing. |
Ahh okay. I took your "disable the plugin" comment too seriously.. |
It appears that something in the v2.2.1 release is breaking the jekyll-aloglia plugin and resulting in a
TypeError: no implicit conversion of nil into Hash after upgrading Gemfile
errorReference: algolia/jekyll-algolia#121 (comment)
Wish I could provide more insight, but I'm out of my element here, unfortunately.
The text was updated successfully, but these errors were encountered: