Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error after install and compile #1

Open
Chrusciki opened this issue May 24, 2023 · 0 comments
Open

error after install and compile #1

Chrusciki opened this issue May 24, 2023 · 0 comments

Comments

@Chrusciki
Copy link

Thanks for creating this, however when i install the NPM module and then attempt to run tsc 5.0.4 over the provided code i get the following error.


test_willow.ts:17:1 - error TS1378: Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher.

17 await client.init();
   ~~~~~


Found 1 error in test_willow.ts:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant