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

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

Open
arielj opened this issue Mar 20, 2023 · 1 comment
Open

Comments

@arielj
Copy link

arielj commented Mar 20, 2023

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)

@arielj
Copy link
Author

arielj commented Mar 20, 2023

after manually running yarn install, the bin/setup script fails to run due to missing database.yml config file.

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

1 participant