-
Notifications
You must be signed in to change notification settings - Fork 0
[BUG] Build Fails with dead links #22
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Affected Module
CI/CD
Bug Description
Current build attempts fail with this issue:
4:44:52 PM: vitepress v1.6.3
4:44:52 PM: - building client + server bundles...
4:44:55 PM:
4:44:55 PM: (!) Found dead link /tutorials/first-boot-aws in file reference/glossary.md
4:44:55 PM: (!) Found dead link /tutorials/local/first-boot-lima in file tutorials/index.md
4:44:55 PM: (!) Found dead link /tutorials/container/first-boot-oci in file tutorials/index.md
4:44:55 PM:
4:44:55 PM: If this is expected, you can disable this check via config. Refer: https://vitepress.dev/reference/site-config#ignoredeadlinks
4:44:55 PM:
4:44:55 PM: x Build failed in 2.90s
4:44:55 PM: ✖ building client + server bundles...
4:44:55 PM: build error:
4:44:55 PM: [vitepress] 3 dead link(s) found.
4:44:55 PM: [vitepress] 3 dead link(s) found.
4:44:55 PM: at Object.renderStart (file:///opt/build/repo/node_modules/.pnpm/vitepress@1.6.3_@algolia+client-search@5.49.2_@types+node@20.11.27_postcss@8.5.8_search-insights@2.17.3/node_modules/vitepress/dist/node/chunk-Zsoi3j4v.js:45027:15)
4:44:55 PM: at file:///opt/build/repo/node_modules/.pnpm/rollup@4.59.0/node_modules/rollup/dist/es/shared/node-entry.js:22571:40
4:44:55 PM: at async Promise.all (index 0)
4:44:55 PM: at async PluginDriver.hookParallel (file:///opt/build/repo/node_modules/.pnpm/rollup@4.59.0/node_modules/rollup/dist/es/shared/node-entry.js:22481:9)
4:44:55 PM: at async Bundle.generate (file:///opt/build/repo/node_modules/.pnpm/rollup@4.59.0/node_modules/rollup/dist/es/shared/node-entry.js:20603:13)
4:44:55 PM: at async file:///opt/build/repo/node_modules/.pnpm/rollup@4.59.0/node_modules/rollup/dist/es/shared/node-entry.js:23558:27
4:44:55 PM: at async catchUnfinishedHookActions (file:///opt/build/repo/node_modules/.pnpm/rollup@4.59.0/node_modules/rollup/dist/es/shared/node-entry.js:22925:16)
4:44:55 PM: ELIFECYCLE Command failed with exit code 1. (https://ntl.fyi/exit-code-1)
4:44:55 PM: make: *** [Makefile:39: build] Error 1
4:44:55 PM:
4:44:55 PM: "build.command" failed
4:44:55 PM: ────────────────────────────────────────────────────────────────
4:44:55 PM:
4:44:55 PM: Error message
4:44:55 PM: Command failed with exit code 2: make build (https://ntl.fyi/exit-code-2)
4:44:55 PM:
4:44:55 PM: Error location
4:44:55 PM: In Build command from Netlify app:
4:44:55 PM: make build
4:44:55 PM:
4:44:55 PM: Resolved config
4:44:55 PM: build:
4:44:55 PM: command: make build
4:44:55 PM: commandOrigin: ui
4:44:55 PM: environment:
4:44:55 PM: - REVIEW_ID
4:44:55 PM: publish: /opt/build/repo/docs/.vitepress/dist
4:44:55 PM: publishOrigin: ui
4:44:55 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
4:44:56 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
4:44:56 PM: Failing build: Failed to build site
4:44:56 PM: Finished processing build request in 17.263s
Most likely the link generation is broken. #20 is supposed to fix this, further debugging is required.
Expected Behaviour
No response
Steps to Reproduce
Attempt to run the build pipeline -> see issue
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working