我总是被装纱后。
=> Booting Puma
=> Rails 6.0.0.rc2 application starting in development
=> Run `rails server --help` for more startup options
Usage: yarn [options]
yarn: error: no such option: --integrity
========================================
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).
最佳答案
尝试:
node_modules
目录并再次运行yarn install
关于ruby-on-rails - 如何在终端中修复Yarn包已过期,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57258233/