Giter VIP home page Giter VIP logo

Comments (11)

Ali-Hussein-dev avatar Ali-Hussein-dev commented on June 15, 2024

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

from next-multiparty.

cstrnt avatar cstrnt commented on June 15, 2024

Thanks for the report, I'll look into it :)

from next-multiparty.

cstrnt avatar cstrnt commented on June 15, 2024

@Ali-Hussein-dev I reproduced the error and pushed a new version with a correct semver range :)

from next-multiparty.

Ali-Hussein-dev avatar Ali-Hussein-dev commented on June 15, 2024

@cstrnt it solves the build time issue, but the runtime error Could not parse multipart form doesn't disappear.

from next-multiparty.

cstrnt avatar cstrnt commented on June 15, 2024

did you export the config?

from next-multiparty.

Ali-Hussein-dev avatar Ali-Hussein-dev commented on June 15, 2024

yes

from next-multiparty.

Ali-Hussein-dev avatar Ali-Hussein-dev commented on June 15, 2024

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 }

from next-multiparty.

cstrnt avatar cstrnt commented on June 15, 2024

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?

from next-multiparty.

Ali-Hussein-dev avatar Ali-Hussein-dev commented on June 15, 2024

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.

from next-multiparty.

cstrnt avatar cstrnt commented on June 15, 2024

It seems like the contentType is not set properly, I will look into a fix!

from next-multiparty.

VukDukic avatar VukDukic commented on June 15, 2024

Has this been fixed? I am facing a similar issue. Thank you.

from next-multiparty.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.