fix: resolve make setup build failures for new contributors - #12
Draft
AdityaKumdale wants to merge 2 commits into
Draft
fix: resolve make setup build failures for new contributors#12AdityaKumdale wants to merge 2 commits into
AdityaKumdale wants to merge 2 commits into
Conversation
The pm run copy-wasm script in package.json references scripts/copy-wasm.js, but the file was never committed to the repo. This causes make setup to fail for new contributors with: Error: Cannot find module '...frontend/scripts/copy-wasm.js' The script copies tree-sitter WASM files from node_modules into the out/ build directory, which the extension needs at runtime for code parsing. Also updates frontend/.gitignore to un-ignore this specific build script (scripts/* was blanket-ignored for dev/test scripts).
The compile:mcp script bundles packages/mcp-server/src/index.ts via esbuild, which imports @modelcontextprotocol/sdk and zod. However, make setup never ran pm install in packages/mcp-server/, causing the build to fail with: X [ERROR] Could not resolve @modelcontextprotocol/sdk/server/mcp.js X [ERROR] Could not resolve zod This adds cd packages/mcp-server && npm install before the frontend compile step.
AdityaKumdale
marked this pull request as draft
June 10, 2026 12:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes make setup and npm run compile build failures for new contributors. A fresh clone previously failed due to a missing WASM copy script and missing dependencies for the MCP server.
Changes
Testing
cd frontend && npm run compile)cd backend && python main.py)Screenshots
N/A (Build system fixes only)