Q&A
解決したいこと
オリアプ開発中にrails できなくなりました。
Ruby on Railsでオリジナルアプリを作成中です。
rails db:migrateができず、rails db:migrate:reset を行いrails db:migrateをした際にエラーが発生しました。
解決方法を教えて下さい。
発生している問題・エラー
=> Booting Puma => Rails 6.0.4.8 application starting in development => Run `rails server --help` for more startup options warning Integrity check: Lock files don't match error Integrity check failed 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.18 info Visit https://yarnpkg.com/en/docs/cli/check for documentation about this command. Exiting
Yarn のパッケージが古くなっています!
アップデートするには yarn install --check-files
を実行してください。
と書いてあるためそのまま実行。すると下記エラーが記述されました。
yarn install v1.22.18 [1/5] 🔍 Validating package.json... [2/5] 🔍 Resolving packages... [3/5] 🚚 Fetching packages... error An unexpected error occurred: "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visiter/-/helper-builder-binary-assignment-operator-visiter-7.16.7.tgz: Request failed \"404 Not Found\"". info If you think this is a bug, please open a bug report with the information provided in "/Users/*******/projects/*******/yarn-error.log". info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
自分で試したこと
上記の通りyarn install --check-files
を実行しましたが、ここからどう対処すればよいか分からず行き詰まっています。
どなたか対処法が分かりましたらご教授お願いします。
回答1件
下記のような回答は推奨されていません。
このような回答には修正を依頼しましょう。