-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERR_INVALID_ARG_TYPE: The "path" argument must be of type string. Received undefined #392
Comments
Having the same problem on OSX. |
+1 Windows 10 |
As a temporal solution you can use an explicit local URI in your So in your schema, instead of: Try: This is not ideal, and having no explicit URI should work per spec, but I'm not familiar enough with this library to know when it broke or how to fix it in a PR. |
Blocked by #395 |
I have the same issue whenever I use a |
Same here, probably because the Schema director is expecting multiple schemas. |
This can be solved by adding to your schema an $id with the path to itself from the root of the project. |
Seams to be an ugly workaround which does not lead to portable code |
Having the same problem on OSX. |
@trieloff a fix would be highly appreciated. |
Still getting this with v7.1.5, any updates? |
Year passed, still totally unusable. Nice! |
As gloaysa mentioned, this can be solved by adding an |
Same issue here |
Any update on this issue? I'm having the same problem and the "$id" workaround unfortunately is not an option |
Expected Behaviour
Converts JSON schema to MD.
Actual Behaviour
The following error is thrown:
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Running with
jsonschema2md -d input -o output
JSON Schema:
Platform and Version
Windows 10
The text was updated successfully, but these errors were encountered: