ENOSPC error on very small project

09:47:27.467 Finalizing page optimization ...
09:47:27.469 Collecting build traces ...
09:47:46.333
09:47:46.334 > Build error occurred
09:47:46.338 [Error: ENOSPC: no space left on device, copyfile '/opt/buildhome/repo/node_modules/next/dist/server/capsize-font-metrics.json' -> '/opt/buildhome/repo/.next/standalone/node_modules/next/dist/server/capsize-font-metrics.json'] {
09:47:46.338 errno: -28,
09:47:46.339 code: 'ENOSPC',
09:47:46.339 syscall: 'copyfile',
09:47:46.339 path: '/opt/buildhome/repo/node_modules/next/dist/server/capsize-font-metrics.json',
09:47:46.340 dest: '/opt/buildhome/repo/.next/standalone/node_modules/next/dist/server/capsize-font-metrics.json'
09:47:46.340 }
09:47:46.412 error Command failed with exit code 1.
09:47:46.413 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
09:47:46.431 node:internal/errors:983
09:47:27.467 Finalizing page optimization ...
09:47:27.469 Collecting build traces ...
09:47:46.333
09:47:46.334 > Build error occurred
09:47:46.338 [Error: ENOSPC: no space left on device, copyfile '/opt/buildhome/repo/node_modules/next/dist/server/capsize-font-metrics.json' -> '/opt/buildhome/repo/.next/standalone/node_modules/next/dist/server/capsize-font-metrics.json'] {
09:47:46.338 errno: -28,
09:47:46.339 code: 'ENOSPC',
09:47:46.339 syscall: 'copyfile',
09:47:46.339 path: '/opt/buildhome/repo/node_modules/next/dist/server/capsize-font-metrics.json',
09:47:46.340 dest: '/opt/buildhome/repo/.next/standalone/node_modules/next/dist/server/capsize-font-metrics.json'
09:47:46.340 }
09:47:46.412 error Command failed with exit code 1.
09:47:46.413 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
09:47:46.431 node:internal/errors:983
was working fine and now keep happening even when we roll back to earlier builds...
No description
5 Replies
foodbark
foodbarkOP5mo ago
Well signed up for the paid version of workers thinking that might help and still gettting the same ENOSPEC error. It happens even when we roll back to previous working builds and try to rebuild them. This is definately on cloudflare's end.
foodbark
foodbarkOP5mo ago
...flare to re-iterate, the latest builds fail due to lack of space, but old, previously successful builds are now failing. for the same reason.
foodbark
foodbarkOP5mo ago
No description
foodbark
foodbarkOP5mo ago
new problems, "an internal error occurred." 08:39:51.788 An internal error occurred. Please retry your build. If this problem persists, contact Cloudflare support. 14:27:38.114 An internal error occurred. Please retry your build. If this problem persists, contact Cloudflare support. keeps happening

Did you find this page helpful?