LoginSignup
0
0

More than 3 years have passed since last update.

[Docker]dokcer-compose run で Please run `yarn install –check-files` to update.エラー

Last updated at Posted at 2020-12-15

はじめに

Docker環境を構築してる際にエラーが出たので、その解決方法をメモととして記事に残します。

Docker内の環境

ruby 2.6.3-alpine3.10
rails 6.0.1

事象

dokcer-compose run を実行すると下記エラーコードが出た。

エラーコード

Please run `yarn install –check-files` to update.

対処方法

config/environmet/development.rb に下記のyarnの設定に関するコードを追加する

config.webpacker.check_yarn_integrity = false

以上で解決できると思います。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0