E2B
E2B copied to clipboard
`TypeError: this.idAwaiter[data.id] is not a function` error when running AI GitHub developer
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