Hello! I need advice to debug deploy Netlify App
The version that deployed successfully 2 weeks ago is here, Netlify App but now won’t re-deploy, which makes me think it’s an issue with the dependency “just the docs” (this comes up in the error message. However, I can’t get the older deploy to re-deploy, even if I change the dependency to a really old verison of the plugin - not sure what I’m doing wrong.
Here is the failing deply log:
7:08:49 PM: ❯ Version
7:08:49 PM: @netlify/build 5.1.0
7:08:49 PM:
7:08:49 PM: ❯ Flags
7:08:49 PM: deployId: 5fa04afcd700b2000817da1d
7:08:49 PM: mode: buildbot
7:08:49 PM:
7:08:49 PM: ❯ Current directory
7:08:49 PM: /opt/build/repo
7:08:49 PM:
7:08:49 PM: ❯ Config file
7:08:49 PM: No config file was defined: using default values.
7:08:49 PM:
7:08:49 PM: ❯ Context
7:08:49 PM: production
7:08:49 PM:
7:08:49 PM: ❯ Loading plugins
7:08:49 PM: - netlify-plugin-minify-html@0.3.0 from Netlify app
7:08:49 PM:
7:08:49 PM: ┌───────────────────────────────────┐
7:08:49 PM: │ 1. Build command from Netlify app │
7:08:49 PM: └───────────────────────────────────┘
7:08:49 PM:
7:08:49 PM: $ bundle exec jekyll build
7:08:50 PM: Configuration file: /opt/build/repo/_config.yml
7:08:50 PM: Source: /opt/build/repo
7:08:50 PM: Destination: /opt/build/repo/_site
7:08:50 PM: Incremental build: disabled. Enable with --incremental
7:08:50 PM: Generating...
7:08:50 PM: Jekyll Feed: Generating feed for posts
7:08:53 PM: Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/just-the-docs-dark.scss':
7:08:53 PM: Undefined variable: "$nav-list-item-height-sm". on line 23
7:08:53 PM: jekyll 3.9.0 | Error: Undefined variable: "$nav-list-item-height-sm". on line 23
7:08:53 PM: Undefined variable: "$nav-list-item-height-sm". on line 23
7:08:53 PM: jekyll 3.9.0 | Error: Undefined variable: "$nav-list-item-height-sm". on line 23
7:08:53 PM:
7:08:53 PM: ┌─────────────────────────────┐
7:08:53 PM: │ "build.command" failed │
7:08:53 PM: └─────────────────────────────┘
7:08:53 PM:
7:08:53 PM: Error message
7:08:53 PM: Command failed with exit code 1: bundle exec jekyll build
7:08:53 PM:
7:08:53 PM: Error location
7:08:53 PM: In Build command from Netlify app:
7:08:53 PM: bundle exec jekyll build
7:08:53 PM:
7:08:53 PM: Resolved config
7:08:53 PM: build:
7:08:53 PM: command: bundle exec jekyll build
7:08:53 PM: commandOrigin: ui
7:08:53 PM: publish: /opt/build/repo/_site
7:08:53 PM: plugins:
7:08:53 PM: - inputs: {}
7:08:53 PM: origin: ui
7:08:53 PM: package: netlify-plugin-minify-html
[...]
7:08:59 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
7:08:59 PM: Failing build: Failed to build site
7:08:59 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2
7:08:59 PM: Finished processing build request in 59.672465463s