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.

Sometimes process can fail to restart

See original GitHub issue

I’ve noticed that when many restarts are triggered in quick succession (for example, by running a git pull), then an error can come up and the watch process will stop monitoring.

Error: Cannot find module './express/app'
    at Function.Module._resolveFilename (module.js:455:15)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/patrick/project/js/config/main.js:7:17)
    at Module._compile (module.js:556:32)
    at babelWatchLoader (/Users/patrick/project/node_modules/babel-watch/runner.js:50:13)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/patrick/project/node_modules/babel-watch/runner.js:61:7)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    return binding.writeBuffer(fd, buffer, offset, length, position);

Error: EPIPE: broken pipe, write
    at Error (native)
    at Object.fs.writeSync (fs.js:786:20)
    at handleFileLoad (/Users/patrick/project/node_modules/babel-watch/babel-watch.js:279:30)
    at handleFileLoad (/Users/patrick/project/node_modules/babel-watch/babel-watch.js:172:7)
    at (/Users/patrick/project/node_modules/babel-watch/babel-watch.js:273:5)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at process.nextTick (internal/child_process.js:744:12)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Normally there is no problem with importing ./express/app - it appears to just be a transient error while the filesystem is changing. However, after this error comes up I need to kill babel-watch and restart it in order for monitoring to continue

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

pfhayescommented, Mar 3, 2017

I’ve noticed that this issue still appears for me in the latest version

STRMLcommented, Jan 5, 2021

This was released in 7.1.0, so I’m closing this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Computer Stuck Restarting: 7 Ways to Fix it - Windows Report
Problems with the background processes – The background processes can often be unresponsive or conflict with the restart process, leading to ...
Read more >
Why Does Restarting Seem to Fix Most Computer Problems?
Restarting your computer, router, phone, etc., is often the fix for even the most annoying of problems, but why? Here's more on this...
Read more >
How to Fix Long Restart Problem? - Computer technician blog
Shutting down or restarting your computer is a simple process that usually takes just a few seconds. However, sometimes, it may take much...
Read more >
How to fix a Windows 10 boot loop | TechTarget
If a Windows desktop is stuck in an infinite reboot loop, as an IT professional, you must understand why it is happening and...
Read more >
Quickly Solve - Your PC Ran into a Problem and Needs to ...
Faulty driver can also bring "your PC ran into a problem and needs to restart" error. Please make sure all your device drivers...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found