rubyforgood / coral

An upcoming project for Ruby for Good
MIT License
13 stars 11 forks source link

In-container yarn install doesn't seem to work properly #7

Closed nihonjinrxs closed 4 years ago

nihonjinrxs commented 4 years ago

Despite yarn install completing successfully during web container build, when running, I see the following error:

web_1       | => Booting Puma
web_1       | => Rails 5.2.3 application starting in development 
web_1       | => Run `rails server -h` for more startup options
web_1       | warning Integrity check: System parameters don't match
web_1       | error Integrity check failed
web_1       | error Found 1 errors.
web_1       | 
web_1       | 
web_1       | ========================================
web_1       |   Your Yarn packages are out of date!
web_1       |   Please run `yarn install --check-files` to update.
web_1       | ========================================
web_1       | 
web_1       | 
web_1       | To disable this check, please change `check_yarn_integrity`
web_1       | to `false` in your webpacker config file (config/webpacker.yml).
web_1       | 
web_1       | 
web_1       | yarn check v1.16.0
web_1       | info Visit https://yarnpkg.com/en/docs/cli/check for documentation about this command.
web_1       | 
web_1       | 
web_1       | Exiting
bjmllr commented 4 years ago

Running docker-compose run --rm web yarn install --check-files made this message go away for me.