Skip to content

Fix deploy build failure: add missing markdown-it dependency - #535

Merged
Brooooooklyn merged 3 commits into
mainfrom
copilot/fix-deploy-issue
Oct 6, 2026
Merged

Brooooooklyn merged 3 commits into
mainfrom
copilot/fix-deploy-issue

Conversation

Copilot AI commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

The deploy job on main (run on 2a31aed) fails in vite build. Every .md page errors in the void-md plugin with Cannot find module 'markdown-it'.

@void/md loads markdown-it-attrs, which does require('markdown-it'). markdown-it is only a peer dependency of markdown-it-attrs, and neither it nor @void/md provides it. It was never in yarn.lock, so with nodeLinker: node-modules nothing installs it. I did not establish why earlier builds avoided this.

  • package.json / yarn.lock: add markdown-it@^15.0.2 as a devDependency so the peer resolves.
   "autoprefixer": "^10.5.2",
+  "markdown-it": "^15.0.2",
   "postcss": "^8.5.16",

vite build succeeds locally with this change.

…build/deploy

Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
Copilot AI and others added 2 commits October 6, 2026 15:35
# Conflicts:
#	yarn.lock

Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
Copilot AI requested a review from Brooooooklyn October 6, 2026 15:36
@Brooooooklyn
Brooooooklyn marked this pull request as ready for review October 6, 2026 15:47
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@Brooooooklyn
Brooooooklyn merged commit d76c6f0 into main Oct 6, 2026
2 checks passed
@Brooooooklyn
Brooooooklyn deleted the copilot/fix-deploy-issue branch October 6, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants