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

Cannot start nuxt: performance is not defined #61

Closed
yue7872 opened this issue Feb 14, 2023 · 1 comment
Closed

Cannot start nuxt: performance is not defined #61

yue7872 opened this issue Feb 14, 2023 · 1 comment

Comments

@yue7872
Copy link

yue7872 commented Feb 14, 2023

ERROR Cannot start nuxt: performance is not defined
at node_modules/.pnpm/@nuxt+devtools@0.1.2_nuxt@3.2.0+vite@3.1.4/node_modules/@nuxt/devtools/dist/chunks/module-main.mjs:5196:16

env:

An error about performance occurs when starting a blank Nuxt app in Mac @nuxt/devtools@0.1.2 + nuxt@3.2.0 + vite@3.1.4

Minimal reproduction:

https://github.com/yue7872/template-nuxt

Reproduction steps:

  • clone repo
  • pnpm install
  • pnpm run start

screenshot:

截屏2023-02-14 15 39 03

@Lmmmmmm-bb
Copy link
Contributor

What node version are you using?
performance api is added in node v16.0.0.

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