D:\vue3+ts+ssr+vite\airbnb-ssr>node server.js
node-server运行成功
[Vue warn]: Unhandled error during execution of setup function
at <HeaderCommon onChangeLanguage=fn >
[Vue warn]: Unhandled error during execution of setup function
at <HeaderCommon onChangeLanguage=fn >
D:\vue3+ts+ssr+vite\airbnb-ssr\node_modules@vue\runtime-dom\dist\runtime-dom.cjs.js:1440
const res = document.querySelector(container);
^
ReferenceError: document is not defined
at normalizeContainer (D:\vue3+ts+ssr+vite\airbnb-ssr\node_modules@vue\runtime-dom\dist\runtime-dom.cjs.js:1440:17)
at app.mount (D:\vue3+ts+ssr+vite\airbnb-ssr\node_modules@vue\runtime-dom\dist\runtime-dom.cjs.js:1396:23)
at eval (D:/vue3+ts+ssr+vite/airbnb-ssr/src/entry-server.ts:9:7)
Node.js v18.16.0