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
Hi @expo/server use @remix-run/node@2.7.2 as part of the server api handling, my issue is with @remix-run/web-stream which I understand doesn't use native fetch and cause incompatibility other library with ReadableStream. like :
TypeError: First parameter has member 'readable' that is not a ReadableStream.
at assertReadableStream (/Users/x/test-ai/node_modules/web-streams-polyfill/src/lib/validators/readable-stream.ts:5:11)
at convertReadableWritablePair (/Users/x/test-ai/node_modules/web-streams-polyfill/src/lib/validators/readable-writable-pair.ts:15:3)
at ReadableStream.pipeThrough (/Users/x//test-ai/node_modules/web-streams-polyfill/src/lib/readable-stream.ts:223:23)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi
@expo/server use
@remix-run/node@2.7.2
as part of the server api handling, my issue is with@remix-run/web-stream
which I understand doesn't use native fetch and cause incompatibility other library withReadableStream
. like :https://github.com/vercel/ai/blob/4d458dfd1806e793b7b14acddb56ff48517b3b41/packages/provider-utils/src/response-handler.ts#L98
The error being raised is:
Is there a way for solve the issue ?
Beta Was this translation helpful? Give feedback.
All reactions