glideapps / quicktype

Generate types and converters from JSON, Schema, and GraphQL

Home Page:https://app.quicktype.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: EMFILE: too many open files

TheLovinator1 opened this issue · comments

PS C:\Code\panso.se> quicktype .\webhallen-json\ -o webhallen_types.go
(node:21544) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
node:events:497
      throw er; // Unhandled 'error' event
      ^

Error: EMFILE: too many open files, open 'C:\Code\panso.se\webhallen-json\358129.json'
Emitted 'error' event on ReadStream instance at:
    at emitErrorNT (node:internal/streams/destroy:169:8)
    at emitErrorCloseNT (node:internal/streams/destroy:128:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -4066,
  code: 'EMFILE',
  syscall: 'open',
  path: 'C:\\Code\\panso.se\\webhallen-json\\358129.json'
}

Node.js v21.7.0

How many files does Quicktype support?

I am on Windows 11.

Could you provide more info on your input files (what format, how many, etc) ?