Angular 17 deploy error

7:22:57 PM: build-image version: 3ffff9df3d5419545acc1b673a54de348174406d (focal)
7:22:57 PM: buildbot version: 228d4ef7b03dfc60f183d3edd500451c6a4cc157
7:22:57 PM: Building without cache
7:22:57 PM: Starting to prepare the repo for build
7:22:57 PM: No cached dependencies found. Cloning fresh repo
7:22:57 PM: git clone --filter=blob:none https://github.com/FARCER/ehrdb
7:22:58 PM: Preparing Git Reference refs/heads/master
7:23:00 PM: Starting to install dependencies
7:23:00 PM: Python version set to 3.8
7:23:00 PM: Attempting Ruby version 2.7.2, read from environment
7:23:00 PM: Using Ruby version 2.7.2
7:23:01 PM: Started restoring cached go cache
7:23:01 PM: Finished restoring cached go cache
7:23:02 PM: go version go1.19.13 linux/amd64
7:23:03 PM: Using PHP version 8.0
7:23:04 PM: Downloading and installing node v18.19.0…
7:23:04 PM: Downloading https://nodejs.org/dist/v18.19.0/node-v18.19.0-linux-x64.tar.xz
7:23:04 PM: Computing checksum with sha256sum
7:23:04 PM: Checksums matched!
7:23:06 PM: Now using node v18.19.0 (npm v10.2.3)
7:23:06 PM: Enabling Node.js Corepack
7:23:06 PM: Started restoring cached build plugins
7:23:06 PM: Finished restoring cached build plugins
7:23:06 PM: Started restoring cached corepack dependencies
7:23:06 PM: Finished restoring cached corepack dependencies
7:23:06 PM: No npm workspaces detected
7:23:06 PM: Started restoring cached node modules
7:23:06 PM: Finished restoring cached node modules
7:23:07 PM: Installing npm packages using npm version 10.2.3
7:23:16 PM: npm WARN deprecated abab@2.0.6: Use your platform"s native atob() and btoa() methods instead
7:23:16 PM: added 992 packages, and audited 993 packages in 9s
7:23:16 PM: 119 packages are looking for funding
7:23:16 PM: run npm fund for details
7:23:16 PM: 4 moderate severity vulnerabilities
7:23:16 PM: To address all issues (including breaking changes), run:
7:23:16 PM: npm audit fix --force
7:23:16 PM: Run npm audit for details.
7:23:16 PM: npm packages installed
7:23:17 PM: Successfully installed dependencies
7:23:17 PM: Starting build script
7:23:18 PM: Detected 1 framework(s)
7:23:18 PM: “angular” at version “17.0.5”
7:23:18 PM: Section completed: initializing
7:23:19 PM: ​
7:23:19 PM: Netlify Build
7:23:19 PM: ────────────────────────────────────────────────────────────────
7:23:19 PM: ​
7:23:19 PM: ❯ Version
7:23:19 PM: @netlify/build 29.29.4
7:23:19 PM: ​
7:23:19 PM: ❯ Flags
7:23:19 PM: baseRelDir: true
7:23:19 PM: buildId: 656f4e5f3e054409401137e5
7:23:19 PM: deployId: 656f4e5f3e054409401137e7
7:23:19 PM: ​
7:23:19 PM: ❯ Current directory
7:23:19 PM: /opt/build/repo
7:23:19 PM: ​
7:23:19 PM: ❯ Config file
7:23:19 PM: No config file was defined: using default values.
7:23:19 PM: ​
7:23:19 PM: ❯ Context
7:23:19 PM: production
7:23:19 PM: ​
7:23:19 PM: ❯ Installing plugins
7:23:19 PM: - @netlify/angular-runtime@2.0.4
7:23:21 PM: ​
7:23:21 PM: ❯ Loading plugins
7:23:21 PM: - @netlify/angular-runtime@2.0.4 from Netlify app
7:23:22 PM: ​
7:23:22 PM: @netlify/angular-runtime (onPreBuild event)
7:23:22 PM: ────────────────────────────────────────────────────────────────
7:23:22 PM: ​
7:23:22 PM: ​
7:23:22 PM: (@netlify/angular-runtime onPreBuild completed in 11ms)
7:23:22 PM: ​
7:23:22 PM: Build command from Netlify app
7:23:22 PM: ────────────────────────────────────────────────────────────────
7:23:22 PM: ​
7:23:22 PM: $ npm run build
7:23:22 PM: > ehr-db-land@0.0.0 build
7:23:22 PM: > ng build
7:23:22 PM: - Building…
7:23:32 PM: ▲ [WARNING] src/app/modules/platform-page/components/architecture/architecture.component.scss exceeded maximum budget. Budget 2.00 kB was not met by 3.36 kB with a total of 5.36 kB.
7:23:32 PM:
7:23:32 PM:
7:23:32 PM: ▲ [WARNING] src/app/modules/platform-page/components/platform/platform.component.scss exceeded maximum budget. Budget 2.00 kB was not met by 341 bytes with a total of 2.33 kB.
7:23:32 PM:
7:23:32 PM:
7:23:32 PM: ▲ [WARNING] src/app/modules/index-page/components/overview/overview.component.scss exceeded maximum budget. Budget 2.00 kB was not met by 63 bytes with a total of 2.06 kB.
7:23:32 PM:
7:23:32 PM:
7:23:32 PM: ▲ [WARNING] src/app/modules/shared/components/header-nav/header-nav.component.scss exceeded maximum budget. Budget 2.00 kB was not met by 709 bytes with a total of 2.69 kB.
7:23:32 PM:
7:23:32 PM:
7:23:32 PM: ✘ [ERROR] src/app/modules/platform-page/components/architecture/architecture.component.scss exceeded maximum budget. Budget 4.00 kB was not met by 1.36 kB with a total of 5.36 kB.
7:23:32 PM:
7:23:32 PM:
7:23:33 PM: An unexpected error occurred: [object Object]
7:23:34 PM: ​
7:23:34 PM: “build.command” failed
7:23:34 PM: ────────────────────────────────────────────────────────────────
7:23:34 PM: ​
7:23:34 PM: Error message
7:23:34 PM: Command failed with exit code 1: npm run build (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
7:23:34 PM: ​
7:23:34 PM: Error location
7:23:34 PM: In Build command from Netlify app:
7:23:34 PM: npm run build
7:23:34 PM: ​
7:23:34 PM: Resolved config
7:23:34 PM: build:
7:23:34 PM: command: npm run build
7:23:34 PM: commandOrigin: ui
7:23:34 PM: environment:
7:23:34 PM: - CI
7:23:34 PM: publish: /opt/build/repo/dist/ehrdb/browser
7:23:34 PM: publishOrigin: ui
7:23:34 PM: plugins:
7:23:34 PM: - inputs: {}
7:23:34 PM: origin: ui
7:23:34 PM: package: “@netlify/angular-runtime”
7:23:34 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
7:23:34 PM: Failing build: Failed to build site
7:23:34 PM: Finished processing build request in 37.77s
7:23:34 PM: Failed during stage “building site”: Build script returned non-zero exit code: 2

Help please

Looks like a problem with your app and not Netlify.