mirror of
https://github.com/upstash/context7.git
synced 2025-06-26 23:50:04 +00:00
Add troubleshooting section for ERR_MODULE_NOT_FOUND with bunx alternative
This commit is contained in:
parent
a628fc7cb4
commit
c1a4a1a21c
19
README.md
19
README.md
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user