vue3-vite-ts-uniapp icon indicating copy to clipboard operation
vue3-vite-ts-uniapp copied to clipboard

运行npm run dev:h5:ssr,页面出错

Open 350469960 opened this issue 1 year ago • 1 comments

TypeError: uni.getSystemInfo is not a function at Module.createApp (/Users/xunwu/docod/test/vue3-vite-ts-uniapp/src/main.ts:6:20) at render (/Users/xunwu/docod/test/vue3-vite-ts-uniapp/src/entry-server.js:14:34) at /Users/xunwu/docod/test/vue3-vite-ts-uniapp/node_modules/@dcloudio/vite-plugin-uni/dist/cli/server.js:63:82

运行环境 node: 14.19.3 yarn: 3.4.1

350469960 avatar Mar 31 '23 02:03 350469960

ssr的,我没测试过

amebyte avatar Jul 03 '23 13:07 amebyte