Skip to content

Conversation

benjamincburns
Copy link
Contributor

@benjamincburns benjamincburns commented Oct 22, 2024

Unfortunately the initial release of @langchain/langgraph-checkpoint-validator is broken for two reasons.

  1. A bug in @swc-node/register attempts to resolve SWC packages from the CWD rather than the installed package's node_modules directory.
  2. The jest config used by the CLI wasn't included in the release because I forgot to add it to the files array in package.json.

I fixed the first issue by applying the workaround mentioned here: swc-project/swc-node#805 (comment).

I fixed the second issue by moving the runtime jest config into the src dir and making it a TS file.

I tested this locally using npm link and it seems to fix both issues.

Sorry for the hiccup!

@jacoblee93
Copy link
Collaborator

Thank you!

@jacoblee93 jacoblee93 merged commit 51250e1 into langchain-ai:main Oct 22, 2024
19 checks passed
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