Skip to content

Build failed for AWS Amplify  #175

Open
@niko-zvt

Description

@niko-zvt

In Gemfile add gem 'jekyll-archives', '~> 2.2', '>= 2.2.1' or gem 'jekyll-archives'.

source 'https://rubygems.org'
group :jekyll_plugins do
    gem 'jekyll'
    gem 'jekyll-archives', '~> 2.2', '>= 2.2.1'
    ...

AWS Amplify: Frontend build error

2023-10-23T15:19:07.402Z [INFO]: # Starting phase: build
                                 # Executing command: jekyll b
2023-10-23T15:19:10.601Z [WARNING]: /usr/local/rvm/rubies/ruby-2.7.6/lib/ruby/2.7.0/bundler/resolver.rb:290:in `block in verify_gemfile_dependencies_are_found!': Could not find gem 'jekyll-archives (~> 2.2, >= 2.2.1)' in any of the gem sources listed in your Gemfile. (Bundler::GemNotFound)
2023-10-23T15:19:10.605Z [WARNING]: from /usr/local/rvm/rubies/ruby-2.7.6/lib/ruby/2.7.0/bundler/resolver.rb:258:in `each'
                                    from /usr/local/rvm/rubies/ruby-2.7.6/lib/ruby/2.7.0/bundler/resolver.rb:258:in `verify_gemfile_dependencies_are_found!'
                                    from /usr/local/rvm/rubies/ruby-2.7.6/lib/ruby/2.7.0/bundler/resolver.rb:49:in `start'
                                    from /usr/local/rvm/rubies/ruby-2.7.6/lib/ruby/2.7.0/bundler/resolver.rb:22:in `resolve'
                                    from /usr/local/rvm/rubies/ruby-2.7.6/lib/ruby/2.7.0/bundler/definition.rb:258:in `resolve'
                                    from /usr/local/rvm/rubies/ruby-2.7.6/lib/ruby/2.7.0/bundler/definition.rb:170:in `specs'
                                    from /usr/local/rvm/rubies/ruby-2.7.6/lib/ruby/2.7.0/bundler/definition.rb:237:in `specs_for'
2023-10-23T15:19:10.606Z [WARNING]: from /usr/local/rvm/rubies/ruby-2.7.6/lib/ruby/2.7.0/bundler/definition.rb:226:in `requested_specs'
                                    from /usr/local/rvm/rubies/ruby-2.7.6/lib/ruby/2.7.0/bundler/runtime.rb:101:in `block in definition_method'
                                    from /usr/local/rvm/rubies/ruby-2.7.6/lib/ruby/2.7.0/bundler/runtime.rb:20:in `setup'
                                    from /usr/local/rvm/rubies/ruby-2.7.6/lib/ruby/2.7.0/bundler.rb:149:in `setup'
                                    from /usr/local/rvm/gems/ruby-2.7.6/gems/jekyll-4.3.2/lib/jekyll/plugin_manager.rb:52:in `require_from_bundler'
                                    from /usr/local/rvm/gems/ruby-2.7.6/gems/jekyll-4.3.2/exe/jekyll:11:in `<top (required)>'
                                    from /usr/local/rvm/gems/ruby-2.7.6/bin/jekyll:23:in `load'
                                    from /usr/local/rvm/gems/ruby-2.7.6/bin/jekyll:23:in `<main>'
                                    from /usr/local/rvm/gems/ruby-2.7.6/bin/ruby_executable_hooks:22:in `eval'
                                    from /usr/local/rvm/gems/ruby-2.7.6/bin/ruby_executable_hooks:22:in `<main>'
2023-10-23T15:19:10.611Z [ERROR]: !!! Build failed
2023-10-23T15:19:10.611Z [ERROR]: !!! Non-Zero Exit Code detected
2023-10-23T15:19:10.612Z [INFO]: # Starting environment caching...
2023-10-23T15:19:10.612Z [INFO]: # Environment caching completed
Terminating logging...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions