-
Notifications
You must be signed in to change notification settings - Fork 34
Remove mcp/node_modules from repository #22
Copy link
Copy link
Open
Description
Issue
The mcp/node_modules/ directory is currently tracked in the repository, but it's already listed in .gitignore.
Problem
node_modulesdirectories should not be committed to git repositories- They significantly increase repository size
- They can cause issues when cloning/pulling (as seen with deleted files showing in
git status) - Dependencies should be installed via
npm installbased onpackage.json
Current .gitignore
# Node.js
node_modules/
mcp/node_modules/
package-lock.json
mcp/package-lock.json
Suggested Fix
# Remove from git tracking while keeping .gitignore entry
git rm -r --cached mcp/node_modules/
git commit -m "chore: remove mcp/node_modules from tracking"This will:
- Remove
node_modulesfrom the repository - Keep the
.gitignorerule to prevent future commits - Users can run
cd mcp && npm installto install dependencies locally
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels