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.

(libuv) kqueue(): Too many open files

See original GitHub issue

If you have a large directory with tons of js under it, you hit some sort of limit with this tool.

Right now I have a templates directory underwhich I have an entire angular-cli-created app as well as some plain node .js files that I’m templating.

When I run the generator I get the error in the title (libuv) kqueue(): Too many open files, and no output directories.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
benleshcommented, Sep 16, 2016

WORKAROUND: To those that come after me…

In the short-term my workaround is to have all of my code, including templates in another directory, we’ll call it /src… I then copy only the files I want to template from /src to /templates as a step of my script before I run split-guide generate.

0reactions
kentcdoddscommented, Nov 18, 2016

Sure! 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

node.js - (libuv) kqueue(): Too many open files in system ...
fs.appendFile() attempts to reopen the file every time. Since you're using a synchronous loop to execute asynchronous commands ...
Read more >
nodejs爬网页的时候报错:(libuv) kqueue(): Too many open ...
nodejs爬网页的时候报错:(libuv) kqueue(): Too many open files in system ... var finishedRequest=0; function processNext(){ var item=results.shift(); ...
Read more >
How to Fix the 'Too Many Open Files' Error in Linux?
It means that a process has opened too many files (file descriptors) and cannot open new ones. On Linux, the “max open file...
Read more >
Too many open files error on Mac OS: ulim… - Apple Community
A simple fix for the "too many files open" limitation of Mac OS is to use the "ulimit - n" command. Curiously, the...
Read more >
Node.js, "too many open files", and ulimit - Important Bits
The WebSocket connection stays open for much longer than the HTTP request/response connection, so the network connections (and open file ...
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