Next.js Discord

Discord Forum

Nextjs in gitlabs pipeline

Unanswered
Almond stone wasp posted this in #help-forum
Open in Discord
Almond stone waspOP
When I try to build 15.5.0 on my machine, everything is fine, but the gitlab build pipeline fails with no real error message:

Creating an optimized production build ...
Next.js build worker exited with code: null and signal: SIGKILL
 ELIFECYCLE  Command failed with exit code 1.

If I go back to 15.4.7, everything is fine. I don't even know where to get more info to find out what the problem is, as I already build with --debug. I don't want to open an issue yet as I have little to go on, and might be something in the gitlab config (although I never have had that kind of an issue before). Any help on getting more info would be nice. I've tried upping the memory limit with export NODE_OPTIONS="--max-old-space-size=4096" just in case, but it didn't help.

How do I even begin to debug this?

0 Replies