chat-ollama icon indicating copy to clipboard operation
chat-ollama copied to clipboard

ERROR (node:28838) when starting dev

Open superdba111 opened this issue 10 months ago • 2 comments

❯ npm run dev

dev nuxt dev

Nuxt 3.11.2 with Nitro 2.9.6 10:06:36 AM 10:06:36 AM ➜ Local: http://localhost:3000/ ➜ Network: use --host to expose

ℹ Using default Tailwind CSS file nuxt:tailwindcss 10:06:37 AM ➜ DevTools: press Shift + Option + D in the browser (v1.1.5) 10:06:37 AM

ℹ Tailwind Viewer: http://localhost:3000/_tailwind/ nuxt:tailwindcss 10:06:37 AM ℹ Re-optimizing dependencies because lockfile has changed 10:06:37 AM ℹ Vite server warmed up in 2466ms 10:06:40 AM ✔ Nuxt Nitro server built in 696 ms nitro 10:06:40 AM ℹ Vite client warmed up in 3097ms 10:06:40 AM

ERROR (node:28838) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created)

superdba111 avatar Apr 17 '24 15:04 superdba111

What's the node version in use?

sugarforever avatar Apr 17 '24 15:04 sugarforever

I'm still using node v20.11.1. If you are using node 21, it's very likely you see such error. Please refer to https://stackoverflow.com/questions/77587325/deprecationwarning-the-punycode-module-is-deprecated

sugarforever avatar Apr 17 '24 16:04 sugarforever