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: Cannot redefine property: __internal__deprecationWarning #163

Open
oritwoen opened this issue Sep 7, 2023 · 0 comments

Comments

@oritwoen
Copy link

oritwoen commented Sep 7, 2023

Environment


  • Operating System: Linux
  • Node Version: v20.6.0
  • Nuxt Version: 3.7.1
  • CLI Version: 3.7.3
  • Nitro Version: 2.6.2
  • Package Manager: pnpm@8.7.4
  • Builder: -
  • User Config: modules, devtools, googleFonts
  • Runtime Modules: @nuxthq/ui@2.7.0, @nuxtjs/fontaine@0.4.1, @nuxtjs/google-fonts@3.0.2, @vueuse/motion/nuxt@2.0.0, @vueuse/nuxt@10.4.1
  • Build Modules: -

Reproduction

I can't reproduce it online. On the identical configuration in CodeSandbox, the error is not displayed because of Node.js version.

Describe the bug

I know that version 1.20.0 has just been released. I refreshed the lock file for pnpm in the project I work in and it turned out to be throwing errors.

 ERROR  Cannot start nuxt:  Cannot redefine property: __internal__deprecationWarning                                                                                                                                                                 13:47:26

  at Function.defineProperty (<anonymous>)
  at Object.<anonymous> (node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js:66:8)
  at Module._compile (node:internal/modules/cjs/loader:1241:14)
  at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
  at Module.load (node:internal/modules/cjs/loader:1091:32)
  at Module._load (node:internal/modules/cjs/loader:938:12)
  at Module.require (node:internal/modules/cjs/loader:1115:19)
  at require (node:internal/modules/helpers:130:18)
  at Object.<anonymous> (node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/src/builders/validateNode.ts:3:1)
  at Module._compile (node:internal/modules/cjs/loader:1241:14)

Additional context

The bug appears to be in Node.js 20. In 18 works fine.

Logs

No response

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

1 participant