Site name: oleskv.netlify.app
- Build problems:
2:42:57 PM: Netlify Build
2:42:57 PM: ────────────────────────────────────────────────────────────────
2:42:57 PM:
2:42:57 PM: ❯ Version
2:42:57 PM: @netlify/build 29.21.1
2:42:57 PM:
2:42:57 PM: ❯ Flags
2:42:57 PM: baseRelDir: true
2:42:57 PM: buildId: 65117229e4fd4211ade5877d
2:42:57 PM: deployId: 65117229e4fd4211ade5877f
2:42:57 PM: packagePath: client
2:42:57 PM:
2:42:57 PM: ❯ Current directory
2:42:57 PM: /opt/build/repo
2:42:57 PM:
2:42:57 PM: ❯ Config file
2:42:57 PM: No config file was defined: using default values.
2:42:57 PM:
2:42:57 PM: ❯ Context
2:42:57 PM: production
2:42:57 PM:
2:42:57 PM: ❯ Installing plugins
2:42:57 PM: - @netlify/plugin-lighthouse@5.0.0
2:43:06 PM:
2:43:06 PM: ❯ Loading plugins
2:43:06 PM: - @netlify/plugin-lighthouse@5.0.0 from Netlify app
2:43:07 PM:
2:43:07 PM: Build command from Netlify app
2:43:07 PM: ────────────────────────────────────────────────────────────────
2:43:07 PM:
2:43:07 PM: $ npm run build
2:43:07 PM: > portfolio@0.0.1 build
2:43:07 PM: > astro build
2:43:08 PM: ◆ Astro collects completely anonymous usage data.
2:43:08 PM: This optional program helps shape our roadmap.
2:43:08 PM: Runnpm run astro telemetry disable
to opt-out.
2:43:08 PM: Details: Telemetry | Astro
2:43:08 PM: 11:43:08 AM [content] No content directory found. Skipping type generation.
2:43:08 PM: 11:43:08 AM [build] output target: static
2:43:08 PM: 11:43:08 AM [build] Collecting build info…
2:43:08 PM: 11:43:08 AM [build] Completed in 62ms.
2:43:08 PM: 11:43:08 AM [build] Building static entrypoints…
2:43:09 PM: Could not resolve “…/components/Navigation.astro” from “src/components/Header.astro”
2:43:09 PM: file: /opt/build/repo/src/components/Header.astro
2:43:09 PM: error Could not resolve “…/components/Navigation.astro” from “src/components/Header.astro”
2:43:09 PM: File:
2:43:09 PM: /opt/build/repo/src/components/Header.astro
2:43:09 PM: Stacktrace:
2:43:09 PM: RollupError: Could not resolve “…/components/Navigation.astro” from “src/components/Header.astro”
2:43:09 PM: at error (file:///opt/build/repo/node_modules/rollup/dist/es/shared/node-entry.js:2287:30)
2:43:09 PM: at ModuleLoader.handleInvalidResolvedId (file:///opt/build/repo/node_modules/rollup/dist/es/shared/node-entry.js:24855:24)
2:43:09 PM: at file:///opt/build/repo/node_modules/rollup/dist/es/shared/node-entry.js:24817:26
2:43:09 PM:
2:43:09 PM: “build.command” failed
2:43:09 PM: ────────────────────────────────────────────────────────────────
2:43:09 PM:
2:43:09 PM: Error message
2:43:09 PM: Command failed with exit code 1: npm run build (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
2:43:09 PM:
2:43:09 PM: Error location
2:43:09 PM: In Build command from Netlify app:
2:43:09 PM: npm run build
2:43:09 PM:
2:43:09 PM: Resolved config
2:43:09 PM: build:
2:43:09 PM: command: npm run build
2:43:09 PM: commandOrigin: ui
2:43:09 PM: environment:
2:43:09 PM: - CI
2:43:09 PM: publish: /opt/build/repo/build
2:43:09 PM: publishOrigin: ui
2:43:09 PM: functionsDirectory: /opt/build/repo/client/dist
2:43:09 PM: plugins:
2:43:09 PM: - inputs: {}
2:43:09 PM: origin: ui
2:43:09 PM: package: “@netlify/plugin-lighthouse”
2:43:11 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
2:43:11 PM: Failing build: Failed to build site
2:43:11 PM: Finished processing build request in 37.064s
2:43:11 PM: Failed during stage “building site”: Build script returned non-zero exit code: 2