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
I attempted to develop an application running on the browser side based on langgraph.js. However, node:async_hooks was used in langgraphjs/libs/langgraph/src/setup/async_local_storage.ts:
Which causing an error during webpack building. The prompt was:
ERROR in node:async_hooks
Module build failed: UnhandledSchemeError: Reading from "node:async_hooks" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
Perhaps it's possible to consider changing node:async_hooks to async_hooks.
import{AsyncLocalStorage}from"async_hooks";
In this way, I can configure webpack to alias async_hooks to a local implementation to bypass the issue.
My webpack version is: 5.97.1
The text was updated successfully, but these errors were encountered:
I attempted to develop an application running on the browser side based on langgraph.js. However,
node:async_hooks
was used inlanggraphjs/libs/langgraph/src/setup/async_local_storage.ts
:langgraphjs/libs/langgraph/src/setup/async_local_storage.ts
Line 2 in 9f28e43
Which causing an error during webpack building. The prompt was:
Perhaps it's possible to consider changing
node:async_hooks
toasync_hooks
.In this way, I can configure webpack to alias async_hooks to a local implementation to bypass the issue.
My webpack version is:
5.97.1
The text was updated successfully, but these errors were encountered: