next dev fails randomly on CI since 9.3.5 - exit code 137
See original GitHub issueBug report
Describe the bug
Since upgrading to 9.3.5, next dev has failed with exit code 137 during our CircleCI builds about 20% of the time.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- Update to 9.3.5
- Run
next devon CircleCI - ???
- No profit 😞
Expected behavior
It would be nice if it didn’t do this.
Screenshots
> hi-next@0.3.1 dev /root/repo
> next dev
[ wait ] starting the development server ...
[ info ] waiting on ********************* ...
> Using external babel configuration
> Location: "/root/repo/babel.config.js"
[ ready ] compiled successfully - ready on *********************
[ wait ] compiling ...
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry
[ ready ] compiled successfully - ready on *********************
Killed
npm ERR! code ELIFECYCLE
npm ERR! errno 137
npm ERR! hi-next@0.3.1 dev: `next dev`
npm ERR! Exit status 137
npm ERR!
npm ERR! Failed at the hi-next@0.3.1 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-04-16T19_20_50_059Z-debug.log
Exited with code exit status 137
CircleCI received exit code 137
System information
- OS: Debian (cypress/base:12.14.0) More info here
- Browser (if applies) [e.g. chrome, safari]
- Version of Next.js: 9.3.5
- Version of Node.js: 12.14.0
Additional Info
I haven’t seen this at all when running locally.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
next dev fails randomly on CI since 9.3.5 - exit code 137 #11962
Describe the bug. Since upgrading to 9.3.5, next dev has failed with exit code 137 during our CircleCI builds about 20% of the...
Read more >ERROR: Job failed: exit code 137 (#4490) - GitLab.org
I got this error while CI. The runner finishes its 90% of works, then the pipeline failed and throwing an error like ERROR:...
Read more >Gatsby v4 Builds suddenly killed, exit code 137 - Support
Hi everyone. All of my Gatsby v4 sites suddenly had their builds start to fail due to an error “Command failed with exit...
Read more >Cisco Nexus 9000 Series NX-OS System Management ...
Synchronizing Configurations After a Cisco Nexus 9000 Series Switch Reboots 48 ... Configuring Syslog Servers on a UNIX or Linux System 137.
Read more >[meta] Ensure compatibility of Drupal 9 with PHP 8.1 (as it ...
The remaining fails are: Drupal\BuildTests\Composer\Template\ComposerProjectTemplatesTest - due to using development vendor code - will be ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Closing as there was no reproduction given. Feel free to investigate this!
This 137 node happens when runs out of memory, almost vps with 1gb ram may get this issues. So you can create virtual ram for your VPS with “swap” on Linux. check it out here: https://linuxize.com/post/how-to-add-swap-space-on-ubuntu-20-04/