Skip to content

[BUG] bin/setup script fails with yarn error and failed db:prepare #10

@arielj

Description

@arielj

Branch/Commit:

main branch

Expected behavior:

bin/setup should setup the application

Actual behavior:

It shows an error and fails to setup the application:

$ ./bin/setup 
== Installing dependencies ==
The Gemfile's dependencies are satisfied

== Preparing database ==
error Couldn't find an integrity file                                          
error Found 1 errors.                                                          


========================================
  Your Yarn packages are out of date!
  Please run `yarn install --check-files` to update.
========================================


To disable this check, please change `check_yarn_integrity`
to `false` in your webpacker config file (config/webpacker.yml).


yarn check v1.22.19
info Visit https://yarnpkg.com/en/docs/cli/check for documentation about this command.



== Command ["bin/rails db:prepare"] failed ==

Steps to reproduce:

  1. Step 1: Clone the repo
  2. Step 2: run bundle install
  3. Step 3: run ./bin/setup

I will abide by the [code of conduct] (https://github.com/fastruby/benchmark.fyi/blob/main/CODE_OF_CONDUCT.md)

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