Skip to content

Fix missing zod locale module #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

areibman
Copy link

Add zod as a direct dependency and update the package version to fix ERR_MODULE_NOT_FOUND when running via npx.

The ERR_MODULE_NOT_FOUND for zod/v3/locales/en.js occurred because zod was a transitive dependency of @modelcontextprotocol/sdk. When agentops-mcp was run via npx, the temporary installation did not correctly resolve zod's internal module paths, specifically its locales directory. Adding zod as a direct dependency ensures it is properly included and resolved.


Open in Cursor Open in Web

Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants