uni-app
uni-app copied to clipboard
升级最新Hb版本之后,编译过后,插件会多出一个plugin-wrapper
升级最新HbX版本之后,编译过后,插件会多出一个plugin-wrapper,项目里有使用支付宝小程序官方插件,
HbuilderX版本为:3.4.15
编译后的一场代码:

官方插件地址为:https://app.alipay.com/abilityprod/detail?abilityCode=PL002021083000025567, 报错为:index.html:3 Module build failed (from /snapshot/code-repo/out/target/bundle/node_modules/@ali/antcube-build/lib/build/loader/engine/shared/axml/entry.js): Error: Can't resolve '/Users/chenkuo/Documents/yp-project/yp-mini-program/unpackage/dist/dev/mp-alipay/plugin-wrapper' in '/Users/chenkuo/Documents/yp-project/yp-mini-program/unpackage/dist/dev/mp-alipay/activity-package/activity-web'
编译后的小程序根目录是否存在 plugin-wrapper 文件?
不存在,json文件有声明,目录却没有
------------------ 原始邮件 ------------------ 发件人: "dcloudio/uni-app" @.>; 发送时间: 2022年6月20日(星期一) 下午2:24 @.>; @.@.>; 主题: Re: [dcloudio/uni-app] 升级最新Hb版本之后,编译过后,插件会多出一个plugin-wrapper (Issue #3619)
编译后的小程序根目录是否存在 plugin-wrapper 文件?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
不存在该文件
电脑系统是mac os,小程序编辑器版本是:3.0.2 (3.0.2),HBulderX版本是:3.4.15
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年6月20日(星期一) 下午2:28 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [dcloudio/uni-app] 升级最新Hb版本之后,编译过后,插件会多出一个plugin-wrapper (Issue #3619)
电脑系统是Windows 10吗?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
能否将测试工程精简一下上传?
已上传,里面有调用支付宝的官方插件
------------------ 原始邮件 ------------------ 发件人: "dcloudio/uni-app" @.>; 发送时间: 2022年6月20日(星期一) 下午2:31 @.>; @.@.>; 主题: Re: [dcloudio/uni-app] 升级最新Hb版本之后,编译过后,插件会多出一个plugin-wrapper (Issue #3619)
能否将测试工程精简一下上传?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
没找到上传的文件
在看下,我放到评论里了,里面就是调用了一个支付宝官方插件而已。插件地址:https://app.alipay.com/abilityprod/detail?abilityCode=PL002021083000025567
------------------ 原始邮件 ------------------ 发件人: "dcloudio/uni-app" @.>; 发送时间: 2022年6月20日(星期一) 下午2:37 @.>; @.@.>; 主题: Re: [dcloudio/uni-app] 升级最新Hb版本之后,编译过后,插件会多出一个plugin-wrapper (Issue #3619)
没找到上传的文件
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
测试了一下,我这编译出来是正常的,这样的

你重新安装HBuilderX试试呢
这个帖子是同一个问题是吧:https://ask.dcloud.net.cn/question/147467
是的
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年6月20日(星期一) 下午3:34 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [dcloudio/uni-app] 升级最新Hb版本之后,编译过后,插件会多出一个plugin-wrapper (Issue #3619)
这个帖子是同一个问题是吧:https://ask.dcloud.net.cn/question/147467
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
我重装试试,我们小伙伴遇到报错内容和我一样
------------------ 原始邮件 ------------------ 发件人: "dcloudio/uni-app" @.>; 发送时间: 2022年6月20日(星期一) 下午3:34 @.>; @.@.>; 主题: Re: [dcloudio/uni-app] 升级最新Hb版本之后,编译过后,插件会多出一个plugin-wrapper (Issue #3619)
这个帖子是同一个问题是吧:https://ask.dcloud.net.cn/question/147467
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
放在根目录是好的,但是每次编译都要手动添加一下会不会麻烦了点,我想从编译层去解决这个问题
------------------ 原始邮件 ------------------ 发件人: "dcloudio/uni-app" @.>; 发送时间: 2022年6月20日(星期一) 下午3:36 @.>; @.@.>; 主题: Re: [dcloudio/uni-app] 升级最新Hb版本之后,编译过后,插件会多出一个plugin-wrapper (Issue #3619)
plugin-wrapper.zip
另外手动把这三个文件放到编译后的支付宝小程序根目录试试
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
放在根目录是好的,但是每次编译都要手动添加一下会不会麻烦了点,我想从编译层去解决这个问题 … ------------------ 原始邮件 ------------------ 发件人: "dcloudio/uni-app" @.>; 发送时间: 2022年6月20日(星期一) 下午3:36 @.>; @.@.>; 主题: Re: [dcloudio/uni-app] 升级最新Hb版本之后,编译过后,插件会多出一个plugin-wrapper (Issue #3619) plugin-wrapper.zip 另外手动把这三个文件放到编译后的支付宝小程序根目录试试 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
这个发你是测试用,最终是要解决这个编译问题的,目前需要找一下规律,看什么情况下,这三个文件会缺失。
我这边找了几个不同的电脑,用你发我的示例测试,都没出现问题。应该是有一些隐藏的触发条件还没找到。
你试一下这个工程,在你电脑是否正常。
你好,这个工程在我电脑是正常的
经过测试,这个工程发行后是正常的。
------------------ 原始邮件 ------------------ 发件人: "dcloudio/uni-app" @.>; 发送时间: 2022年6月20日(星期一) 下午4:15 @.>; @.@.>; 主题: Re: [dcloudio/uni-app] 升级最新Hb版本之后,编译过后,插件会多出一个plugin-wrapper (Issue #3619)
放在根目录是好的,但是每次编译都要手动添加一下会不会麻烦了点,我想从编译层去解决这个问题 … ------------------ 原始邮件 ------------------ 发件人: "dcloudio/uni-app" @.>; 发送时间: 2022年6月20日(星期一) 下午3:36 @.>; @.@.>; 主题: Re: [dcloudio/uni-app] 升级最新Hb版本之后,编译过后,插件会多出一个plugin-wrapper (Issue #3619) plugin-wrapper.zip 另外手动把这三个文件放到编译后的支付宝小程序根目录试试 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
这个发你是测试用,最终是要解决这个编译问题的,目前需要找一下规律,看什么情况下,这三个文件会缺失。
我这边找了几个不同的电脑,用你发我的示例测试,都没出现问题。应该是有一些隐藏的触发条件还没找到。
你试一下这个工程,在你电脑是否正常。
alipay-plugin-3619.zip
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
你好,这个工程在我电脑是正常的
这个工程就是你给我的文件还原成的工程,可能导致出编译问题的线索没带在里面。
这个要往哪个方向去排查呢
这个要往哪个方向去排查呢
需要对比一下你自己的工程,和你给我的工程里的不同。
用排除法定位线索。
有反馈吗,如何处理
还未解决
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年7月1日(星期五) 下午3:55 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [dcloudio/uni-app] 升级最新Hb版本之后,编译过后,插件会多出一个plugin-wrapper (Issue #3619)
有反馈吗,如何处理
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
太难了,我现在都不敢让其他前端更新
给个微信加一下,微信交流
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年7月1日(星期五) 下午4:03 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [dcloudio/uni-app] 升级最新Hb版本之后,编译过后,插件会多出一个plugin-wrapper (Issue #3619)
太难了,我现在都不敢让其他前端更新
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
13545497749
同意下
升级最新版HBuilderX,问题还在,请问解决了没呢?怎么没后续了。
有反馈吗,如何处理
在等你,提供一个可以复现问题的工程。以便进行排查。