node-twitter-api-v2 icon indicating copy to clipboard operation
node-twitter-api-v2 copied to clipboard

Server Error ReferenceError: Cannot access 'TwitterApiReadWrite' before initialization [bug]

Open dominik-sfl opened this issue 9 months ago • 12 comments

Describe the bug I am getting this error anytime I just import the library & do a simple call: e.g.

let res = await client.v2.tweet("Hello");

Version

  • Node.js version: 20.1
  • Lib version: 1.16.4

Additional context All of this worked really well before, not sure what's changed? My codebase is pretty much the same.

dominik-sfl avatar May 20 '24 08:05 dominik-sfl