350469960
350469960
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
一、错误信息如下: /Users/xunwu/docod/test/uni-vue3-ts-template/node_modules/.pnpm/[email protected]/node_modules/vk-uview-ui/index.js:2 import mixin from './libs/mixin/mixin.js' ^^^^^^ SyntaxError: Cannot use import statement outside a module at wrapSafe (internal/modules/cjs/loader.js:1001:16) at Module._compile (internal/modules/cjs/loader.js:1049:27) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module._load (internal/modules/cjs/loader.js:790:12)...