Issue Type
path to file
Context (Environment, Version, Language)
quicktype -s schema C:\Users\Cat\axe\projects\neo-app\data\schemes\bookmark.schema.json -o C:\Users\Cat\axe\projects\neo-app\data\typescript\bookmark.ts --just-types
Error: Could not fetch schema , referred to from c:\Users\Cat\axe\projects\neo-app\data\schemes\bookmark.schema.json#items.
If you run it as a relative path, everything works.
quicktype -s schema .\data\schemes\bookmark.schema.json -o .\data\typescript\bookmark.ts --just-types
The problem arose when I wrote a PowerShell script that takes all the files in a folder and generates types from them. It had an absolute path, which prevented it from working.
I solved this problem in the script by replacing it with a relative path, but that seems like a hack.
Issue Type
path to file
Context (Environment, Version, Language)
If you run it as a relative path, everything works.
The problem arose when I wrote a PowerShell script that takes all the files in a folder and generates types from them. It had an absolute path, which prevented it from working.
I solved this problem in the script by replacing it with a relative path, but that seems like a hack.