jekyll-minifier
jekyll-minifier copied to clipboard
Dependecy Error despite all dependecies
Fresh install of github-pages. Jekyll 3.6.2 so my _config.yml says
plugins:
- jekyll-pug
- jekyll-minifier
Constantly getting
Dependency Error: Yikes! It looks like you don't have jekyll-minifier or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- jekyll-minifier' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!
I even ran gem install jekyll-minified -include-dependencies
and no luck.
Any ideas?
I don't think you can use plugins with github pages.
We aren't deploying to GitHub pages.
The other plugin works just fine.
have you run bundle install?
Also, check your gemfile.lock, maybe you have a dependency locked to a version lower than you need for jekyll-minifier's dependencies
also, your first comment says you ran gem install jekyll-minified -include-dependencies
but you spelt jekyll-minifier wrong.
I am getting the same issue on macos gem 2.7.6; gem install jekyll-minifier.
All installs with no errors but errors on build or serve
I got some errors before when I had malformed JS files. I would copy out all your files and leave the most basic of a shell. Then build, then if it’s not erroring add back each file until you find out which isn’t proper.
Seems to work fine via the jekyll docker, so it must be a mac specific issue. Swapped to that.
Still getting the dependency issue described above :c
I can confirm and reproduce in a Dockerfile.
I am having the same issue, on mac as well.