50mb serverless function limit due to canvas module in back-end
Unanswered
Lakeland Terrier posted this in #help-forum
Lakeland TerrierOP
The problem is that I'm unable to build on vercel because of the 50mb serverless functions. I've tried parsing through the discussion but with no avail. Anyone have any tips? Been stuck here for days
https://github.com/orgs/vercel/discussions/884
https://github.com/orgs/vercel/discussions/884
6 Replies
did you try the solutions that are commented in the above github issue?
@tafutada777 did you try the solutions that are commented in the above github issue?
Lakeland TerrierOP
yes i did unfortunately and nothing is working. i'm very confused bc this did come out of no where and its stumping my whole process for three days now
i appreciate you taking the time to help!
Lakeland TerrierOP
hmm, i see. this wasn't a problem in the past, and now I'm trying to remove the canvas module that seems to hold a ton of memory, but after doing so and upgrading to nextjs 13.3.0 and (also react dom and react to 18.2.0), I'm still getting some new errors
This was my original problem in the past and i didnt know how to ignore the canvas rendering in serverless functions:
This was my original problem in the past and i didnt know how to ignore the canvas rendering in serverless functions:
here are the new errors after the upgrades:
does pnpm instead of npm to build change?