glideapps / quicktype

Generate types and converters from JSON, Schema, and GraphQL
https://app.quicktype.io
Apache License 2.0
11.77k stars 1.04k forks source link

Error: EMFILE: too many open files #2527

Open TheLovinator1 opened 4 months ago

TheLovinator1 commented 4 months ago
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.

inferrinizzard commented 1 month ago

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