0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

rails serverの実行時にyarnに関するエラーが出たときの対処法

Posted at

'rails server'を実行したら、下記のようなエラーが出た。

========================================
  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.

対処法

こちらの記事を参照し、yarnの再インストールするのかと理解。
https://qiita.com/___fff_/items/2df7fb111954fd0db4ed

しかし、初学者でファイル操作を誤るとリカバリーが大変なので、とりあえず
'yarn instal'を実行したら、エラーが出なくなった。

大丈夫なのか・・・?

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?