Failed during stage ‘building site’: Deploying Angular app

Hi
I’m facing an issue while trying to deploy my Angular application on Netlify. Despite following the usual deployment steps, I’m getting an error that indicates the build process failed with a non-zero exit code :2
Can some one help me please
Deploy log for building :

7:03:52 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 2 (Search results for '"non-zero exit code: 2"' - Netlify Support Forums)
7:03:24 PM: Netlify Build
7:03:24 PM: ────────────────────────────────────────────────────────────────
7:03:24 PM: ​
7:03:24 PM: ❯ Version
7:03:24 PM: @netlify/build 29.20.11
7:03:24 PM: ​
7:03:24 PM: ❯ Flags
7:03:24 PM: baseRelDir: true
7:03:24 PM: buildId: 64f0d5d45a995618a1854637
7:03:24 PM: deployId: 64f0d5d45a995618a1854639
7:03:24 PM: ​
7:03:24 PM: ❯ Current directory
7:03:24 PM: /opt/build/repo
7:03:24 PM: ​
7:03:24 PM: ❯ Config file
7:03:24 PM: No config file was defined: using default values.
7:03:24 PM: ​
7:03:24 PM: ❯ Context
7:03:24 PM: production
7:03:24 PM: ​
7:03:24 PM: Build command from Netlify app
7:03:24 PM: ────────────────────────────────────────────────────────────────
7:03:24 PM: ​
7:03:24 PM: $ npm run build
7:03:24 PM: > ccsap@0.0.0 build
7:03:24 PM: > ng build
7:03:25 PM: - Generating browser application bundles (phase: setup)…
7:03:48 PM: :heavy_check_mark: Browser application bundle generation complete.
7:03:49 PM: :heavy_check_mark: Browser application bundle generation complete.
7:03:49 PM: - Copying assets…
7:03:49 PM: :heavy_check_mark: Copying assets complete.
7:03:49 PM: - Generating index html…
7:03:49 PM: - Generating index html…
7:03:49 PM: 2 rules skipped due to selector errors:
7:03:49 PM: .form-floating>~label → Did not expect successive traversals.
7:03:49 PM: .form-floating>~label → Did not expect successive traversals.
7:03:49 PM: :heavy_check_mark: Index html generation complete.
7:03:49 PM: Initial Chunk Files | Names | Raw Size | Estimated Transfer Size
7:03:49 PM: main.0cea01554559b8f3.js | main | 732.23 kB | 155.41 kB
7:03:49 PM: styles.94341ee141a07507.css | styles | 248.83 kB | 23.88 kB
7:03:49 PM: scripts.fc9b808b2bcfbc41.js | scripts | 198.76 kB | 58.04 kB
7:03:49 PM: polyfills.004c0f87581c5a92.js | polyfills | 33.01 kB | 10.66 kB
7:03:49 PM: runtime.c82c98cd2e16de38.js | runtime | 903 bytes | 520 bytes
7:03:49 PM:
7:03:49 PM: | Initial Total | 1.19 MB | 248.49 kB
7:03:49 PM:
7:03:49 PM: Build at: 2023-08-31T18:03:49.960Z - Hash: dfe5d9cafe919393 - Time: 23978ms
7:03:49 PM:
7:03:49 PM: Warning: /opt/build/repo/src/app/dev-mobile/dev-mobile.component.ts depends on ‘aos’. CommonJS or AMD dependencies can cause optimization bailouts.
7:03:49 PM: For more info see: Angular
7:03:49 PM:
7:03:49 PM:
7:03:50 PM: ​
7:03:50 PM: (build.command completed in 25.5s)
7:03:50 PM: ​
7:03:52 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
7:03:52 PM: Failing build: Failed to build site
7:03:52 PM: Finished processing build request in 50.285s

which site on your account are you referring to?

devappstore.netlify.app

i tried to drag and drop the folder of my Angular app in netlify and i’m getting this
netlify

https://wissem26.netlify.app/