小编use*_*074的帖子

无法在 heroku 上构建和部署 Rails 6.0.4.1 应用程序 - 引发 gyp verb cli 错误

您好,我正在 heroku 上部署一个分支并抛出此错误。我还尝试部署一个工作完美的分支,但这也显示了相同的错误。

\n

本地纱线版本:1.22.17\n本地节点版本:v12.22.7\n请帮助!!!

\n

尝试在没有yarn.lock和package-lock的情况下构建相同的东西。

\n

这就是通过 CLI 启动 Heroku 部署构建日志的方式

\n
yarn install v1.22.17\nremote:        warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.\nremote:        [1/5] Validating package.json...\nremote:        [2/5] Resolving packages...\nremote:        [3/5] Fetching packages...\nremote:        [4/5] Linking dependencies...\nremote:        warning " > webpack-dev-server@4.6.0" has unmet peer dependency "webpack@^4.37.0 || ^5.0.0".\nremote:        warning …
Run Code Online (Sandbox Code Playgroud)

ruby heroku gyp ruby-on-rails-6

4
推荐指数
2
解决办法
3025
查看次数

标签 统计

gyp ×1

heroku ×1

ruby ×1

ruby-on-rails-6 ×1