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
把包引入项目后,运行项目报错。
错误信息:Error: Invariant: Method expects to have requestAsyncStorage, none available
Error: Invariant: Method expects to have requestAsyncStorage, none available
at Module.headers (webpack-internal:///(sc_server)/./node_modules/next/dist/esm/client/components/headers.js:23:15)
at handleReqBailout (webpack-internal:///(sc_server)/./node_modules/next/dist/server/future/route-modules/app-route/helpers/proxy-request.js:76:35)
at Object.get (webpack-internal:///(sc_server)/./node_modules/next/dist/server/future/route-modules/app-route/helpers/proxy-request.js:96:13)
at requestOpenai (webpack-internal:///(sc_server)/./app/api/common.ts:15:24)
at requestSearXNG (webpack-internal:///(sc_server)/./app/api/chat-stream/search.ts:31:80)
at createStream (webpack-internal:///(sc_server)/./app/api/chat-stream/route.ts:15:105)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async POST (webpack-internal:///(sc_server)/./app/api/chat-stream/route.ts:43:24)
The text was updated successfully, but these errors were encountered:
把包引入项目后,运行项目报错。
错误信息:Error: Invariant: Method expects to have requestAsyncStorage, none available
Error: Invariant: Method expects to have requestAsyncStorage, none available
at Module.headers (webpack-internal:///(sc_server)/./node_modules/next/dist/esm/client/components/headers.js:23:15)
at handleReqBailout (webpack-internal:///(sc_server)/./node_modules/next/dist/server/future/route-modules/app-route/helpers/proxy-request.js:76:35)
at Object.get (webpack-internal:///(sc_server)/./node_modules/next/dist/server/future/route-modules/app-route/helpers/proxy-request.js:96:13)
at requestOpenai (webpack-internal:///(sc_server)/./app/api/common.ts:15:24)
at requestSearXNG (webpack-internal:///(sc_server)/./app/api/chat-stream/search.ts:31:80)
at createStream (webpack-internal:///(sc_server)/./app/api/chat-stream/route.ts:15:105)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async POST (webpack-internal:///(sc_server)/./app/api/chat-stream/route.ts:43:24)
The text was updated successfully, but these errors were encountered: