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

Nuxi info command throws 'Invalid or unexpected token' error #13740

Closed
markusgeert opened this issue Apr 13, 2022 · 1 comment
Closed

Nuxi info command throws 'Invalid or unexpected token' error #13740

markusgeert opened this issue Apr 13, 2022 · 1 comment

Comments

@markusgeert
Copy link

Environment

Error occurs both on my local Windows 10 machine and the Codesandbox, on the latest Nuxt version (3.0.0-27497374.59593a0)

Reproduction

https://codesandbox.io/s/interesting-breeze-7uip0w

npx nuxi info

Describe the bug

The nuxi info command throws Invalid or unexpected token error on a fresh Nuxt project.

Additional context

No response

Logs

Nuxt CLI v3.0.0-27497374.59593a0                                                                                                      

 ERROR  Invalid or unexpected token                                                                                                   

  at ESMLoader.moduleStrategy (node:internal/modules/esm/translators:115:18)
  at ESMLoader.moduleProvider (node:internal/modules/esm/loader:289:14)
@pi0
Copy link
Member

pi0 commented Apr 13, 2022

Should be resovled by nuxt/framework#4336 try with npx nuxi-edge@latest info

@pi0 pi0 closed this as completed Apr 13, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
@danielroe danielroe transferred this issue from nuxt/framework Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants