我愿意在前端快速运行,而在后端只能完全使用,我愿意使用http://gems.rapidrailsthemes.com/中的主题。
当我想通过rails启动本地服务器时,系统通知我纱线包已过期。然后,我启动yarn install,并收到以下错误消息:
➜ casimodo_app git:(master) ✗ rails s
=> Booting Puma
=> Rails 5.1.5 application starting in development
=> Run `rails server -h` for more startup options
========================================
Your Yarn packages are out of date!
Please run `yarn install` to update.
========================================
To disable this check, please add `config.webpacker.check_yarn_integrity = false`
to your Rails development config file (config/environments/development.rb).
yarn check v1.12.1
error Couldn't find an integrity file
error Found 1 errors.
info Visit https://yarnpkg.com/en/docs/cli/check for documentation about this command.
Exiting
➜ casimodo_app git:(master) ✗ yarn install
yarn install v1.12.1
[1/4] Resolving packages...
[2/4] Fetching packages...
error upath@1.0.4: The engine "node" is incompatible with this module. Expected version ">=4 <=9". Got "11.0.0"
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
任何人都可以帮忙吗?
预先感谢您的帮助!
祝你有美好的一天,
最大