element-plus / element-plus-nuxt-starter

🌰 A starter example for element-plus with Nuxt 3.
https://element-plus-nuxt.vercel.app
MIT License
289 stars 82 forks source link

Error Starting #24

Closed ElBinko closed 2 years ago

ElBinko commented 2 years ago

Hello,

Using the latest version of this repository, after git clone, yarn install and yarn run dev, when you you access the localhost:3000 the following error is printed in the console:

[Vue warn]: Unhandled error during execution of watcher callback at <ElPopperTrigger id="el-id-5038-0" virtual-ref=undefined open=false ... >

ERROR [worker] Element is not defined

at isElement$1 (node_modules/element-plus/dist/index.full.js:2144:43) at vue.watch.immediate (node_modules/element-plus/dist/index.full.js:7453:13) at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:157:22) at callWithAsyncErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:166:21) at doWatch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:1744:13) at Object.watch (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:1656:12) at setup (node_modules/element-plus/dist/index.full.js:7452:11) at callWithErrorHandling (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:157:22) at setupStatefulComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6977:29) at setupComponent (node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6933:11)

ERROR [proxy] connect ENOENT /var/folders/sw/sbmrkj352zb87qyhrv3c22jh0000gn/T/nitro/worker-1474-1.sock

xiaoxian521 commented 2 years ago

Please provide node version

ElBinko commented 2 years ago

16.14.0

linjiejim commented 2 years ago

Same here with node version v16.13.1.

Screen Shot 2022-03-09 at 5 13 52 PM

geongeorge commented 2 years ago

Same issue here with node 16.11.0

YunYouJun commented 2 years ago

I think it's working fine now.