json-schema-tools/transpiler

TypeError: Cannot create property 'title' on string '

Opened this issue · 0 comments

Describe the bug

Regardless of which schema I use I get the following error

node_modules/.pnpm/@json-schema-tools+titleizer@1.0.8/node_modules/@json-schema-tools/titleizer/build/index.js:132
    schema.title = "".concat(prefix).concat(friendlyHash);
                 ^

TypeError: Cannot create property 'title' on string '{
...

To Reproduce
Steps to reproduce the behavior:

  1. Seems to happen regardless of which jsonschema I use
  2. Nothing is transpiled

Expected behavior

Expect it to not error and to transpile

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.