#[SOLVED] script "build" was terminated by signal SIGKILL (Forced quit)

7 messages · Page 1 of 1 (latest)

red spire
#

Heyo,

For some reason, my Next.js 16.0.10 version does not build properly.
Here is the last logs:

1063 packages installed [22.54s]
$ next build
⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
   ▲ Next.js 16.0.10 (Turbopack)
   - Experiments (use with caution):
     · clientTraceMetadata
     ✓ rootParams
     · swcPlugins

   Creating an optimized production build ...
 ✓ Compiled successfully in 10.5min
[@sentry/nextjs - After Production Compile] Info: Sending telemetry data on issues and performance to Sentry. To disable telemetry, set `options.telemetry` to `false`.
[@sentry/nextjs - After Production Compile] Warning: No auth token provided. Will not upload source maps. Please set the `authToken` option. You can find information on how to generate a Sentry auth token here: https://docs.sentry.io/api/auth/
 ✓ Completed runAfterProductionCompile in 3369ms
error: script "build" was terminated by signal SIGKILL (Forced quit)
bash: line 1:    40 Killed                  bun run build

No idea what to do else here.

red spire
#

Here is another longer error:

1063 packages installed [22.95s]
$ next build
⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
   ▲ Next.js 16.0.10 (Turbopack)
   - Experiments (use with caution):
     · clientTraceMetadata
     ✓ rootParams
     · swcPlugins

   Creating an optimized production build ...
 ✓ Compiled successfully in 9.5min
[@sentry/nextjs - After Production Compile] Info: Sending telemetry data on issues and performance to Sentry. To disable telemetry, set `options.telemetry` to `false`.
[@sentry/nextjs - After Production Compile] Warning: No auth token provided. Will not upload source maps. Please set the `authToken` option. You can find information on how to generate a Sentry auth token here: https://docs.sentry.io/api/auth/
 ✓ Completed runAfterProductionCompile in 3131ms

<--- Last few GCs --->

[222:0x75ade7766000]    91375 ms: Scavenge 967.3 (992.4) -> 964.2 (992.9) MB, pooled: 0 MB, 3.55 / 0.00 ms  (average mu = 0.481, current mu = 0.425) allocation failure; 
[222:0x75ade7766000]    91450 ms: Scavenge 967.9 (992.9) -> 964.4 (993.4) MB, pooled: 0 MB, 4.54 / 0.00 ms  (average mu = 0.481, current mu = 0.425) allocation failure; 
[222:0x75ade7766000]    91466 ms: Scavenge 968.1 (993.4) -> 964.4 (1001.4) MB, pooled: 0 MB, 4.27 / 0.00 ms  (average mu = 0.481, current mu = 0.425) allocation failure; 


<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----

Next.js build worker exited with code: null and signal: SIGABRT
error: script "build" exited with code 1
red spire
#

Also same issue #1446156945005215836

spare frost
red spire
#

that might fix it, let me try ^^

#

i wish sites would allow docker image deployments

#

so much easier