dcloudio / dcloudio/uni-app

vue3的hello-uniapp项目转换为快应用后编译报错

Open
#5,134 2 comments 0 reactions 1 assignee Claimed by @bfc846958672 View on GitHub
bug quickapp
Dominant language
JavaScript
Stars
41.6k
Forks
3.7k
Avg merge
7h 6m
Merged PRs (30d)
6

Description

# 版本信息
"id": "hello-uniapp",
"version": "3.4.5",

快应用IDE:14.1.1

# 报错信息

```
ERROR: Unexpected JavaScript keyword as attribute name: 'key', please change it.
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\uni_modules\uni-data-picker\components\uni-data-pickerview\uni-data-pickerview.qxml:1:526

ERROR: Unexpected JavaScript keyword as attribute name: 'key', please change it.
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\uni_modules\uni-popup\components\uni-popup\uni-popup.qxml:1:112

ERROR: Unexpected JavaScript keyword as attribute name: 'key', please change it.
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\uni_modules\uni-popup\components\uni-popup\uni-popup.qxml:1:229

ERROR: Unexpected JavaScript keyword as attribute name: 'key', please change it.
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\uni_modules\uni-swiper-dot\components\uni-swiper-dot\uni-swiper-dot.qxml:1:146

ERROR: Unexpected JavaScript keyword as attribute name: 'key', please change it.
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\uni_modules\uni-swiper-dot\components\uni-swiper-dot\uni-swiper-dot.qxml:1:526

ERROR: Unexpected JavaScript keyword as attribute name: 'key', please change it.
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\uni_modules\uni-swiper-dot\components\uni-swiper-dot\uni-swiper-dot.qxml:1:870

ERROR: Unexpected JavaScript keyword as attribute name: 'key', please change it.
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\uni_modules\uni-swiper-dot\components\uni-swiper-dot\uni-swiper-dot.qxml:1:1169

ERROR: Unexpected JavaScript keyword as attribute name: 'key', please change it.
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\uni_modules\uni-swiper-dot\components\uni-swiper-dot\uni-swiper-dot.qxml:1:1427

WRANNING: Component missing required attribute 'latitude'
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\pages\component\cover-view\cover-view.qxml:1:130

WRANNING: Component missing required attribute 'longitude'
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\pages\component\cover-view\cover-view.qxml:1:130

WRANNING: Component attribute 'type' value 'error' is not allowed, Use below values
"primary, default, warn"
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\pages\extUI\button\button.qxml:1:1053

WRANNING: Component attribute 'type' value 'error' is not allowed, Use below values
"primary, default, warn"
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\pages\extUI\button\button.qxml:1:1546

WRANNING: Component attribute 'type' value 'error' is not allowed, Use below values
"primary, default, warn"
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\pages\extUI\button\button.qxml:1:2045

WRANNING: Component attribute 'type' value 'error' is not allowed, Use below values
"primary, default, warn"
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\pages\extUI\button\button.qxml:1:2574

WRANNING: Component attribute 'type' value 'info' is not allowed, Use below values
"primary, default, warn"
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\pages\extUI\button\button.qxml:1:1104

WRANNING: Component attribute 'type' value 'info' is not allowed, Use below values
"primary, default, warn"
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\pages\extUI\button\button.qxml:1:1609

WRANNING: Component attribute 'type' value 'info' is not allowed, Use below values
"primary, default, warn"
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\pages\extUI\button\button.qxml:1:2102

WRANNING: Component attribute 'type' value 'info' is not allowed, Use below values
"primary, default, warn"
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\pages\extUI\button\button.qxml:1:2643

WRANNING: Component attribute 'type' value 'success' is not allowed, Use below values
"primary, default, warn"
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\pages\extUI\button\button.qxml:1:943

WRANNING: Component attribute 'type' value 'success' is not allowed, Use below values
"primary, default, warn"
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\pages\extUI\button\button.qxml:1:1412

WRANNING: Component attribute 'type' value 'success' is not allowed, Use below values
"primary, default, warn"
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\pages\extUI\button\button.qxml:1:1923

WRANNING: Component attribute 'type' value 'success' is not allowed, Use below values
"primary, default, warn"
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\pages\extUI\button\button.qxml:1:2428

WRANNING: Component attribute 'type' value 'warning' is not allowed, Use below values
"primary, default, warn"
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\pages\extUI\button\button.qxml:1:998

WRANNING: Component attribute 'type' value 'warning' is not allowed, Use below values
"primary, default, warn"
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\pages\extUI\button\button.qxml:1:1479

WRANNING: Component attribute 'type' value 'warning' is not allowed, Use below values
"primary, default, warn"
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\pages\extUI\button\button.qxml:1:1984

WRANNING: Component attribute 'type' value 'warning' is not allowed, Use below values
"primary, default, warn"
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\pages\extUI\button\button.qxml:1:2501

WRANNING: Component attribute 'type' value 'button' is not allowed, Use below values
"primary, default, warn"
@ d:\code\h5b\h5bdemos\uniappdemo\unpackage\dist\build\quickapp-webview-huawei\pages\extUI\calendar\calendar.qxml:1:636

COMPILE RESULT:FAIL {"ERROR":8,"WARN":19}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.