You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{ Error: ENOENT: no such file or directory, open 'false'
at Error (native)
at Object.fs.openSync (fs.js:640:18)
at Object.fs.readFileSync (fs.js:508:33)
at readJson (.../AppData/Roaming/npm/node_modules/z-schema/bin/z-schema:54:18)
at Object.<anonymous> (.../AppData/Roaming/npm/node_modules/z-schema/bin/z-schema:70:14)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3) errno: -2, code: 'ENOENT', syscall: 'open', path: 'false' }
.../AppData/Roaming/npm/node_modules/z-schema/bin/z-schema:57
throw new Error("Couldn't read the file: " + fileName);
^
Error: Couldn't read the file: false
at readJson (.../AppData/Roaming/npm/node_modules/z-schema/bin/z-schema:57:15)
at Object.<anonymous> (.../AppData/Roaming/npm/node_modules/z-schema/bin/z-schema:70:14)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
The text was updated successfully, but these errors were encountered:
I'm trying to disable break on first error using the cli
z-schema
commandEverything works fine with or without this flag, but when I try to set it to false it throws errors because it's trying to open
false
as a json file.I tried both of these options:
both resulted in this error:
The text was updated successfully, but these errors were encountered: