Exit code 9 error

Hi, the following site is getting exit code 9 for no apparent reason:

https://sewell-stephens.netlify.app/

Please HELP!!!

9:25:14 PM: build-image version: fcb0c1b3ada6d25c1cb58e8bc514f5f23cc14f15 (focal)
9:25:14 PM: buildbot version: f395ea5f6f06715665ef60980f5ca024c32ca3b9
9:25:14 PM: Fetching cached dependencies
9:25:14 PM: Failed to fetch cache, continuing with build
9:25:14 PM: Starting to prepare the repo for build
9:25:15 PM: No cached dependencies found. Cloning fresh repo
9:25:15 PM: git clone --filter=blob:none https://github.com/sewellstephens/sewellstephens-portfolio
9:25:15 PM: Preparing Git Reference refs/heads/master
9:25:17 PM: Starting to install dependencies
9:25:17 PM: Python version set to 3.8
9:25:17 PM: Attempting Ruby version 2.7.2, read from environment
9:25:18 PM: Using Ruby version 2.7.2
9:25:18 PM: Started restoring cached go cache
9:25:18 PM: Finished restoring cached go cache
9:25:20 PM: go version go1.19.13 linux/amd64
9:25:20 PM: Using PHP version 8.0
9:25:21 PM: Downloading and installing node v18.19.1...
9:25:21 PM: Downloading https://nodejs.org/dist/v18.19.1/node-v18.19.1-linux-x64.tar.xz...
9:25:22 PM: Computing checksum with sha256sum
9:25:22 PM: Checksums matched!
9:25:24 PM: Now using node v18.19.1 (npm v10.2.4)
9:25:24 PM: Enabling Node.js Corepack
9:25:24 PM: Started restoring cached build plugins
9:25:24 PM: Finished restoring cached build plugins
9:25:24 PM: Started restoring cached corepack dependencies
9:25:24 PM: Finished restoring cached corepack dependencies
9:25:24 PM: No npm workspaces detected
9:25:24 PM: Started restoring cached node modules
9:25:24 PM: Finished restoring cached node modules
9:25:25 PM: Installing npm packages using npm version 10.2.4
9:25:28 PM: added 324 packages, and audited 325 packages in 3s
9:25:28 PM: 64 packages are looking for funding
9:25:28 PM:   run `npm fund` for details
9:25:28 PM: found 0 vulnerabilities
9:25:28 PM: npm packages installed
9:25:28 PM: Successfully installed dependencies
9:25:28 PM: Starting build script
9:25:29 PM: Detected 1 framework(s)
9:25:29 PM: "eleventy" at version "2.0.1"
9:25:29 PM: Section completed: initializing
9:25:31 PM: ​
9:25:31 PM: Netlify Build                                                 
9:25:31 PM: ────────────────────────────────────────────────────────────────
9:25:31 PM: ​
9:25:31 PM: ❯ Version
9:25:31 PM:   @netlify/build 29.35.1
9:25:31 PM: ​
9:25:31 PM: ❯ Flags
9:25:31 PM:   baseRelDir: true
9:25:31 PM:   buildId: 65ced588bbe8a167a84d977e
9:25:31 PM:   deployId: 65ced588bbe8a167a84d9780
9:25:31 PM: ​
9:25:31 PM: ❯ Current directory
9:25:31 PM:   /opt/build/repo
9:25:31 PM: ​
9:25:31 PM: ❯ Config file
9:25:31 PM:   No config file was defined: using default values.
9:25:31 PM: ​
9:25:31 PM: ❯ Context
9:25:31 PM:   production
9:25:31 PM: ​
9:25:31 PM: Build command from Netlify app                                
9:25:31 PM: ────────────────────────────────────────────────────────────────
9:25:31 PM: ​
9:25:31 PM: $ npm run build
9:25:32 PM: > build
9:25:32 PM: > eleventy && npx tailwindcss -i ./content/css/input.css -o ./dist/styles.css
9:25:32 PM: [11ty] Writing public/README/index.html from ./README.md (liquid)
9:25:32 PM: [11ty] Writing public/blog/index.html from ./blog.html (liquid)
9:25:32 PM: [11ty] Writing public/index.html from ./index.njk
9:25:32 PM: [11ty] Writing public/googleb5f5e85ec06c7378/index.html from ./googleb5f5e85ec06c7378.html (liquid)
9:25:32 PM: [11ty] Writing public/admin/index.html from ./admin/index.html (liquid)
9:25:32 PM: [11ty] Writing public/posts/axios-vs-Javascript-fetch/index.html from ./posts/axios-vs-Javascript-fetch.md (liquid)
9:25:32 PM: [11ty] Writing public/posts/why-I-chose-tailwind/index.html from ./posts/why-I-chose-tailwind.md (liquid)
9:25:32 PM: [11ty] Writing public/posts/creating-a-static-site-on-a-tight-budget/index.html from ./posts/creating-a-static-site-on-a-tight-budget.md (liquid)
9:25:32 PM: [11ty] Copied 23 files / Wrote 8 files in 0.19 seconds (v2.0.1)
9:25:33 PM: Failed during stage "building site": Build script returned non-zero exit code: 2
9:25:33 PM: Specified input file ./content/css/input.css does not exist.
9:25:33 PM: ​
9:25:33 PM: "build.command" failed                                        
9:25:33 PM: ────────────────────────────────────────────────────────────────
9:25:33 PM: ​
9:25:33 PM:   Error message
9:25:33 PM:   Command failed with exit code 9: npm run build (https://ntl.fyi/exit-code-9)
9:25:33 PM: ​
9:25:33 PM:   Error location
9:25:33 PM:   In Build command from Netlify app:
9:25:33 PM:   npm run build
9:25:33 PM: ​
9:25:33 PM:   Resolved config
9:25:33 PM:   build:
9:25:33 PM:     command: npm run build
9:25:33 PM:     commandOrigin: ui
9:25:33 PM:     publish: /opt/build/repo/public
9:25:33 PM:     publishOrigin: ui
9:25:33 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
9:25:33 PM: Failing build: Failed to build site
9:25:34 PM: Finished processing build request in 19.275s

Here is the reason for the build failure.

1 Like

hi, i already figured that this issue. Was actually about to come mark this resolved