You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my project built using NestJS, we have some code that imports moment like this:
import * as moment from 'moment'
When I try to use the langgraph server importing a graph, and this graph has further dependency on the existing code as above, it throws following error:
TypeError: moment is not a function
Is there any recommendation on how to make langgraph server and our nest server code work with the same code? This is just one example, it fails with many other imports that are like this.
Also, is there a way to use langgraph api server with an existing expressjs or nest server. It would be nice to import the langgraph routes and make it part of existing express based server.
The text was updated successfully, but these errors were encountered:
In my project built using NestJS, we have some code that imports moment like this:
When I try to use the langgraph server importing a graph, and this graph has further dependency on the existing code as above, it throws following error:
Is there any recommendation on how to make langgraph server and our nest server code work with the same code? This is just one example, it fails with many other imports that are like this.
Also, is there a way to use langgraph api server with an existing expressjs or nest server. It would be nice to import the langgraph routes and make it part of existing express based server.
The text was updated successfully, but these errors were encountered: