Add troubleshooting section for ERR_MODULE_NOT_FOUND with bunx alternative

This commit is contained in:
Abdusshh 2025-04-19 14:56:48 +03:00
parent a628fc7cb4
commit c1a4a1a21c

View File

@ -131,6 +131,25 @@ bun run build
npx -y @modelcontextprotocol/inspector npx @upstash/context7-mcp@latest 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 ## License
MIT MIT