I’m currently trying to fix the issue discussed here:
https://github.com/CopilotKit/CopilotKit/issues/2897
While working on this, I noticed that the official LangGraph JS example:
https://github.com/CopilotKit/with-langgraph-js
appears to be significantly outdated. The last update was around two months ago, and several dependencies no longer work properly in a fresh environment.
For example, the template still uses:
"@copilotkit/sdk-js": "1.10.6"
which is now quite old compared to the current ecosystem. Attempting to upgrade dependencies leads to multiple compatibility issues, and running the example as-is often fails due to dependency conflicts or breaking changes upstream.
It would be very helpful if the official LangGraph JS template could be updated to:
- Use current CopilotKit packages and compatible dependency versions
- Successfully run in a clean install environment
- Reflect the currently recommended setup for LangGraph + CopilotKit
Updating the example would significantly improve the onboarding experience and reduce friction for new users trying to adopt CopilotKit.