microsoft / microsoft/BotFramework-DirectLineJS

[Error] NetworkInformation, missing Interface.

Open
#418 7 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
199
Forks
133
PR merge metrics
No merged PRs in 30d

Description

When installing and running the project the interface NetworkInformation does not exist -->

Error: node_modules/botframework-directlinejs/lib/directLineStreaming.d.ts:13:26 - error TS2304: Cannot find name 'NetworkInformation'.

13 networkInformation?: NetworkInformation;
~~~~~~~~~~~~~~~~~~

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 with node_modules/botframework-directlinejs/lib/directLineStreaming.d.ts at line 13 and inspect how the NetworkInformation type is referenced. Reproduce the installation or TypeScript compilation error, then verify that the project builds without TS2304: Cannot find name 'NetworkInformation'.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.