E2B icon indicating copy to clipboard operation
E2B copied to clipboard

`TypeError: this.idAwaiter[data.id] is not a function` error when running AI GitHub developer

Open ValentaTomas opened this issue 2 years ago • 0 comments

When running AI GitHub developer some users experience an error in the JS SDK.

I keep getting an error from the sandbox when trying to run this. I've tried it a couple ways, both manually putting in the gh token and putting it as a env var. It get's thru login and asks for the repo. Sometimes it get thru to ask for a task, sometimes not. In either case the error seems to be related to TypeError: this.idAwaiter[data.id] is not a function. Any ideas what's going on with this? I tried it in the js-sdk that it initially came with and also tried upgrading to 0.13.0, both fail around the same spot.

  • https://github.com/e2b-dev/e2b-cookbook/blob/main/examples/ai-github-developer-js/index.ts

ValentaTomas avatar Mar 25 '24 20:03 ValentaTomas