Hi, here is my err log, i think it is a sample error but i do not konw.
Deploy URL: Netlify App
6:18:25 PM: Netlify Build
6:18:25 PM: ────────────────────────────────────────────────────────────────
6:18:25 PM:
6:18:25 PM: ❯ Version
6:18:25 PM: @netlify/build 29.20.11
6:18:25 PM:
6:18:25 PM: ❯ Flags
6:18:25 PM: baseRelDir: true
6:18:25 PM: buildId: 64f45d538d391702f754ddda
6:18:25 PM: deployId: 64f45d538d391702f754dddc
6:18:25 PM:
6:18:25 PM: ❯ Current directory
6:18:25 PM: /opt/build/repo
6:18:25 PM:
6:18:25 PM: ❯ Config file
6:18:25 PM: No config file was defined: using default values.
6:18:25 PM:
6:18:25 PM: ❯ Context
6:18:25 PM: production
6:18:25 PM:
6:18:25 PM: Build command from Netlify app
6:18:25 PM: ────────────────────────────────────────────────────────────────
6:18:25 PM:
6:18:25 PM: $ CI=‘’ npm run build
6:18:25 PM: > ti.bi@1.0.0 build
6:18:25 PM: > vitepress build
6:18:26 PM: vitepress v1.0.0-rc.10
6:18:26 PM: - building client + server bundles…
6:18:31 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)
6:18:30 PM: ✓ building client + server bundles…
6:18:30 PM: - rendering pages…
6:18:30 PM: ✓ rendering pages…
6:18:30 PM: build complete in 4.30s.
6:18:30 PM:
6:18:30 PM: (build.command completed in 4.7s)
6:18:30 PM:
6:18:31 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
6:18:31 PM: Failing build: Failed to build site
6:18:32 PM: Finished processing build request in 21.58s
i had set the ENV CI=false, and run CI=‘’ npm run build , but still non-zero exit, why?