Open Ali-Hussein-dev opened 1 year ago
I have Vercel installed it with the command npm i --force
but I run into a runtime error Could not parse multipart form
Node version: 18.15.0
Thanks for the report, I'll look into it :)
@Ali-Hussein-dev I reproduced the error and pushed a new version with a correct semver range :)
@cstrnt it solves the build time issue, but the runtime error Could not parse multipart form
doesn't disappear.
did you export the config?
yes
here is the full error message from Vercel. @cstrnt
TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:14062:11) at async /var/task/.next/server/pages/api/whisper.js:116:22 { cause: TypeError: object2 is not iterable at action (node:internal/deps/undici/undici:6123:39) at action.next (<anonymous>) at Object.pull (node:internal/deps/undici/undici:6169:52) at ensureIsPromise (node:internal/webstreams/util:190:19) at readableStreamDefaultControllerCallPullIfNeeded (node:internal/webstreams/readablestream:2229:5) at node:internal/webstreams/readablestream:2319:7 }
I'm pretty certain that this is not related to this library, but I would love to help you with it. Any chance you could create a reproduction on stackblitz / codesandbox?
Here is a link to the Stackblitz repo Repo You need to have an Openai key. I deployed it to vercel here is the link https://nextjs-whisper.vercel.app/ and have the same issue.
It seems like the contentType is not set properly, I will look into a fix!
Has this been fixed? I am facing a similar issue. Thank you.
I am using Next version
13.2.4
and have the following error when deploying to Vercel. Could not resolve dependency: While resolving: next-multiparty@0.6.3 Found: next@13.2.4