ATQQ / uni-vue3-ts-template

开箱即用的uni-app vue3 TS 工程化模板项目,支持小程序/H5/APP开发使用,包含pinia,sass/less,axios,vitest,eslint,Unocss
https://uni.vue3.sugarat.top
MIT License
256 stars 68 forks source link

error: yarn dev:mp-weixin failed. #26

Open yuluo-yx opened 1 month ago

yuluo-yx commented 1 month ago
Administrator@AWPC-20240901 MINGW64 /e/yyby/garage_project/garage_frontend
$ yarn dev:mp-weixin
yarn run v1.22.22
$ uni -p mp-weixin
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.To officia
lly release, please click the release menu or use the cli release command to release
Compiling...

uni-app 有新版本发布,请执行 `npx @dcloudio/uvm@latest alpha` 更新,更新日志详见:https://download1.dcloud.net.cn/hbuilderx/changelog/4.26.2024082213-alpha.html
"hasInjectionContext" is not exported by "node_modules/vue-demi/lib/index.mjs", imported by "node_modules/pinia/dist/pinia.mjs".
at ../node_modules/pinia/dist/pinia.mjs:6:9
  4:   * @license MIT
  5:   */
  6: import { hasInjectionContext, inject, toRaw, watch, unref, markRaw, effectScope, ref, isVue2, isRef, isReactive, set,...
              ^
  7: import { setupDevtoolsPlugin } from '@vue/devtools-api';

env

C:\Users\Administrator>node -v
v20.17.0
C:\Users\Administrator>npm -v
10.8.2
C:\Users\Administrator>yarn -v
1.22.22