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

when i use the await-to-js (npm pkg), i can not run it in dev-server #2210

Closed
3 tasks
Jeromy-L opened this issue Feb 24, 2021 · 0 comments
Closed
3 tasks

when i use the await-to-js (npm pkg), i can not run it in dev-server #2210

Jeromy-L opened this issue Feb 24, 2021 · 0 comments

Comments

@Jeromy-L
Copy link

⚠️ IMPORTANT ⚠️ Please check the following list before proceeding. If you ignore this issue template, your issue will be directly closed.

  • Read the docs.
  • Use Vite >=2.0. (1.x is no longer supported)
  • If the issue is related to 1.x -> 2.0 upgrade, read the Migration Guide first.

Describe the bug

if i use the await-to-js(a npm) in some .vue file, i get some errors:
image

and the errors message was wrong : vite change the await to void
image

Reproduction

this is the demo:
git@github.com:Jeromy-L/test-vite.git

checkout test2 branch
just npm i and run: npm run dev
and then will get some errors

@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant