discordjs / discordjs/RPC

Client initialisation throws "setTimeout2 is not a function"

Open
#187 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
505
Forks
203
PR merge metrics
No merged PRs in 30d

Description

On latest nodeJS and Angular TS

```ts
this.rpc = new RPC.Client({ transport: 'ipc' });
this.rpc.login({ clientId: discordConfig.clientId }).catch(console.error);
```

The login is catching : "_TypeError: setTimeout2 is not a function_"
There is also a warning "_browser-external:timers:9 Module "timers" has been externalized for browser compatibility. Cannot access_"

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.