Skip to content

Error: Unexpected token '||=' #15203

@bitsnaps

Description

@bitsnaps

Environment

  • Operating System: Darwin
  • Node Version: v14.18.3
  • Nuxt Version: 3.0.0-rc.12
  • Nitro Version: -
  • Package Manager: pnpm@7.6.0
  • Builder: vite
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

Create new project using nuxi

Describe the bug

Got an error: Unexpected token '||=' on start up.

Additional context

No response

Logs

Nuxi 3.0.0-rc.12                                                                                              22:19:40
Nuxt 3.0.0-rc.12 with Nitro 0.6.0                                                                             22:19:40
                                                                                                              22:19:41
  > Local:    http://localhost:3000/ 
  > Network:  http://192.168.1.2:3000/

ℹ Vite client warmed up in 2312ms                                                                             22:19:45
✔ Nitro built in 1640 ms                                                                                nitro 22:19:46
[nuxt] [request error] [unhandled] [500] Unexpected token '||='

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions