dcloudio / dcloudio/uni-preset-vue

你们最新版本的模板,没法编译到小程序,你们没发现吗

Open
#116 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
372
Forks
134
PR merge metrics
No merged PRs in 30d

Description

你们最新版本的模板,没法编译到小程序,你们没发现吗?
老版本用 npx @dcloudio/uvm@latest 升级依赖包,也会导致跑不起来

npx degit dcloudio/uni-preset-vue#vite my-vue3-project

```bash
09:25:28.755 failed to load config from C:\Users\it\Desktop\999\my-vue3-project\vite.config.js
09:25:28.755 error during build:
09:25:28.755 Error: Invalid or incompatible cached data (cachedDataRejected)
09:25:28.755 at Module._extensions. [as .jsc] (D:\program\HBuilderX\plugins\uni_helpers\lib\bytenode\lib\index.js:270:11)
09:25:28.755 at Module.load (node:internal/modules/cjs/loader:1441:32)
09:25:28.755 at Function._load (node:internal/modules/cjs/loader:1263:12)
09:25:28.755 at TracingChannel.traceSync (node:diagnostics_channel:328:14)
09:25:28.755 at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
09:25:28.755 at Module.require (node:internal/modules/cjs/loader:1463:12)
09:25:28.755 at require (node:internal/modules/helpers:147:16)
09:25:28.755 at Object. (D:\program\HBuilderX\plugins\uni_helpers\dist\index.js:1:109)
09:25:28.755 at Module._compile (node:internal/modules/cjs/loader:1706:14)
09:25:28.755 at node:internal/modules/cjs/loader:1839:10
09:25:28.770 已停止运行...
````

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.