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 when using natural from deno using esm.sh #691

Closed
whaaaley opened this issue Jul 2, 2023 · 1 comment
Closed

Error when using natural from deno using esm.sh #691

whaaaley opened this issue Jul 2, 2023 · 1 comment

Comments

@whaaaley
Copy link

whaaaley commented Jul 2, 2023

error: The module's source code could not be parsed: `await` cannot be used as an identifier in an async context at https://esm.sh/v127/afinn-165@1.0.4/denonext/afinn-165.development.mjs:3650:5

If we go to that file we can see this:
image

This is preventing me from using natural in Deno Deploy atm. Is this a natural issue or an esm.sh issue?

esm-dev/esm.sh#674

@Hugo-ter-Doest
Copy link
Collaborator

Natural does not support ESM.

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

2 participants