lqc520 / uniapp-plugin

uniapp插件开发
Other
117 stars 5 forks source link

尝试运行项目时报错 #10

Closed EmptyDreams closed 1 year ago

EmptyDreams commented 1 year ago

报错内容如下:

Error: Vue3 项目暂不支持当前小程序
    at Object.getMPRuntimePath (D:\Programme\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-cli-shared\lib\platform.js:118:15)
    at Object.<anonymous> (D:\Programme\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-mp-loader\lib\plugin\generate-component.js:24:80)
    at Module._compile (node:internal/modules/cjs/loader:1126:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
    at Module.load (node:internal/modules/cjs/loader:1004:32)
    at Function.Module._load (node:internal/modules/cjs/loader:839:12)
    at Module.require (node:internal/modules/cjs/loader:1028:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (D:\Programme\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-mp-loader\lib\plugin\index-new.js:17:27)
    at Module._compile (node:internal/modules/cjs/loader:1126:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
    at Module.load (node:internal/modules/cjs/loader:1004:32)
    at Function.Module._load (node:internal/modules/cjs/loader:839:12)
    at Module.require (node:internal/modules/cjs/loader:1028:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at createUniMPPlugin (D:\Programme\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\lib\mp\index.js:26:30)

进程已结束,退出代码1

我的启动配置:

image

启动配置调整为“发布”也会报错,请问是这个插件目前不支持 vue3 吗?还是我的配置有问题?

lqc520 commented 1 year ago

是的 目前不支持vue3项目 因为我这边没有这个需求 后续版本会支持vue3

EmptyDreams commented 1 year ago

请问大概什么时候能够支持 vue3 呢?

------------------ 原始邮件 ------------------ 发件人: "Jerry @.>; 发送时间: 2023年5月8日(星期一) 下午5:18 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [lqc520/uniapp-plugin] 尝试运行项目时报错 (Issue #10)

是的 目前不支持vue3项目 因为我这边没有这个需求 后续版本会支持vue3

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

lqc520 commented 1 year ago

点我下载