netlify部署报错问题请帮忙,,

问题描述 投票:0回答:0

分发到netlify没有问题。突然出现错误,无法分发。您是否在互联网上搜索过,有人解决了这个问题吗?请帮忙😭😭

enter image description here

3:09:30 PM:在“构建站点”阶段失败:构建脚本返回非零退出代码:2(https://ntl.fyi/exit-code-2) 下午 3:09:29:1. 从 Netlify 应用构建命令
下午 3:09:29:────────────────────────────────────────── ────────────────────── 下午 3:09:29: 下午 3:09:29:$ bundle exec jekyll build 下午 3:09:29:激活捆绑器 (~> 2.4) 失败: 下午 3:09:29:找不到您的 /opt/build/repo/Gemfile.lock 所需的“bundler”(2.4.7)。 下午 3:09:29:要更新到系统上安装的最新版本,请运行

bundle update --bundler
。 下午 3:09:29:要安装缺少的版本,请运行
gem install bundler:2.4.7
下午 3:09:29:检查“GEM_PATH=/opt/buildhome/.gem/ruby/2.7.0:/opt/buildhome/.rvm/rubies/ruby-2.7.2/lib/ruby/gems/2.7”。 0',执行
gem env
获取更多信息 下午 3:09:29:要安装此项目所需的捆绑程序版本,请运行
gem install bundler -v '~> 2.4'
下午 3:09:29: 下午 3:09:29:“build.command”失败
下午 3:09:29:────────────────────────────────────────── ────────────────────── 下午 3:09:29: 下午 3:09:29:错误消息 下午 3:09:29:命令失败,退出代码为 42:bundle exec jekyll build (https://ntl.fyi/exit-code-42) 下午 3:09:29: 3:09:29 PM:错误位置 3:09:29 PM:在来自 Netlify 应用程序的构建命令中: 下午 3:09:29:捆绑执行 jekyll 构建 下午 3:09:29: 下午 3:09:29:已解决的配置 下午 3:09:29:构建: 下午 3:09:29:命令:bundle exec jekyll build 下午 3:09:29:命令来源:ui 下午 3:09:29:发布:/opt/build/repo/publish 下午 3:09:29:发布来源:ui

git deployment bundle bundler netlify
© www.soinside.com 2019 - 2024. All rights reserved.