You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PS C:\Users\Dell\Downloads\universal-cloudbase-uniapp-template> npm run dev:h5
cloudbase-uniapp-template@1.0.0 dev:h5
uni
Please note that in running mode, due to log output, sourcemap, and uncompressed source code, the performance and package size are not as good as release mode.
Vite is compiled on demand, and clicking on an uncompiled page at runtime will compile first and then load, resulting in a slower display, and there is no such problem after release.
Compiler version: 4.87(vue3)
Compiling...
▲ [WARNING] Cannot find base config file "@vue/tsconfig/tsconfig.json" [tsconfig.json]
The symbol "windowWidth" was originally declared here:
script:C:/Users/Dell/Downloads/universal-cloudbase-uniapp-template/node_modules/@dcloudio/uni-ui/lib/uni-popup/uni-popup.vue?id=0:178:10:
178 │ const {
╵ ^
at failureErrorWithLog (C:\Users\Dell\Downloads\universal-cloudbase-uniapp-template\node_modules\esbuild\lib\main.js:1651:15)
at C:\Users\Dell\Downloads\universal-cloudbase-uniapp-template\node_modules\esbuild\lib\main.js:1059:25
at runOnEndCallbacks (C:\Users\Dell\Downloads\universal-cloudbase-uniapp-template\node_modules\esbuild\lib\main.js:1486:45)
at buildResponseToResult (C:\Users\Dell\Downloads\universal-cloudbase-uniapp-template\node_modules\esbuild\lib\main.js:1057:7)
at C:\Users\Dell\Downloads\universal-cloudbase-uniapp-template\node_modules\esbuild\lib\main.js:1069:9
at new Promise (<anonymous>)
at requestCallbacks.on-end (C:\Users\Dell\Downloads\universal-cloudbase-uniapp-template\node_modules\esbuild\lib\main.js:1068:54)
at handleRequest (C:\Users\Dell\Downloads\universal-cloudbase-uniapp-template\node_modules\esbuild\lib\main.js:732:17)
at handleIncomingPacket (C:\Users\Dell\Downloads\universal-cloudbase-uniapp-template\node_modules\esbuild\lib\main.js:757:7)
at Socket.readFromStdout (C:\Users\Dell\Downloads\universal-cloudbase-uniapp-template\node_modules\esbuild\lib\main.js:680:7)
Deprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
PS C:\Users\Dell\Downloads\universal-cloudbase-uniapp-template> npm run dev:h5
Please note that in running mode, due to log output, sourcemap, and uncompressed source code, the performance and package size are not as good as release mode.
Vite is compiled on demand, and clicking on an uncompiled page at runtime will compile first and then load, resulting in a slower display, and there is no such problem after release.
Compiler version: 4.87(vue3)
Compiling...
▲ [WARNING] Cannot find base config file "@vue/tsconfig/tsconfig.json" [tsconfig.json]
vite v5.2.8 dev server running at:
➜ Local: http://localhost:5173/
➜ Network: http://192.168.2.59:5173/
ready in 2588ms.
Error: Failed to scan for dependencies from entries:
C:/Users/Dell/Downloads/universal-cloudbase-uniapp-template/src/main.ts
X [ERROR] The symbol "safeArea" has already been declared
The symbol "safeArea" was originally declared here:
X [ERROR] The symbol "safeAreaInsets" has already been declared
The symbol "safeAreaInsets" was originally declared here:
X [ERROR] The symbol "screenHeight" has already been declared
The symbol "screenHeight" was originally declared here:
X [ERROR] The symbol "windowHeight" has already been declared
The symbol "windowHeight" was originally declared here:
X [ERROR] The symbol "windowTop" has already been declared
The symbol "windowTop" was originally declared here:
X [ERROR] The symbol "windowWidth" has already been declared
The symbol "windowWidth" was originally declared here:
Deprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
More info: https://sass-lang.com/d/legacy-js-api
Deprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
More info: https://sass-lang.com/d/legacy-js-api
15:59:07 [vite] [plugin:vite:import-analysis] Cannot find module 'vue-router\dist\vue-router.esm-bundler.js'
Require stack:
at ../node_modules/@dcloudio/uni-h5/dist/uni-h5.es.js:1:0
15:59:07 [vite] [plugin:vite:import-analysis] Cannot find module 'vue-router\dist\vue-router.esm-bundler.js'
Require stack:
at ../node_modules/@dcloudio/uni-h5/dist/uni-h5.es.js:1:0 (x2)
15:59:07 [vite] [plugin:vite:import-analysis] Cannot find module 'vue-router\dist\vue-router.esm-bundler.js'
Require stack:
at ../node_modules/@dcloudio/uni-h5/dist/uni-h5.es.js:1:0 (x3)
15:59:07 [vite] [plugin:vite:import-analysis] Cannot find module 'vue-router\dist\vue-router.esm-bundler.js'
Require stack:
at ../node_modules/@dcloudio/uni-h5/dist/uni-h5.es.js:1:0 (x4)
15:59:07 [vite] [plugin:vite:import-analysis] Cannot find module 'vue-router\dist\vue-router.esm-bundler.js'
Require stack:
at ../node_modules/@dcloudio/uni-h5/dist/uni-h5.es.js:1:0 (x5)
15:59:07 [vite] [plugin:vite:import-analysis] Cannot find module 'vue-router\dist\vue-router.esm-bundler.js'
Require stack:
at ../node_modules/@dcloudio/uni-h5/dist/uni-h5.es.js:1:0 (x6)
15:59:07 [vite] [plugin:vite:import-analysis] Cannot find module 'vue-router\dist\vue-router.esm-bundler.js'
Require stack:
at ../node_modules/@dcloudio/uni-h5/dist/uni-h5.es.js:1:0 (x7)
15:59:07 [vite] [plugin:vite:import-analysis] Cannot find module 'vue-router\dist\vue-router.esm-bundler.js'
Require stack:
at ../node_modules/@dcloudio/uni-h5/dist/uni-h5.es.js:1:0 (x8)
15:59:07 [vite] [plugin:vite:import-analysis] Cannot find module 'vue-router\dist\vue-router.esm-bundler.js'
Require stack:
at ../node_modules/@dcloudio/uni-h5/dist/uni-h5.es.js:1:0 (x9)
15:59:07 [vite] [plugin:vite:import-analysis] Cannot find module 'vue-router\dist\vue-router.esm-bundler.js'
Require stack:
at ../node_modules/@dcloudio/uni-h5/dist/uni-h5.es.js:1:0 (x10)
15:59:07 [vite] [plugin:vite:import-analysis] Cannot find module 'vue-router\dist\vue-router.esm-bundler.js'
Require stack:
at ../node_modules/@dcloudio/uni-h5/dist/uni-h5.es.js:1:0 (x11)
15:59:07 [vite] [plugin:vite:import-analysis] Cannot find module 'vue-router\dist\vue-router.esm-bundler.js'
Require stack:
at ../node_modules/@dcloudio/uni-h5/dist/uni-h5.es.js:1:0 (x12)
15:59:07 [vite] [plugin:vite:import-analysis] Cannot find module 'vue-router\dist\vue-router.esm-bundler.js'
Require stack:
at ../node_modules/@dcloudio/uni-h5/dist/uni-h5.es.js:1:0 (x13)
15:59:07 [vite] [plugin:vite:import-analysis] Cannot find module 'vue-router\dist\vue-router.esm-bundler.js'
Require stack:
at ../node_modules/@dcloudio/uni-h5/dist/uni-h5.es.js:1:0 (x14)
15:59:07 [vite] [plugin:vite:import-analysis] Cannot find module 'vue-router\dist\vue-router.esm-bundler.js'
16:00:18 [vite] [plugin:vite:import-analysis] Cannot find module 'vue-router\dist\vue-router.esm-bundler.js'
Require stack: