-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't compile with "error TS2304: Cannot find name 'AsyncGenerator'" (or 'AsyncIterable') #131
Comments
I am not connected with the msgpack-javascript project, I am a user. I cannot reproduce your error but I think that is because I am using Web instead of node. According to several github issues on other projects, the solution is to add If that fixes the problem, maybe msgpack should document this issue somehow. |
@mcclure Thank you for your advice. I tried as you suggested:
But, it didn't work for me, unfortunately. Thanks anyway! |
Can you try msgpack-javascript/tsconfig.json Line 6 in 3794182
|
@gfx Thanks for following up. I also try that way. But, again, it didn't work... I'll give this issue some more investigation later. |
Excellent! Anyway, I've mentioned to prerequisites about TypeScript in README.md: 6d2c4bc |
I've seen your commit, that must be really helpful. Thanks. |
Hi, I'm really new to msgpack-javasript. I'm appreciated your great works first 馃槃
I'm facing errors saying like "error TS2304: Cannot find name 'AsyncGenerator'" when I compile my ts code with tsc.
My environment is something like below.
package.json
tsconfig.jso
index.ts
The following is the full error messages:
It would be appreciated if you give me any advise. Thanks.
The text was updated successfully, but these errors were encountered: