Skip to content
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

commond line does not work in windows power shell/bash, #222

Open
harica opened this issue Mar 30, 2019 · 2 comments
Open

commond line does not work in windows power shell/bash, #222

harica opened this issue Mar 30, 2019 · 2 comments

Comments

@harica
Copy link

harica commented Mar 30, 2019

No description provided.

@harica
Copy link
Author

harica commented Mar 30, 2019

example:
json2ts fhir.schema.json (a schema file with content)

simply hangs without any output in windows power shell environment.

@navndn
Copy link

navndn commented Jun 24, 2020

Hi @harica @bcherny
Any clue/update on this? It hangs on Ubuntu as well.

json2ts -i fhir.schema.json -o fhir.d.ts

No luck with this too,

const schema = JSON.parse(
  fs.readFileSync(path.resolve(__dirname, 'fhir.schema.json'), 'utf8')
);

compile(schema, 'FHIRSchema')
  .then(ts => fs.writeFileSync('fhir.d.ts', ts))
  .catch(console.error);

Link to download fhir.schema.json :
https://www.hl7.org/fhir/fhir.schema.json.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants