Skip to content

Malformed JSON in characters.json #132

Open
@jkleinsc

Description

@jkleinsc

Describe the bug

app/public/characters.json contains malformed JSON

What happened?

#108 modified the contents of app/public/characters.json but a comma is missing from the content. This causes the Character app to fail with the following error:
SyntaxError: /workspaces/generative-ai-with-javascript/app/public/characters.json: Expected ',' or ']' after array element in JSON at position 3257

What did you expect to happen?

The Character app to work correctly.

How would you reproduce the bug?

1 Navigate to /app in the repo root.
2. Locate the console and run npm install followed by npm start.

Did this happen via Desktop and/or Smartphone?

Desktop

Operating System

GitHub Workspace

What browsers are you seeing the problem on?

Microsoft Edge

Version

No response

Device

No response

What is your current role?

Professional

What technical topic is this bug related to?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions