[PR #7] [MERGED] fix: updates zod import #52

Closed
opened 2026-02-16 06:17:02 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/deepagentsjs/pull/7
Author: @Palashio
Created: 8/12/2025
Status: Merged
Merged: 8/12/2025
Merged by: @Palashio

Base: mainHead: palash/fix-anthropic-zod-import


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/graph.ts (+1 -1)

📄 Description

fixes this issue


⏺ Bash(node dist-examples/examples/test-example.js)
  ⎿  Error: node:internal/modules/esm/resolve:313
       return new ERR_PACKAGE_PATH_NOT_EXPORTED(
              ^

     Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './zod' is not defined by "exports" in /Users/palash/Desktop/test/deepagentsjs/node_modules/@langchain/anthropic/package.json imported from 
     /Users/palash/Desktop/test/deepagentsjs/dist-examples/src/graph.js
         at exportsNotFound (node:internal/modules/esm/resolve:313:10)
         at packageExportsResolve (node:internal/modules/esm/resolve:660:9)
         at packageResolve (node:internal/modules/esm/resolve:773:12)
         at moduleResolve (node:internal/modules/esm/resolve:853:18)
         at defaultResolve (node:internal/modules/esm/resolve:983:11)
     … +9 lines (ctrl+r to see all)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/deepagentsjs/pull/7 **Author:** [@Palashio](https://github.com/Palashio) **Created:** 8/12/2025 **Status:** ✅ Merged **Merged:** 8/12/2025 **Merged by:** [@Palashio](https://github.com/Palashio) **Base:** `main` ← **Head:** `palash/fix-anthropic-zod-import` --- ### 📝 Commits (1) - [`0effd88`](https://github.com/langchain-ai/deepagentsjs/commit/0effd8835c2eac9fa6b591b27168626c7d2d4d83) nit: fixes zod import ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/graph.ts` (+1 -1) </details> ### 📄 Description fixes this issue ``` ⏺ Bash(node dist-examples/examples/test-example.js) ⎿ Error: node:internal/modules/esm/resolve:313 return new ERR_PACKAGE_PATH_NOT_EXPORTED( ^ Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './zod' is not defined by "exports" in /Users/palash/Desktop/test/deepagentsjs/node_modules/@langchain/anthropic/package.json imported from /Users/palash/Desktop/test/deepagentsjs/dist-examples/src/graph.js at exportsNotFound (node:internal/modules/esm/resolve:313:10) at packageExportsResolve (node:internal/modules/esm/resolve:660:9) at packageResolve (node:internal/modules/esm/resolve:773:12) at moduleResolve (node:internal/modules/esm/resolve:853:18) at defaultResolve (node:internal/modules/esm/resolve:983:11) … +9 lines (ctrl+r to see all) ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 06:17:02 -05:00
yindo closed this issue 2026-02-16 06:17:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/deepagentsjs#52