transpiler icon indicating copy to clipboard operation
transpiler copied to clipboard

TypeError: Cannot create property 'title' on string '

Open magick93 opened this issue 2 years ago • 0 comments

Describe the bug

Regardless of which schema I use I get the following error

node_modules/.pnpm/@[email protected]/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.

magick93 avatar Mar 07 '23 08:03 magick93