Skip to content

Getting DOMError while doing ng serve in angular  #86

Open
@pawanjaiswal182

Description

@pawanjaiswal182

Describe the bug

Getting DOMError while doing ng serve in angular.

Error: node_modules/@twilio/rtc-diagnostics/es5/lib/errors/DiagnosticError.d.ts:10:15 - error TS2304: Cannot find name 'DOMError'.

10 domError: DOMError | DOMException | undefined;
~~~~~~~~
Error: node_modules/@twilio/rtc-diagnostics/es5/lib/errors/DiagnosticError.d.ts:27:28 - error TS2304: Cannot find name 'DOMError'.

27 constructor(domError?: DOMError | DOMException, message?: string);

× Failed to compile.

To Reproduce
Install the @twilio/rtc-diagnostics and then do ng serve in angular.

Expected behavior
It should build the project without any error.

Environment

  • OS: Windows 11 Pro
  • Browser: chrome Version 115.0.5790.110 (Official Build) (64-bit)
  • Node.js version: v18.16.0
  • [email protected]
    "@twilio/rtc-diagnostics": "^1.0.1",

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