I am currently experiencing issues with an application I am developing utilizing next.js and fastapi. I am hosting the api on heroku and the frontend on vercel. Since last night, deployment has been failing for the reason listed in the title and I am wondering what might be going on. I put pictures of my svg's that might be casuing this issue (I don't think so), and I also included my package.json which i dont think has any packages that would be too big. I have also included a picture of my app directory. I haven't tried to create any serverless functions purposefully
#A Serverless Function has exceeded the unzipped maximum size of 250 MB
43 messages · Page 1 of 1 (latest)
🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord
🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize
✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)
where is the build logs.. ?
oh wow its all... 0...
its just some display bug
which makes debugging a bit harder
try updating Nextjs version
Try deploying it again
Ok
Sec
@high compass samething
Are my dependecies to large?
spitting out the same numbers as the build above
Ur deps seems normal. If u have suspicion that the svg might causes issue, try exporting without them :"
Debugging 101
do you think something like this would cause issues
i dont think it owuld but idk
Idts, its only 54kb
experimental: {
outputFileTracingExcludes: {
'*': [
'node_modules/@swc/core-linux-x64-gnu',
'node_modules/@swc/core-linux-x64-musl',
'node_modules/@esbuild/linux-x64',
],
},
},
You think I need to do something like this?
Reading this thread right now https://github.com/orgs/vercel/discussions/103
@slender sable Did you end up figuring the fix for this? I'm having a similar issue