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

TypeError: Cannot create property 'title' on string ' #725

Open
magick93 opened this issue Mar 7, 2023 · 0 comments
Open

TypeError: Cannot create property 'title' on string ' #725

magick93 opened this issue Mar 7, 2023 · 0 comments

Comments

@magick93
Copy link

magick93 commented Mar 7, 2023

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.

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

No branches or pull requests

1 participant