microsoft / microsoft/azurechat

Error when launching the app

Open
#208 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.4k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
1

Description

Steps to replicate:

  1. cloned the repo locally.
  2. Updated the environment variable.
  3. npm install (under src folder).
  4. npm run dev gives the following error - Internal error: TypeError [ERR_INVALID_STATE]: Invalid state: ReadableStream is already closed
  5. npm audit fix resolves few vulnerabilities but comes up with different error - ⨯ Internal error: Error: The render was aborted by the server without a reason.
  6. The app is able to run in localhost but just the general chat. When trying to upload the file, error pops up - "Azure search environment variables are not configured".

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

Start in the src setup and environment configuration, then reproduce npm install and npm run dev with the reported variables. Check the Azure Search configuration used by file upload and compare it with the documented requirements. Done means the app launches without the reported errors and file upload no longer reports missing Azure Search variables.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript
Domain
cloud, full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.