The title says it. Has anyone experienced this problem? I upgraded my team’s plan to pro today, but every time I use the vercel cli to deploy my project, I constantly get the error, “size of uploaded file exceeds 300MB,” despite being on the pro plan. Why is this the case, and has anyone found a solution to this?
Hi, can you share screenshot? Sounds like your function is built and the size exceeds our 250MB maximum. Unfortunately this limit is a hard limit enforced by our upstream provider, so it’s not something we’re able to extend.
The general recommendation for this error message is to work on reducing function size, either by configuring includeFiles and excludeFiles, removing third party dependencies, or reducing the overall size of the function. You can refer to this document for more details: https://vercel.com/docs/functions/serverless-functions/runtimes#bundle-size-limits
Hi, I would like to stress that this is not the same issue as: A Serverless Function has exceeded the unzipped maximum size · vercel · Discussion #4354 · GitHub
I have also verified that none of my files are over 300 MB as a standalone and that the repo itself is less than 1GB. Please fix this. I’m a paid customer not receiving what I have paid for.
(venv) james@MacBook-Pro-254 SlaveGPT % git ls-files -z | xargs -0 du -ch | grep total$
691M total
(venv) james@MacBook-Pro-254 SlaveGPT % vercel --prod
Vercel CLI 39.2.2
❗️ Your Project was either deleted, transferred to a new Team, or you don’t have access to it anymore.
? Set up and deploy “~/Desktop/GitHub/SlaveGPT”? yes
? Which scope should contain your project? Wonjae Oh's projects
? Link to existing project? no
? What’s your project’s name? lucifer
? In which directory is your code located? ./
🔗 Linked to wonjae-ohs-projects/lucifer (created .vercel)
🔍 Inspect: https://vercel.com/wonjae-ohs-projects/lucifer/Ac3Fn3rbLGnroPbPUiZDkWYvR7n2 [12s]
✅ Production: https://lucifer-6ia5u44rq-wonjae-ohs-projects.vercel.app [12s]
Error: request to https://api.vercel.com/v13/deployments/dpl_Ac3Fn3rbLGnroPbPUiZDkWYvR7n2?teamId=team_pThFTaGSBx7Llm330KSt62Zm failed, reason: read ECONNRESET
Lastly, none of my “functions” are over 250MB.
Can you run vercel build
locally and then run grep
inside .vercel
folder?
Also does vercel build && vercel deploy --prebuilt
works?
Hi,
Thank you for responding. Here is the output for attemtping to deploy from a prebuilt artifact:
venv) james@MacBook-Pro-254 SlaveGPT % vercel build --prod
Vercel CLI 39.2.2
? No Project Settings found locally. Run `vercel pull` for retrieving them? yes
? Set up “~/Desktop/GitHub/SlaveGPT”? yes
? Which scope should contain your project? Wonjae Oh's projects
? Link to existing project? no
? What’s your project’s name? lucifer
? In which directory is your code located? ./
🔗 Linked to wonjae-ohs-projects/lucifer (created .vercel)
> Downloading `production` Environment Variables for wonjae-ohs-projects/lucifer
✅ Created .vercel/.env.production.local file [187ms]
> Downloading project settings
✅ Downloaded project settings to ~/Desktop/GitHub/SlaveGPT/.vercel/project.json [0ms]
WARN! Due to `builds` existing in your configuration file, the Build and Development Settings defined in your Project Settings will not apply. Learn More: https://vercel.link/unused-build-settings
Installing required dependencies...
✅ Build Completed in .vercel/output [12s]
(venv) james@MacBook-Pro-254 SlaveGPT % vercel deploy --prebuilt --prod
Vercel CLI 39.2.2
Error: File size (35856052384) is greater than 2 GiB
(venv) james@MacBook-Pro-254 SlaveGPT % vercel deploy .vercel/output --prebuilt --prod
Vercel CLI 39.2.2
? Set up and deploy “~/Desktop/GitHub/SlaveGPT/.vercel/output”? no
Canceled. Project not set up.
(venv) james@MacBook-Pro-254 SlaveGPT % vercel deploy .vercel/output --prebuilt --prod
Vercel CLI 39.2.2
? Set up and deploy “~/Desktop/GitHub/SlaveGPT/.vercel/output”? yes
? Which scope should contain your project? Wonjae Oh's projects
? Link to existing project? yes
? What’s the name of your existing project? lucifer
🔗 Linked to wonjae-ohs-projects/lucifer (created .vercel and added it to .gitignore)
Error: The "--prebuilt" option was used, but no prebuilt output found in ".vercel/output". Run `vercel build` to generate a local build.
(venv) james@MacBook-Pro-254 SlaveGPT % git ls-files -z | xargs -0 du -ch | grep total$
692M total
(venv) james@MacBook-Pro-254 SlaveGPT % du -sh .vercel/output
22M .vercel/output
As you can see, neither the tracked files nor .vercel/output are over 1GB. Neverthelsss, I constantly get the file size exceeded error.
Here is my vercel.json
{
"builds": [
{
"src": "frontend/",
"use": "@vercel/static-build",
"config": {
"buildCommand": "npm install && npm run build",
"outputDirectory": "build"
}
},
{
"src": "start.sh",
"use": "@vercel/python",
"config": {
"startCommand": "bash start.sh"
}
}
],
"routes": [
{
"src": "/api/(.*)",
"dest": "/$1"
},
{
"src": "/(.*)",
"dest": "/frontend/build/$1"
},
{
"handle": "filesystem"
}
]
}
Please have a look into this matter. It may be an issue on Vercel’s side. Thanks.
Update: I think the problem has to do with .vercelignore not being respected by vercel build. .vc-config.json contains files from venv and .git in its filePathMap despite the fact that they are instructed to be ignored in .vercelignore as well as vercel.json
venv) james@MacBook-Pro-254 SlaveGPT % vercel build --prod --debug
> [debug] [2024-12-19T10:11:01.452Z] Found config in file "/Users/james/Desktop/GitHub/SlaveGPT/vercel.json"
Vercel CLI 39.2.2
> [debug] [2024-12-19T10:11:01.460Z] user supplied known subcommand: "build"
> [debug] [2024-12-19T10:11:01.501Z] Setting target to production
> [debug] [2024-12-19T10:11:01.521Z] Found ".git/config" - detected "/Users/james/Desktop/GitHub/SlaveGPT" as repo root
? No Project Settings found locally. Run `vercel pull` for retrieving them? yes
> [debug] [2024-12-19T10:11:20.787Z] Found ".git/config" - detected "/Users/james/Desktop/GitHub/SlaveGPT" as repo root
? Set up “~/Desktop/GitHub/SlaveGPT”? yes
> [debug] [2024-12-19T10:11:33.471Z] Spinner invoked (Loading scopes…) with a 1000ms delay
> [debug] [2024-12-19T10:11:33.484Z] #1 → GET https://api.vercel.com/v2/user
> [debug] [2024-12-19T10:11:33.488Z] #2 → GET https://api.vercel.com/v1/teams
> [debug] [2024-12-19T10:11:33.955Z] #2 ← 200 OK: sfo1::x2vx2-1734603093897-b3970fd7c949 [467ms]
> [debug] [2024-12-19T10:11:33.959Z] #1 ← 200 OK: sfo1::9n9cd-1734603093901-d4cbe9423ec2 [475ms]
? Which scope should contain your project? Wonjae Oh's projects
> [debug] [2024-12-19T10:11:35.705Z] Spinner invoked (Searching for existing projects…) with a 1000ms delay
> [debug] [2024-12-19T10:11:35.707Z] #3 → GET https://api.vercel.com/v9/projects/SlaveGPT?teamId=team_pThFTaGSBx7Llm330KSt62Zm
> [debug] [2024-12-19T10:11:35.711Z] #4 → GET https://api.vercel.com/v9/projects/slave-gpt?teamId=team_pThFTaGSBx7Llm330KSt62Zm
> [debug] [2024-12-19T10:11:35.871Z] #4 ← 404 Not Found: sfo1::x2vx2-1734603095821-a080373f0f6a [160ms]
> [debug] [2024-12-19T10:11:35.878Z] #3 ← 404 Not Found: sfo1::9n9cd-1734603095821-180914feff87 [171ms]
? Link to existing project? no
? What’s your project’s name? lucifer> [debug] [2024-12-19T10:11:40.930Z] #5 → GET https://api.vercel.com/v9/projects/lucifer?teamId=team_pThFTaGSBx7Llm330KSt62Zm
⠙ What’s your project’s name? lucifer> [debug] [2024-12-19T10:11:41.093Z] #5 ← 404 Not Found: sfo1::9n9cd-1734603101043-2a67bfe6b334 [163ms]
? What’s your project’s name? lucifer
? In which directory is your code located? ./
> [debug] [2024-12-19T10:11:45.774Z] #6 → POST https://api.vercel.com/v1/projects?teamId=team_pThFTaGSBx7Llm330KSt62Zm
> [debug] [2024-12-19T10:11:46.071Z] #6 ← 200 OK: sfo1::9n9cd-1734603105887-e88a46d97946 [297ms]
> [debug] [2024-12-19T10:11:46.112Z] Found ".git/config" - detected "/Users/james/Desktop/GitHub/SlaveGPT" as repo root
🔗 Linked to wonjae-ohs-projects/lucifer (created .vercel)
> Downloading `production` Environment Variables for wonjae-ohs-projects/lucifer
> [debug] [2024-12-19T10:11:46.118Z] Spinner invoked (Downloading) with a 300ms delay
> [debug] [2024-12-19T10:11:46.118Z] Fetching Environment Variables of project prj_ecbpOLAYCOs0NKbL9u4qKJPblyVS and target production
> [debug] [2024-12-19T10:11:46.119Z] #7 → GET https://api.vercel.com/v2/env/pull/prj_ecbpOLAYCOs0NKbL9u4qKJPblyVS/production?source=vercel-cli%3Apull&teamId=team_pThFTaGSBx7Llm330KSt62Zm
> [debug] [2024-12-19T10:11:46.295Z] #7 ← 200 OK: sfo1::9n9cd-1734603106229-657321fdbc80 [176ms]
✅ Created .vercel/.env.production.local file [180ms]
> Downloading project settings
✅ Downloaded project settings to ~/Desktop/GitHub/SlaveGPT/.vercel/project.json [0ms]
> [debug] [2024-12-19T10:11:46.307Z] Loaded environment variables from "/Users/james/Desktop/GitHub/SlaveGPT/.vercel/.env.production.local"
> [debug] [2024-12-19T10:11:46.313Z] Locating files /Users/james/Desktop/GitHub/SlaveGPT
> [debug] [2024-12-19T10:11:46.314Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/.DS_Store
> [debug] [2024-12-19T10:11:46.316Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/.env
> [debug] [2024-12-19T10:11:46.316Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/.git
> [debug] [2024-12-19T10:11:46.316Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/.gitignore
> [debug] [2024-12-19T10:11:46.317Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/.vercel
> [debug] [2024-12-19T10:11:46.318Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/venv
> [debug] [2024-12-19T10:11:46.319Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/MaliciousInstruct/.DS_Store
> [debug] [2024-12-19T10:11:46.319Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/AutoGPTQ/.DS_Store
> [debug] [2024-12-19T10:11:46.319Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/AutoGPTQ/.gitignore
> [debug] [2024-12-19T10:11:46.319Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/Semantic_Cipher/__pycache__
> [debug] [2024-12-19T10:11:46.319Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/WizardLM-1.0-Uncensored-CodeLlama-34B-GGUF/wizardlm-1.0-uncensored-codellama-34b.Q8_0.gguf
> [debug] [2024-12-19T10:11:46.319Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/app/.DS_Store
> [debug] [2024-12-19T10:11:46.320Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/app/__pycache__
> [debug] [2024-12-19T10:11:46.320Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/css/.DS_Store
> [debug] [2024-12-19T10:11:46.320Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/database/.DS_Store
> [debug] [2024-12-19T10:11:46.320Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/do-not-answer/.DS_Store
> [debug] [2024-12-19T10:11:46.320Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/fine_tuning/__pycache__
> [debug] [2024-12-19T10:11:46.320Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/importer/.DS_Store
> [debug] [2024-12-19T10:11:46.320Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/importer/__pycache__
> [debug] [2024-12-19T10:11:46.320Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/js/.DS_Store
> [debug] [2024-12-19T10:11:46.320Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/frontend/.DS_Store
> [debug] [2024-12-19T10:11:46.321Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/frontend/.env
> [debug] [2024-12-19T10:11:46.321Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/frontend/.gitignore
> [debug] [2024-12-19T10:11:46.321Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/frontend/node_modules
> [debug] [2024-12-19T10:11:46.321Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/.DS_Store
> [debug] [2024-12-19T10:11:46.321Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/malicious-llm-prompts-v4/.DS_Store
> [debug] [2024-12-19T10:11:46.321Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/modules/.DS_Store
> [debug] [2024-12-19T10:11:46.322Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/modules/__pycache__
> [debug] [2024-12-19T10:11:46.322Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/processed_source_code/.DS_Store
> [debug] [2024-12-19T10:11:46.322Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/processed_source_docs/.DS_Store
> [debug] [2024-12-19T10:11:46.323Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/paper/.DS_Store
> [debug] [2024-12-19T10:11:46.324Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/saved_conversations/.DS_Store
> [debug] [2024-12-19T10:11:46.324Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/source_code/.DS_Store
> [debug] [2024-12-19T10:11:46.324Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/uploaded_files/.DS_Store
> [debug] [2024-12-19T10:11:46.324Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/source_docs/.DS_Store
> [debug] [2024-12-19T10:11:46.326Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/AutoGPTQ/.github/.DS_Store
> [debug] [2024-12-19T10:11:46.326Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/AutoGPTQ/auto_gptq/.DS_Store
> [debug] [2024-12-19T10:11:46.326Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/AutoGPTQ/autogptq_extension/.DS_Store
> [debug] [2024-12-19T10:11:46.327Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/AutoGPTQ/examples/.DS_Store
> [debug] [2024-12-19T10:11:46.327Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/AutoGPTQ/auto_gptq.egg-info/PKG-INFO
> [debug] [2024-12-19T10:11:46.327Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/AutoGPTQ/auto_gptq.egg-info/SOURCES.txt
> [debug] [2024-12-19T10:11:46.327Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/AutoGPTQ/auto_gptq.egg-info/dependency_links.txt
> [debug] [2024-12-19T10:11:46.327Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/AutoGPTQ/auto_gptq.egg-info/requires.txt
> [debug] [2024-12-19T10:11:46.327Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/AutoGPTQ/auto_gptq.egg-info/top_level.txt
> [debug] [2024-12-19T10:11:46.327Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/AutoGPTQ/dist/auto_gptq-0.8.0.dev0-py3.11.egg
> [debug] [2024-12-19T10:11:46.328Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/do-not-answer/cdna/.DS_Store
> [debug] [2024-12-19T10:11:46.328Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/do-not-answer/datasets/.DS_Store
> [debug] [2024-12-19T10:11:46.328Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/frontend/src/.DS_Store
> [debug] [2024-12-19T10:11:46.328Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/frontend/dist/electron-main.js
> [debug] [2024-12-19T10:11:46.328Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/.github/.DS_Store
> [debug] [2024-12-19T10:11:46.329Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/cookbook/.DS_Store
> [debug] [2024-12-19T10:11:46.330Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/.DS_Store
> [debug] [2024-12-19T10:11:46.330Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/docs/.DS_Store
> [debug] [2024-12-19T10:11:46.330Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/docs/.gitignore
> [debug] [2024-12-19T10:11:46.331Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/malicious-llm-prompts-v4/data/.DS_Store
> [debug] [2024-12-19T10:11:46.331Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/modules/grammar/__pycache__
> [debug] [2024-12-19T10:11:46.331Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/paper/Conference-LaTeX-template_10-17-19/.DS_Store
> [debug] [2024-12-19T10:11:46.331Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/paper/figures/.DS_Store
> [debug] [2024-12-19T10:11:46.331Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/paper/Large_Language_Model_Corruption_as_an_Emergent_Ability_of_Neuroplastic_Adversarial_Fine_Tuning/.DS_Store
> [debug] [2024-12-19T10:11:46.331Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/paper/paper/.DS_Store
> [debug] [2024-12-19T10:11:46.332Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/.DS_Store
> [debug] [2024-12-19T10:11:46.332Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/.gitignore
> [debug] [2024-12-19T10:11:46.340Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/cli/.gitignore
> [debug] [2024-12-19T10:11:46.340Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/langchain/.dockerignore
> [debug] [2024-12-19T10:11:46.341Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/docs/docs/.DS_Store
> [debug] [2024-12-19T10:11:46.341Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/docs/docs/.gitignore
> [debug] [2024-12-19T10:11:46.345Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/openai-functions-agent-gmail/.gitignore
> [debug] [2024-12-19T10:11:46.345Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/openai-functions-tool-retrieval-agent/.gitignore
> [debug] [2024-12-19T10:11:46.346Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/pirate-speak-configurable/.gitignore
> [debug] [2024-12-19T10:11:46.347Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/python-lint/.gitignore
> [debug] [2024-12-19T10:11:46.347Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/propositional-retrieval/.gitignore
> [debug] [2024-12-19T10:11:46.348Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/rag-chroma-multi-modal/.gitignore
> [debug] [2024-12-19T10:11:46.348Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/rag-chroma-multi-modal-multi-vector/.gitignore
> [debug] [2024-12-19T10:11:46.349Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/rag-gemini-multi-modal/.gitignore
> [debug] [2024-12-19T10:11:46.350Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/rag-multi-index-fusion/.gitignore
> [debug] [2024-12-19T10:11:46.350Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/rag-multi-index-router/.gitignore
> [debug] [2024-12-19T10:11:46.351Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/rag-opensearch/.gitignore
> [debug] [2024-12-19T10:11:46.351Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/rag-multi-modal-mv-local/.gitignore
> [debug] [2024-12-19T10:11:46.351Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/rag-multi-modal-local/.gitignore
> [debug] [2024-12-19T10:11:46.351Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/rag-redis-multi-modal-multi-vector/.gitignore
> [debug] [2024-12-19T10:11:46.352Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/rag-supabase/.gitignore
> [debug] [2024-12-19T10:11:46.352Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/retrieval-agent-fireworks/.gitignore
> [debug] [2024-12-19T10:11:46.353Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/robocorp-action-server/.gitignore
> [debug] [2024-12-19T10:11:46.353Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/self-query-qdrant/.gitignore
> [debug] [2024-12-19T10:11:46.353Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/skeleton-of-thought/.gitignore
> [debug] [2024-12-19T10:11:46.353Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/self-query-supabase/.gitignore
> [debug] [2024-12-19T10:11:46.353Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/retrieval-agent/.gitignore
> [debug] [2024-12-19T10:11:46.354Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/sql-pgvector/.gitignore
> [debug] [2024-12-19T10:11:46.354Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/sql-research-assistant/.gitignore
> [debug] [2024-12-19T10:11:46.359Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/partners/airbyte/.gitignore
> [debug] [2024-12-19T10:11:46.360Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/partners/astradb/.gitignore
> [debug] [2024-12-19T10:11:46.360Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/partners/anthropic/.gitignore
> [debug] [2024-12-19T10:11:46.360Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/partners/fireworks/.gitignore
> [debug] [2024-12-19T10:11:46.360Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/partners/elasticsearch/.gitignore
> [debug] [2024-12-19T10:11:46.360Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/partners/ai21/.gitignore
> [debug] [2024-12-19T10:11:46.360Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/partners/exa/.gitignore
> [debug] [2024-12-19T10:11:46.360Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/partners/groq/.gitignore
> [debug] [2024-12-19T10:11:46.360Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/partners/ibm/.gitignore
> [debug] [2024-12-19T10:11:46.360Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/partners/mistralai/.gitignore
> [debug] [2024-12-19T10:11:46.360Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/partners/mongodb/.gitignore
> [debug] [2024-12-19T10:11:46.360Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/partners/nomic/.gitignore
> [debug] [2024-12-19T10:11:46.361Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/partners/openai/.gitignore
> [debug] [2024-12-19T10:11:46.361Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/partners/voyageai/.gitignore
> [debug] [2024-12-19T10:11:46.361Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/partners/pinecone/.gitignore
> [debug] [2024-12-19T10:11:46.361Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/partners/robocorp/.gitignore
> [debug] [2024-12-19T10:11:46.361Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/partners/together/.gitignore
> [debug] [2024-12-19T10:11:46.368Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/openai-functions-agent-gmail/.gitignore
> [debug] [2024-12-19T10:11:46.368Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/openai-functions-tool-retrieval-agent/.gitignore
> [debug] [2024-12-19T10:11:46.368Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/python-lint/.gitignore
> [debug] [2024-12-19T10:11:46.369Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/propositional-retrieval/.gitignore
> [debug] [2024-12-19T10:11:46.369Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/pirate-speak-configurable/.gitignore
> [debug] [2024-12-19T10:11:46.369Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/rag-chroma-multi-modal/.gitignore
> [debug] [2024-12-19T10:11:46.369Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/rag-chroma-multi-modal-multi-vector/.gitignore
> [debug] [2024-12-19T10:11:46.370Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/rag-gemini-multi-modal/.gitignore
> [debug] [2024-12-19T10:11:46.370Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/rag-multi-index-fusion/.gitignore
> [debug] [2024-12-19T10:11:46.370Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/rag-multi-modal-local/.gitignore
> [debug] [2024-12-19T10:11:46.370Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/rag-multi-modal-mv-local/.gitignore
> [debug] [2024-12-19T10:11:46.372Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/rag-multi-index-router/.gitignore
> [debug] [2024-12-19T10:11:46.372Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/rag-redis-multi-modal-multi-vector/.gitignore
> [debug] [2024-12-19T10:11:46.372Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/rag-opensearch/.gitignore
> [debug] [2024-12-19T10:11:46.372Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/rag-supabase/.gitignore
> [debug] [2024-12-19T10:11:46.373Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/robocorp-action-server/.gitignore
> [debug] [2024-12-19T10:11:46.373Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/retrieval-agent/.gitignore
> [debug] [2024-12-19T10:11:46.373Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/retrieval-agent-fireworks/.gitignore
> [debug] [2024-12-19T10:11:46.373Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/self-query-qdrant/.gitignore
> [debug] [2024-12-19T10:11:46.373Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/self-query-supabase/.gitignore
> [debug] [2024-12-19T10:11:46.374Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/skeleton-of-thought/.gitignore
> [debug] [2024-12-19T10:11:46.374Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/sql-pgvector/.gitignore
> [debug] [2024-12-19T10:11:46.374Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/templates/packages/sql-research-assistant/.gitignore
> [debug] [2024-12-19T10:11:46.386Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/cli/langchain_cli/integration_template/.gitignore
> [debug] [2024-12-19T10:11:46.386Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/cli/langchain_cli/project_template/.gitignore
> [debug] [2024-12-19T10:11:46.386Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/cli/langchain_cli/package_template/.gitignore
> [debug] [2024-12-19T10:11:46.425Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/docs/docs/use_cases/query_analysis/.DS_Store
> [debug] [2024-12-19T10:11:46.438Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/cli/langchain_cli/integration_template/tests/__pycache__
> [debug] [2024-12-19T10:11:46.468Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/cli/langchain_cli/integration_template/tests/unit_tests/__pycache__
> [debug] [2024-12-19T10:11:46.468Z] Ignoring /Users/james/Desktop/GitHub/SlaveGPT/langchain/libs/cli/langchain_cli/integration_template/tests/integration_tests/__pycache__
> [debug] [2024-12-19T10:11:46.479Z] Locating files /Users/james/Desktop/GitHub/SlaveGPT [166ms]
WARN! Due to `builds` existing in your configuration file, the Build and Development Settings defined in your Project Settings will not apply. Learn More: https://vercel.link/unused-build-settings
> [debug] [2024-12-19T10:11:46.528Z] Imported Builder "@vercel/python" from "/opt/homebrew/lib/node_modules/vercel/node_modules/@vercel/python"
> [debug] [2024-12-19T10:11:46.626Z] Setting env VERCEL_PROJECT_SETTINGS_NODE_VERSION to "22.x"
> [debug] [2024-12-19T10:11:46.626Z] Building entrypoint "start.sh" with "@vercel/python"
Installing required dependencies...
✅ Build Completed in .vercel/output [13s]
> [debug] [2024-12-19T10:12:00.246Z] Vercel CLI 39.2.2
> [debug] [2024-12-19T10:12:00.702Z] Telemetry event tracked
> [debug] [2024-12-19T10:12:00.914Z] Telemetry subprocess exited with code 0
I have a question about what you mean by function size. If I deploy a function script that is supposed to install some dependencies, does function size take the total size of installed dependencies into account or does it only refer to the size of the function script itself? If it’s not the latter, doesn’t the “Size of uploaded file exceeds 300MB” error imply that the total size of dependencies should not exceed 300 MB, assuming the error arises due to the dependencies installation script in the frst place?