question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

next dev fails randomly on CI since 9.3.5 - exit code 137

See original GitHub issue

Bug 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:

  1. Update to 9.3.5
  2. Run next dev on CircleCI
  3. ???
  4. 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:closed
  • Created 3 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
Timercommented, Sep 10, 2020

Closing as there was no reproduction given. Feel free to investigate this!

1reaction
manhcuongincusar1commented, Aug 2, 2021

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/

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found