Skip to content

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