Skip to content

Next.js 14.0.4-canary.36 breaks build of turborepo on Vercel - Works up to 14.0.4-canary.35 #397

@avitorio

Description

@avitorio

Hi,

I've been struggling with a A Serverless Function has exceeded the unzipped maximum size of 250 MB error on my monorepo.
It uses turborepo and has been working fine (deploying on Vercel) for the past couple of years.

My serverless functions are including the /.next folder which is over 900mb uncompressed. It doesn't make any sense to me.

When the build is triggered via a commit with the GitHub/Vercel integration, then the build fails. If I click Redeploy on Vercel, the build works.

I believe the issue stems from the fact that Next.js 14.0.4-canary.36 has this change applied to it.

More info on the issue can be found here.

Any help is appreciated. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions