Open denisdou opened 4 months ago
[Vue warn]: Unhandled error during execution of render function at > [nuxt] [request error] document is not defined at Module.queryElement (./.nuxt/dist/server/server.mjs:9152:5) at Module.mount (./.nuxt/dist/server/server.mjs:9240:49) at Object.wrappedMount [as mount] (./.nuxt/dist/server/server.mjs:8778:49) at renderCallback (./.nuxt/dist/server/server.mjs:30678:66) at onRender (./.nuxt/dist/server/server.mjs:30691:77) at Proxy.render (./.nuxt/dist/server/server.mjs:45869:61) at renderComponentRoot (./node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:885:16) at renderComponentSubTree (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:712:28) at renderComponentVNode (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:641:12) at Module.ssrRenderComponent (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:84:10) [Vue warn]: Unhandled error during execution of render function at > [nuxt] [request error] document is not defined at Module.queryElement (./.nuxt/dist/server/server.mjs:9152:5) at Module.mount (./.nuxt/dist/server/server.mjs:9240:49) at Object.wrappedMount [as mount] (./.nuxt/dist/server/server.mjs:8778:49) at renderCallback (./.nuxt/dist/server/server.mjs:30678:66) at onRender (./.nuxt/dist/server/server.mjs:30691:77) at Proxy.render (./.nuxt/dist/server/server.mjs:45869:61) at renderComponentRoot (./node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:885:16) at renderComponentSubTree (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:712:28) at renderComponentVNode (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:641:12) at Module.ssrRenderComponent (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:84:10) [nitro] [dev] [unhandledRejection] ReferenceError: document is not defined at Module.queryElement (file:///Users/doujiajun/work/reviews/dj-speakers-ui/.nuxt/dist/server/server.mjs:9152:5) at Module.mount (file:///Users/doujiajun/work/reviews/dj-speakers-ui/.nuxt/dist/server/server.mjs:9240:49) at Object.wrappedMount [as mount] (file:///Users/doujiajun/work/reviews/dj-speakers-ui/.nuxt/dist/server/server.mjs:8778:49) at renderCallback (file:///Users/doujiajun/work/reviews/dj-speakers-ui/.nuxt/dist/server/server.mjs:30678:66) at onRender (file:///Users/doujiajun/work/reviews/dj-speakers-ui/.nuxt/dist/server/server.mjs:30691:77) at Proxy.render (file:///Users/doujiajun/work/reviews/dj-speakers-ui/.nuxt/dist/server/server.mjs:45869:61) at renderComponentRoot (/Users/doujiajun/work/reviews/dj-speakers-ui/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:885:16) at renderComponentSubTree (/Users/doujiajun/work/reviews/dj-speakers-ui/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:712:28) at renderComponentVNode (/Users/doujiajun/work/reviews/dj-speakers-ui/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:641:12) at Module.ssrRenderComponent (/Users/doujiajun/work/reviews/dj-speakers-ui/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:84:10) [Vue 警告]:在 >Module.queryElement (./.nuxt/dist/server/server.mjs:9152:5) 在 Module.mount (./.nuxt/dist/server/server.mjs:9240:49) 在 Object.wrappedMount [as mount] (./.nuxt/dist/server/server.mjs:8778:49) 在 renderCallback (./.nuxt/dist/server/server.mjs:30678:66) 在 onRender (./.nuxt/dist/server/server.mjs:30691:77) 在 Proxy.render (./.nuxt/dist/server/server.mjs:45869:61) 在renderComponentSubTree (./node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:885:16) 在 renderComponentSubTree (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:712:28) 在 renderComponentVNode (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:641:12) 在 Module.ssrRenderComponent (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:84:10) [Vue 警告]:在 > 执行渲染函数时出现未处理的错误 [nuxt] [请求错误]] 文档未在 Module.queryElement (./.nuxt/dist/server/server.mjs:9152:5) 中定义 在 Module.mount (./.nuxt/dist/server/server.mjs:9240:49) 中 在 Object.wrappedMount [as mount] (./.nuxt/dist/server/server.mjs:8778:49) 中 renderCallback (./.nuxt/dist/server/server.mjs:30678:66) 中 onRender (./.nuxt/dist/server/server.mjs:30691:77) 中 Proxy.render (./.nuxt/dist/server/server.mjs:45869:61) 中 renderComponentRoot (./node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:885:16) 在 renderComponentSubTree (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:712:28) 在 renderComponentVNode (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:641:12) 在 Module.ssrRenderComponent (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:84:10) [硝基] [开发] [unhandledRejection] ReferenceError:文档未在 Module.queryElement (file:///Users/doujiajun/work/reviews/dj-speakers-ui/.nuxt/dist/server/server.mjs:9152:5) 在 Module.mount (file:///Users/doujiajun/work/reviews/dj-speakers-ui/.nuxt/dist/server/server.mjs:9240:49) 在 Object.wrappedMount [as mount] (file:///Users/doujiajun/work/reviews/dj-speakers-ui/.nuxt/dist/server/server.mjs:8778:49) at renderCallback(file:///Users/doujiajun/work/reviews/dj-speakers-ui/.nuxt/dist/server/server.mjs:30678:66) 在 onRender (file:///Users/doujiajun/work/reviews/dj-speakers-ui/.nuxt/dist/server/server.mjs:30691:77) 在 Proxy.render (file:///Users/doujiajun/work/reviews/dj-speakers-ui/.nuxt/dist/server/server.mjs:45869:61) 在 renderComponentRoot (/Users/doujiajun/work/reviews/dj-speakers-ui/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:885:16) 在 renderComponentSubTree(/Users/doujiajun/work/reviews/dj-speakers-ui/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:712:28) 在 renderComponentVNode (/Users/doujiajun/work/reviews/dj-speakers-ui/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:641:12) 在 Module.ssrRenderComponent (/Users/doujiajun/work/reviews/dj-speakers-ui/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:84:10) 点击回到首页
拉下dev分支看看
[Vue warn]: Unhandled error during execution of render function at <Button text="" class="!text-xl !font-bold" onClick=fn >
[nuxt] [request error] document is not defined
at Module.queryElement (./.nuxt/dist/server/server.mjs:9152:5) >
[nuxt] [request error] document is not defined
at Module.queryElement (./.nuxt/dist/server/server.mjs:9152:5)
at Module.mount (./.nuxt/dist/server/server.mjs:9240:49)
at Object.wrappedMount [as mount] (./.nuxt/dist/server/server.mjs:8778:49)
at renderCallback (./.nuxt/dist/server/server.mjs:30678:66)
at onRender (./.nuxt/dist/server/server.mjs:30691:77)
at Proxy.render (./.nuxt/dist/server/server.mjs:45869:61)
at renderComponentRoot (./node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:885:16)
at renderComponentSubTree (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:712:28)
at renderComponentVNode (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:641:12)
at Module.ssrRenderComponent (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:84:10) [Vue warn]: Unhandled error during execution of render function at <Button text="" class="!text-xl !font-bold" onClick=fn
at Module.mount (./.nuxt/dist/server/server.mjs:9240:49)
at Object.wrappedMount [as mount] (./.nuxt/dist/server/server.mjs:8778:49)
at renderCallback (./.nuxt/dist/server/server.mjs:30678:66)
at onRender (./.nuxt/dist/server/server.mjs:30691:77)
at Proxy.render (./.nuxt/dist/server/server.mjs:45869:61)
at renderComponentRoot (./node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:885:16)
at renderComponentSubTree (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:712:28)
at renderComponentVNode (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:641:12)
at Module.ssrRenderComponent (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:84:10) [nitro] [dev] [unhandledRejection] ReferenceError: document is not defined at Module.queryElement (file:///Users/doujiajun/work/reviews/dj-speakers-ui/.nuxt/dist/server/server.mjs:9152:5) at Module.mount (file:///Users/doujiajun/work/reviews/dj-speakers-ui/.nuxt/dist/server/server.mjs:9240:49) at Object.wrappedMount [as mount] (file:///Users/doujiajun/work/reviews/dj-speakers-ui/.nuxt/dist/server/server.mjs:8778:49) at renderCallback (file:///Users/doujiajun/work/reviews/dj-speakers-ui/.nuxt/dist/server/server.mjs:30678:66) at onRender (file:///Users/doujiajun/work/reviews/dj-speakers-ui/.nuxt/dist/server/server.mjs:30691:77) at Proxy.render (file:///Users/doujiajun/work/reviews/dj-speakers-ui/.nuxt/dist/server/server.mjs:45869:61) at renderComponentRoot (/Users/doujiajun/work/reviews/dj-speakers-ui/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:885:16) at renderComponentSubTree (/Users/doujiajun/work/reviews/dj-speakers-ui/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:712:28) at renderComponentVNode (/Users/doujiajun/work/reviews/dj-speakers-ui/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:641:12) at Module.ssrRenderComponent (/Users/doujiajun/work/reviews/dj-speakers-ui/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:84:10)
点击回到首页