[GH-ISSUE #2921] [reference]: PostgresStore not exported from package entry point #2699

Open
opened 2026-06-05 17:26:20 -04:00 by yindo · 0 comments
Owner

Originally created by @ImErvin on GitHub (Mar 4, 2026).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/2921

Type of issue

issue / bug

Language

JavaScript

Product

LangGraph

Link to reference page

https://reference.langchain.com/javascript/langchain-langgraph-checkpoint-postgres/store/PostgresStore

Description

Problem

PostgresStore is not importable from any public subpath of @langchain/langgraph-checkpoint-postgres. Other reference docs have code snippets indicating that it can be imported

import { PostgresStore } from "@langchain/langgraph-checkpoint-postgres";

This does not resolve. The only working import path is through the internal dist directory which does not work at buildtime:

import { PostgresStore } from "@langchain/langgraph-checkpoint-postgres/dist/store";

Is this intentional?

Originally created by @ImErvin on GitHub (Mar 4, 2026). Original GitHub issue: https://github.com/langchain-ai/docs/issues/2921 ### Type of issue issue / bug ### Language JavaScript ### Product LangGraph ### Link to reference page https://reference.langchain.com/javascript/langchain-langgraph-checkpoint-postgres/store/PostgresStore ### Description ## Problem `PostgresStore` is not importable from any public subpath of `@langchain/langgraph-checkpoint-postgres`. Other [reference docs](https://docs.langchain.com/oss/javascript/deepagents/long-term-memory?_gl=1*1wuj1e*_gcl_au*OTI4MDIxODk2LjE3Njk0NzYwNTY.*_ga*MzU4Njg1MjMxLjE3Njk0NzYwNTc.*_ga_47WX3HKKY2*czE3NzI2NDc1MDUkbzcxJGcxJHQxNzcyNjQ5MDA4JGo2MCRsMCRoMA..#postgresstore-production) have code snippets indicating that it can be imported ```ts import { PostgresStore } from "@langchain/langgraph-checkpoint-postgres"; ``` This does not resolve. The only working import path is through the internal dist directory which does not work at buildtime: ```ts import { PostgresStore } from "@langchain/langgraph-checkpoint-postgres/dist/store"; ``` Is this intentional?
yindo added the externalreference labels 2026-06-05 17:26:20 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#2699