【发布时间】:2021-04-10 12:35:16
【问题描述】:
在开发服务器上,对于几乎没有部署的应用程序,rails 命令将不会执行,因为缺少完整性文件。
error Couldn't find an integrity file
error Found 1 errors.
========================================
Your Yarn packages are out of date!
Please run `yarn install --check-files` to update.
========================================
两者
yarn install --check-files
yarn install
导致同样的错误
compression-webpack-plugin@4.0.1: The engine "node" is incompatible with this module. Expected version ">= 10.13.0". Got "8.17.0"
Found incompatible module
Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
遗憾的是,“访问”提示没有用,因为它不处理节点引擎。
几乎没有部署,还没有 node-modules 目录,这是预期的。然而,在开发机器上有目录,并且在预编译资产时没有任何问题。
服务器上下文:
node -v
> v8.17.0
这种情况如何解除?
【问题讨论】:
-
你用的是什么操作系统?
标签: ruby-on-rails yarnpkg