苍山暮色烟雨迟
苍山暮色烟雨迟
  • 发布:2020-08-13 11:46
  • 更新:2024-02-05 16:07
  • 阅读:789

编译小程序报错:参数名冲突

分类:HBuilderX

h5和app正常,今天第一次运行 微信小程序和字节跳动小程序无法编译成功

Module parse failed: Argument name clash (13:37)  
11:27:52.415 You may need an appropriate loader to handle this file type.  
11:27:52.418 |   var _c = _vm._self._c || _h  
11:27:52.418 |   if (!_vm._isMounted) {  
11:27:52.422 >     _vm.e0 = function($event, item1, item1, item1) {  
11:27:52.422 |       var _temp = arguments[arguments.length - 1].currentTarget.dataset,  
11:27:52.428 |         _temp2 = _temp.eventParams || _temp["event-params"],  
11:27:52.428 Module parse failed: Argument name clash (80:43)  
11:27:52.433 You may need an appropriate loader to handle this file type.  
11:27:52.434 |   
11:27:52.438 |   if (!_vm._isMounted) {  
11:27:52.438 >     _vm.e0 = function($event, item, index, index) {  
11:27:52.444 |       var _temp = arguments[arguments.length - 1].currentTarget.dataset,  
11:27:52.444 |         _temp2 = _temp.eventParams || _temp["event-params"],  
11:27:52.502  ERROR  Build failed with errors.

怎么定位错误,
win10
hbuildx 2.8.5
字节跳动开发者工具 v1.9.7
微信开发者工具 v1.03.2006090

2020-08-13 11:46 负责人:无 分享
已邀请:
g***@qq.com

g***@qq.com - geminiarrow

hbuildx 版本的问题,不要用最新的版本 2.8.5
我刚才也是,用了最新版本,出现了同样的错误,切回上一个版本 2.8.3就好了

c***@cdzvan.com

c***@cdzvan.com

hbuildx 3.7.9
微信开发者工具 1.0.6
也遇到了此问题

1***@qq.com

1***@qq.com

问题解决了吗?我也遇到了,但不知道怎么解决

  • dci797

    你好,你解决了吗

    2024-01-31 16:53

dci797

dci797

你好·你解决这个问题了吗

8***@163.com

8***@163.com - 坚强的蚂蚁

请问问题是怎么解决的?

要回复问题请先登录注册