langgraph-api workspace package not found #396

Closed
opened 2026-02-15 18:16:25 -05:00 by yindo · 0 comments
Owner

Originally created by @james-collapse on GitHub (Jan 9, 2026).

Checked other resources

  • I added a very descriptive title to this issue.
  • I searched the LangGraph.js documentation with the integrated search.
  • I used the GitHub search to find a similar question and didn't find it.
  • I am sure that this is a bug in LangGraph.js rather than my code.
  • The bug is not resolved by updating to the latest stable version of LangGraph (or the specific integration package).

Example Code

I'm getting the following error running pnpx @langchain/langgraph-cli dev:

 ERR_PNPM_WORKSPACE_PKG_NOT_FOUND  In : "@langchain/langgraph-api@workspace:*" is in the dependencies but no package named "@langchain/langgraph-api" is present in the workspace

This error happened while installing the dependencies of @langchain/langgraph-cli@1.1.9

To reproduce:

  1. Clone https://github.com/langchain-ai/lca-langgraph-essentials
  2. Navigate to the cloned repo
  3. Copy example.env to .env and populate API keys
  4. Run cd js
  5. Run pnpm install
  6. Run pnpm dev

This was working fine yesterday afternoon, so I wonder if it's related to the most recent release?

Error Message and Stack Trace (if applicable)

No response

Description

  • I'm trying to use the langchain/langgraph library to create an agent.
  • On running pnpm dev, I would expect the graph to load in Langsmith Studio.
  • Instead, I'm receiving the above error in the terminal.

System Info

Packages (pnpm list):

dependencies:
@langchain/anthropic 1.0.0
@langchain/core 1.0.1
@langchain/langgraph 1.0.0
@langchain/langgraph-sdk 1.0.0
@langchain/openai 1.0.0
uuid 10.0.0
zod 4.1.12

devDependencies:
@langchain/langgraph-cli 1.0.0
@types/node 20.19.22
@types/uuid 9.0.8
@typescript-eslint/eslint-plugin 6.21.0
@typescript-eslint/parser 6.21.0
eslint 8.57.1
prettier 3.6.2
tsx 4.20.6
typescript 5.9.3

Platform: Mac
Node version: v24.5.0
Package manager: pnpm

Originally created by @james-collapse on GitHub (Jan 9, 2026). ### Checked other resources - [x] I added a very descriptive title to this issue. - [x] I searched the LangGraph.js documentation with the integrated search. - [x] I used the GitHub search to find a similar question and didn't find it. - [x] I am sure that this is a bug in LangGraph.js rather than my code. - [x] The bug is not resolved by updating to the latest stable version of LangGraph (or the specific integration package). ### Example Code I'm getting the following error running `pnpx @langchain/langgraph-cli dev`: ```  ERR_PNPM_WORKSPACE_PKG_NOT_FOUND  In : "@langchain/langgraph-api@workspace:*" is in the dependencies but no package named "@langchain/langgraph-api" is present in the workspace This error happened while installing the dependencies of @langchain/langgraph-cli@1.1.9 ``` To reproduce: 1. Clone `https://github.com/langchain-ai/lca-langgraph-essentials` 2. Navigate to the cloned repo 3. Copy `example.env` to `.env` and populate API keys 2. Run `cd js` 3. Run `pnpm install` 4. Run `pnpm dev` This was working fine yesterday afternoon, so I wonder if it's related to the most recent release? ### Error Message and Stack Trace (if applicable) _No response_ ### Description * I'm trying to use the langchain/langgraph library to create an agent. * On running `pnpm dev`, I would expect the graph to load in Langsmith Studio. * Instead, I'm receiving the above error in the terminal. ### System Info Packages (`pnpm list`): ``` dependencies: @langchain/anthropic 1.0.0 @langchain/core 1.0.1 @langchain/langgraph 1.0.0 @langchain/langgraph-sdk 1.0.0 @langchain/openai 1.0.0 uuid 10.0.0 zod 4.1.12 devDependencies: @langchain/langgraph-cli 1.0.0 @types/node 20.19.22 @types/uuid 9.0.8 @typescript-eslint/eslint-plugin 6.21.0 @typescript-eslint/parser 6.21.0 eslint 8.57.1 prettier 3.6.2 tsx 4.20.6 typescript 5.9.3 ``` Platform: Mac Node version: v24.5.0 Package manager: pnpm
yindo closed this issue 2026-02-15 18:16:25 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#396