fix(mcp-server): remove yarn prefix from scripts to prevent state file crash#778
Merged
JeremyDev87 merged 1 commit intomasterfrom Mar 21, 2026
Merged
fix(mcp-server): remove yarn prefix from scripts to prevent state file crash#778JeremyDev87 merged 1 commit intomasterfrom
JeremyDev87 merged 1 commit intomasterfrom
Conversation
…e crash - Remove redundant `yarn` prefix from binary invocations (eslint, prettier, tsc, vitest, madge, ts-node) in package.json scripts - Inline `rm -rf dist/` in build script instead of `yarn clean` - Replace `yarn <script>` calls in validate with direct binary invocations - Prevents "Couldn't find the node_modules state file" crash when nested Yarn calls can't locate .yarn-state.yml Closes #765
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
yarnprefix from binary invocations (eslint, prettier, tsc, vitest, madge, ts-node) inapps/mcp-server/package.jsonscriptsrm -rf dist/in build script instead ofyarn cleanyarn <script>calls in validate with direct binary invocations.yarn-state.ymlwhich may not exist in worktrees or fresh clones, causing "Couldn't find the node_modules state file" crashTest plan
yarn workspace codingbuddy lintruns successfullyyarn workspace codingbuddy typecheckpassesyarn workspace codingbuddy format:checkpassesyarn workspace codingbuddy test:coverage— 4841 tests passyarn workspace codingbuddy circular— no circular depsyarn workspace codingbuddy build— builds successfullyCloses #765