kingwrcy / discussion

极简论坛
https://discussion.mblog.club
221 stars 23 forks source link

ERROR [worker reload] [worker init] E:/RedMi_E盘_person/code/discussion/.nuxt/dev/index.mjs failed #85

Open Naylor55 opened 2 days ago

Naylor55 commented 2 days ago

npm run dev

dev nuxt dev

WARN Current version of Node.js (16.15.0) is unsupported and might cause issues. 16:55:32
Please upgrade to a compatible version >= 18.0.0.

Nuxt 3.14.1592 with Nitro 2.10.4 16:55:32 16:55:33 ➜ Local: http://localhost:3000/ ➜ Network: use --host to expose

ℹ Using Tailwind CSS from ~/assets/css/tailwind.css nuxt:tailwindcss 16:55:36 ℹ Nuxt Icon server bundle mode is set to local 16:55:37 ✔ Nuxt Icon discovered local-installed 2 collections: carbon, heroicons 16:55:42

WARN Node fetch compatibility is enabled. Please consider upgrading to Node.js >= 18. 16:55:43

ℹ Tailwind Viewer: http://localhost:3000/_tailwind/ nuxt:tailwindcss 16:55:43 ✔ Vite client built in 101ms 16:55:45 ✔ Vite server built in 2046ms 16:55:47

[16:55:49] WARN [plugin esbuild] server/api/post/pay.post.ts: [esbuild] (server/api/post/pay.post.ts:81:29) The "??" operator here will always return the left operand

✔ Nuxt Nitro server built in 2135 ms nitro 16:55:50

ERROR [worker reload] [worker init] E:/RedMi_E盘_person/code/discussion/.nuxt/dev/index.mjs failed 16:55:53

ℹ Vite client warmed up in 3531ms 16:55:54 ℹ Vite server warmed up in 5456ms

Naylor55 commented 2 days ago

怎么看更加详细的报错信息?这个报错信息如何解决?

Naylor55 commented 2 days ago

windows OS 下本地启动的。

kingwrcy commented 20 hours ago

nodejs版本升级到最新的lts版本再试试.