From c1a4a1a21c450dd1c69962d93c5b4917733feb2c Mon Sep 17 00:00:00 2001 From: Abdusshh Date: Sat, 19 Apr 2025 14:56:48 +0300 Subject: [PATCH] Add troubleshooting section for ERR_MODULE_NOT_FOUND with bunx alternative --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 28cacb1..9007660 100644 --- a/README.md +++ b/README.md @@ -131,6 +131,25 @@ bun run build npx -y @modelcontextprotocol/inspector npx @upstash/context7-mcp@latest ``` +## Troubleshooting + +### ERR_MODULE_NOT_FOUND + +If you see this error, try using `bunx` instead of `npx`. + +```json +{ + "mcpServers": { + "context7": { + "command": "bunx", + "args": ["-y", "@upstash/context7-mcp@latest"] + } + } +} +``` + +This often resolves module resolution issues, especially in environments where `npx` does not properly install or resolve packages. + ## License MIT