json-schema-org / json-schema-org/website

🐛 Bug: Search button throws appId is missing error

Open
#2,450 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🐛 Bug Status: Triage
Dominant language
HTML
Stars
169
Forks
484
Avg merge
2d 2h
Merged PRs (30d)
6

Description

Describe the bug

When running the JSON Schema website locally, clicking the Search button in the navbar causes an unhandled runtime error. The error indicates that the Algolia DocSearch appId is missing.

Steps To Reproduce

1.Clone and install the project.
2.Run yarn dev.
3.Open http://localhost:3000.
4.Click the Search button in the navbar.
5.The application displays an Unhandled Runtime Error with the message: Error: appId is missing.

Expected Behavior

The Search button should open the search interface without throwing a runtime error.

Screenshots

I reproduced this issue locally on the current main branch. I also found the previous Algolia search issue (#13), which was closed as completed in 2023.

Image
Device Information [optional]
- OS: Windows 11
- Browser: Google Chrome
- version: 151.0.0.0
Are you working on this issue?

Yes

Do you think this work might require an [Architectural Decision Record (ADR)]? (significant or noteworthy)

No

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Run the website locally with yarn dev and reproduce the error by clicking Search in the navbar. Trace the Algolia DocSearch setup from that entry point and verify that the Search button opens the search interface without the missing appId runtime error.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend, search, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.