Next JS Git Deployment Help - Out of memory

I'm deploying a NextJS app via the git integration,which deploys fine from my local device, but when setting up the integration I get the following error when deploying.
13:19:29.273 Populating Workers static assets...
13:19:30.175 opennextjs-cloudflare deploy
13:19:30.176
13:19:30.176 Deploy a built OpenNext app to Cloudflare Workers
13:19:30.176
13:19:30.176 Options:
13:19:30.176 --help Show help [boolean]
13:19:30.176 --version Show version number [boolean]
13:19:30.176 -c, --configPath, --config Path to Wrangler configuration file [string]
13:19:30.176 -e, --env Wrangler environment to use for operations[string]
13:19:30.176 --cacheChunkSize Number of entries per chunk when populating the
13:19:30.176 cache [number] [default: 25]
13:19:30.176 Error: ENOSPC: no space left on device, copyfile '/opt/buildhome/repo/.open-next/cache/path/to/file.cache' -> '/opt/buildhome/repo/.open-next/assets/cdn-cgi/_next_cache/path/to/file.cache'
13:19:29.273 Populating Workers static assets...
13:19:30.175 opennextjs-cloudflare deploy
13:19:30.176
13:19:30.176 Deploy a built OpenNext app to Cloudflare Workers
13:19:30.176
13:19:30.176 Options:
13:19:30.176 --help Show help [boolean]
13:19:30.176 --version Show version number [boolean]
13:19:30.176 -c, --configPath, --config Path to Wrangler configuration file [string]
13:19:30.176 -e, --env Wrangler environment to use for operations[string]
13:19:30.176 --cacheChunkSize Number of entries per chunk when populating the
13:19:30.176 cache [number] [default: 25]
13:19:30.176 Error: ENOSPC: no space left on device, copyfile '/opt/buildhome/repo/.open-next/cache/path/to/file.cache' -> '/opt/buildhome/repo/.open-next/assets/cdn-cgi/_next_cache/path/to/file.cache'
Has anyone else had this issue before?
1 Reply

Did you find this page helpful?