siqueirarenan / shacl-jsonschema-converter

3 stars 0 forks source link

node 19.6.1:Uncaught SyntaxError: Unexpected identifier 'SchemaOptions' #1

Closed mathiasrichter closed 1 year ago

mathiasrichter commented 1 year ago

Very excited to try your work! Unfortunately, I'm running into issues with node v19.6.1:

Did npm i shacl-jsonschema-converter and now trying to do

const { getSchemasFromTtl } = require('shacl-jsonschema-converter');

but getting

node_modules/shacl-jsonschema-converter/converter.ts:1
type SchemaOptions = {
     ^^^^^^^^^^^^^

Uncaught SyntaxError: Unexpected identifier 'SchemaOptions'

Can you advise please?

siqueirarenan commented 1 year ago

Hi, thanks for the feedback!

there was an issue with the packaging, fixed in version 0.1.3.

mathiasrichter commented 1 year ago

Cool, many thanks for the quick turnaround! Can’t wait to try it! On 20 Feb 2023 at 23:16 +0100, Renan Siqueira @.***>, wrote:

Closed #1 as completed. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>