Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

转换小程序代码出错 #18

Open
chen28683 opened this issue Apr 24, 2018 · 3 comments
Open

转换小程序代码出错 #18

chen28683 opened this issue Apr 24, 2018 · 3 comments

Comments

@chen28683
Copy link

/usr/local/lib/node_modules/uni-migration/node_modules/babel-core/lib/transformation/file/index.js:590
throw err;
^

SyntaxError: unknown: Unexpected token (23:19)
21 | }
22 |

23 | static propTypes = {
| ^
24 | setLocation: func,
25 | locationInfo: object,
26 | navigatorInfo: object
at Parser.pp$5.raise (/usr/local/lib/node_modules/uni-migration/node_modules/babylon/lib/index.js:4454:13)
at Parser.pp.unexpected (/usr/local/lib/node_modules/uni-migration/node_modules/babylon/lib/index.js:1761:8)
at Parser.pp$1.parseClassProperty (/usr/local/lib/node_modules/uni-migration/node_modules/babylon/lib/index.js:2571:50)
at Parser.pp$1.parseClassBody (/usr/local/lib/node_modules/uni-migration/node_modules/babylon/lib/index.js:2516:34)
at Parser.pp$1.parseClass (/usr/local/lib/node_modules/uni-migration/node_modules/babylon/lib/index.js:2406:8)
at Parser.pp$1.parseStatement (/usr/local/lib/node_modules/uni-migration/node_modules/babylon/lib/index.js:1843:19)
at Parser.pp$1.parseBlockBody (/usr/local/lib/node_modules/uni-migration/node_modules/babylon/lib/index.js:2268:21)
at Parser.pp$1.parseTopLevel (/usr/local/lib/node_modules/uni-migration/node_modules/babylon/lib/index.js:1778:8)
at Parser.parse (/usr/local/lib/node_modules/uni-migration/node_modules/babylon/lib/index.js:1673:17)
at parse (/usr/local/lib/node_modules/uni-migration/node_modules/babylon/lib/index.js:7305:37)

@fxy060608
Copy link
Collaborator

已处理该问题,如果使用的是 HBuilderX,预计下个版本修复

@ZhuRuiHeng
Copy link

请问小程序怎么转快应用,我把小程序代码拉进去,并没有提示转快应用的提示

@udbmnm
Copy link

udbmnm commented Aug 28, 2018

目前还是有问题,转换的是以前的nml
[HBuilder] 19:18:40.650 项目【vantapp-uniapp】转换开始...
[HBuilder] 19:18:41.593 WARN: 选择器.van-clearfix::after不支持
@1:337 in /weapp/vantapp/dist/common/index.wxss
[HBuilder] 19:18:41.597 WARN: 选择器.van-hairline--bottom::after不支持
@1:558 in /weapp/vantapp/dist/common/index.wxss
WARN: 选择器.van-hairline--left::after不支持
@1:558 in /weapp/vantapp/dist/common/index.wxss
WARN: 选择器.van-hairline--right::after不支持
@1:558 in /weapp/vantapp/dist/common/index.wxss
WARN: 选择器.van-hairline--surround::after不支持
@1:558 in /weapp/vantapp/dist/common/index.wxss
WARN: 选择器.van-hairline--top-bottom::after不支持
@1:558 in /weapp/vantapp/dist/common/index.wxss
WARN: 选择器.van-hairline--top::after不支持
@1:558 in /weapp/vantapp/dist/common/index.wxss
WARN: 选择器.van-hairline::after不支持
@1:558 in /weapp/vantapp/dist/common/index.wxss
WARN: 选择器.van-hairline--top::after不支持
@1:981 in /weapp/vantapp/dist/common/index.wxss
WARN: 选择器.van-hairline--left::after不支持
@1:1028 in /weapp/vantapp/dist/common/index.wxss
WARN: 选择器.van-hairline--right::after不支持
@1:1077 in /weapp/vantapp/dist/common/index.wxss
WARN: 选择器.van-hairline--bottom::after不支持
@1:1128 in /weapp/vantapp/dist/common/index.wxss
WARN: 选择器.van-hairline--top-bottom::after不支持
@1:1181 in /weapp/vantapp/dist/common/index.wxss
WARN: 选择器.van-hairline--surround::after不支持
@1:1233 in /weapp/vantapp/dist/common/index.wxss
[HBuilder] 19:18:41.617 INFO: pages/dashboard/index.nml 转换完毕!
[HBuilder] 19:18:41.635 INFO: pages/actionsheet/index.nml 转换完毕!
[HBuilder] 19:18:41.652 INFO: pages/badge/index.nml 转换完毕!
ERROR: 不支持demo-section标签转换
@1:20 in /weapp/vantapp/pages/button/index.wxml
INFO: pages/button/index.nml 转换完毕!
[HBuilder] 19:18:41.668 INFO: pages/card/index.nml 转换完毕!
INFO: pages/cell/index.nml 转换完毕!
INFO: pages/col/index.nml 转换完毕!
[HBuilder] 19:18:41.685 INFO: pages/field/index.nml 转换完毕!
INFO: pages/icon/index.nml 转换完毕!
[HBuilder] 19:18:41.701 INFO: pages/loading/index.nml 转换完毕!
INFO: pages/nav-bar/index.nml 转换完毕!
INFO: pages/notice-bar/index.nml 转换完毕!
[HBuilder] 19:18:41.718 INFO: pages/notify/index.nml 转换完毕!
INFO: pages/panel/index.nml 转换完毕!
INFO: pages/popup/index.nml 转换完毕!
[HBuilder] 19:18:41.735 INFO: pages/progress/index.nml 转换完毕!
INFO: pages/stepper/index.nml 转换完毕!
[HBuilder] 19:18:41.751 INFO: pages/steps/index.nml 转换完毕!
INFO: pages/switch/index.nml 转换完毕!
[HBuilder] 19:18:41.768 INFO: pages/switch-cell/index.nml 转换完毕!
INFO: pages/search/index.nml 转换完毕!
[HBuilder] 19:18:41.768 INFO: pages/slider/index.nml 转换完毕!
[HBuilder] 19:18:41.784 INFO: pages/tag/index.nml 转换完毕!
INFO: pages/toast/index.nml 转换完毕!
[HBuilder] 19:18:41.800 INFO: pages/tabbar/index.nml 转换完毕!
INFO: pages/transition/index.nml 转换完毕!
[HBuilder] 19:18:41.817 INFO: pages/tree-select/index.nml 转换完毕!
WARN: 选择器.van-hairline--bottom::after不支持
@1:165 in /weapp/vantapp/dist/panel/index.wxss
WARN: 选择器.van-hairline--left::after不支持
@1:165 in /weapp/vantapp/dist/panel/index.wxss
WARN: 选择器.van-hairline--right::after不支持
@1:165 in /weapp/vantapp/dist/panel/index.wxss
WARN: 选择器.van-hairline--surround::after不支持
@1:165 in /weapp/vantapp/dist/panel/index.wxss
WARN: 选择器.van-hairline--top-bottom::after不支持
@1:165 in /weapp/vantapp/dist/panel/index.wxss
WARN: 选择器.van-hairline--top::after不支持
@1:165 in /weapp/vantapp/dist/panel/index.wxss
WARN: 选择器.van-hairline::after不支持
@1:165 in /weapp/vantapp/dist/panel/index.wxss
WARN: 选择器.van-hairline--top::after不支持
@1:588 in /weapp/vantapp/dist/panel/index.wxss
WARN: 选择器.van-hairline--left::after不支持
@1:635 in /weapp/vantapp/dist/panel/index.wxss
WARN: 选择器.van-hairline--right::after不支持
@1:684 in /weapp/vantapp/dist/panel/index.wxss
WARN: 选择器.van-hairline--bottom::after不支持
@1:735 in /weapp/vantapp/dist/panel/index.wxss
WARN: 选择器.van-hairline--top-bottom::after不支持
@1:788 in /weapp/vantapp/dist/panel/index.wxss
WARN: 选择器.van-hairline--surround::after不支持
@1:840 in /weapp/vantapp/dist/panel/index.wxss
ERROR: 不支持van-cell标签转换
@9:4 in /weapp/vantapp/dist/panel/index.wxml
ERROR: 不支持slot标签转换
@10:32 in /weapp/vantapp/dist/panel/index.wxml
ERROR: 不支持slot标签转换
@13:12 in /weapp/vantapp/dist/panel/index.wxml
ERROR: 不支持slot标签转换
@17:26 in /weapp/vantapp/dist/panel/index.wxml
INFO: dist/panel/index.nml 转换完毕!
WARN: 选择器.van-hairline--bottom::after不支持
@1:165 in /weapp/vantapp/dist/cell/index.wxss
WARN: 选择器.van-hairline--left::after不支持
@1:165 in /weapp/vantapp/dist/cell/index.wxss
WARN: 选择器.van-hairline--right::after不支持
@1:165 in /weapp/vantapp/dist/cell/index.wxss
WARN: 选择器.van-hairline--surround::after不支持
@1:165 in /weapp/vantapp/dist/cell/index.wxss
WARN: 选择器.van-hairline--top-bottom::after不支持
@1:165 in /weapp/vantapp/dist/cell/index.wxss
WARN: 选择器.van-hairline--top::after不支持
@1:165 in /weapp/vantapp/dist/cell/index.wxss
WARN: 选择器.van-hairline::after不支持
@1:165 in /weapp/vantapp/dist/cell/index.wxss
WARN: 选择器.van-hairline--top::after不支持
@1:588 in /weapp/vantapp/dist/cell/index.wxss
WARN: 选择器.van-hairline--left::after不支持
@1:635 in /weapp/vantapp/dist/cell/index.wxss
WARN: 选择器.van-hairline--right::after不支持
@1:684 in /weapp/vantapp/dist/cell/index.wxss
WARN: 选择器.van-hairline--bottom::after不支持
@1:735 in /weapp/vantapp/dist/cell/index.wxss
WARN: 选择器.van-hairline--top-bottom::after不支持
@1:788 in /weapp/vantapp/dist/cell/index.wxss
WARN: 选择器.van-hairline--surround::after不支持
@1:840 in /weapp/vantapp/dist/cell/index.wxss
[HBuilder] 19:18:41.818 WARN: 选择器.van-cell::after不支持
@1:1086 in /weapp/vantapp/dist/cell/index.wxss
WARN: 选择器.van-cell__right-icon--left::before不支持
@1:1625 in /weapp/vantapp/dist/cell/index.wxss
WARN: 选择器.van-cell__right-icon--up::before不支持
@1:1719 in /weapp/vantapp/dist/cell/index.wxss
WARN: 选择器.van-cell__right-icon--down::before不支持
@1:1811 in /weapp/vantapp/dist/cell/index.wxss
WARN: 选择器.van-cell--required::before不支持
@1:1993 in /weapp/vantapp/dist/cell/index.wxss
[HBuilder] 19:18:41.847 ERROR: 不支持van-icon标签转换
@6:102 in /weapp/vantapp/dist/cell/index.wxml
ERROR: 不支持slot标签转换
@7:30 in /weapp/vantapp/dist/cell/index.wxml
ERROR: 不支持slot标签转换
@13:23 in /weapp/vantapp/dist/cell/index.wxml
ERROR: 不支持slot标签转换
@17:20 in /weapp/vantapp/dist/cell/index.wxml
ERROR: 不支持van-icon标签转换
@24:4 in /weapp/vantapp/dist/cell/index.wxml
ERROR: 不支持slot标签转换
@25:36 in /weapp/vantapp/dist/cell/index.wxml
ERROR: 不支持slot标签转换
@27:23 in /weapp/vantapp/dist/cell/index.wxml
INFO: dist/cell/index.nml 转换完毕!
WARN: 选择器.van-hairline--bottom::after不支持
@1:165 in /weapp/vantapp/dist/cell-group/index.wxss
WARN: 选择器.van-hairline--left::after不支持
@1:165 in /weapp/vantapp/dist/cell-group/index.wxss
WARN: 选择器.van-hairline--right::after不支持
@1:165 in /weapp/vantapp/dist/cell-group/index.wxss
WARN: 选择器.van-hairline--surround::after不支持
@1:165 in /weapp/vantapp/dist/cell-group/index.wxss
WARN: 选择器.van-hairline--top-bottom::after不支持
@1:165 in /weapp/vantapp/dist/cell-group/index.wxss
WARN: 选择器.van-hairline--top::after不支持
@1:165 in /weapp/vantapp/dist/cell-group/index.wxss
WARN: 选择器.van-hairline::after不支持
@1:165 in /weapp/vantapp/dist/cell-group/index.wxss
WARN: 选择器.van-hairline--top::after不支持
@1:588 in /weapp/vantapp/dist/cell-group/index.wxss
WARN: 选择器.van-hairline--left::after不支持
@1:635 in /weapp/vantapp/dist/cell-group/index.wxss
WARN: 选择器.van-hairline--right::after不支持
@1:684 in /weapp/vantapp/dist/cell-group/index.wxss
WARN: 选择器.van-hairline--bottom::after不支持
@1:735 in /weapp/vantapp/dist/cell-group/index.wxss
WARN: 选择器.van-hairline--top-bottom::after不支持
@1:788 in /weapp/vantapp/dist/cell-group/index.wxss
WARN: 选择器.van-hairline--surround::after不支持
@1:840 in /weapp/vantapp/dist/cell-group/index.wxss
ERROR: 不支持slot标签转换
@2:10 in /weapp/vantapp/dist/cell-group/index.wxml
INFO: dist/cell-group/index.nml 转换完毕!
[HBuilder] 19:18:41.848 ERROR: 不支持slot标签转换
@3:10 in /weapp/vantapp/components/demo-block/index.wxml
INFO: components/demo-block/index.nml 转换完毕!
WARN: 选择器.van-hairline--bottom::after不支持
@1:165 in /weapp/vantapp/dist/actionsheet/index.wxss
WARN: 选择器.van-hairline--left::after不支持
@1:165 in /weapp/vantapp/dist/actionsheet/index.wxss
WARN: 选择器.van-hairline--right::after不支持
@1:165 in /weapp/vantapp/dist/actionsheet/index.wxss
WARN: 选择器.van-hairline--surround::after不支持
@1:165 in /weapp/vantapp/dist/actionsheet/index.wxss
WARN: 选择器.van-hairline--top-bottom::after不支持
@1:165 in /weapp/vantapp/dist/actionsheet/index.wxss
WARN: 选择器.van-hairline--top::after不支持
@1:165 in /weapp/vantapp/dist/actionsheet/index.wxss
WARN: 选择器.van-hairline::after不支持
@1:165 in /weapp/vantapp/dist/actionsheet/index.wxss
WARN: 选择器.van-hairline--top::after不支持
@1:588 in /weapp/vantapp/dist/actionsheet/index.wxss
WARN: 选择器.van-hairline--left::after不支持
@1:635 in /weapp/vantapp/dist/actionsheet/index.wxss
WARN: 选择器.van-hairline--right::after不支持
@1:684 in /weapp/vantapp/dist/actionsheet/index.wxss
WARN: 选择器.van-hairline--bottom::after不支持
@1:735 in /weapp/vantapp/dist/actionsheet/index.wxss
WARN: 选择器.van-hairline--top-bottom::after不支持
@1:788 in /weapp/vantapp/dist/actionsheet/index.wxss
WARN: 选择器.van-hairline--surround::after不支持
@1:840 in /weapp/vantapp/dist/actionsheet/index.wxss
ERROR: 不支持van-popup标签转换
@8:1 in /weapp/vantapp/dist/actionsheet/index.wxml
INFO: dist/actionsheet/index.nml 转换完毕!
[HBuilder] 19:18:41.848 WARN: 选择器.van-button::after不支持
@1:240 in /weapp/vantapp/dist/button/index.wxss
WARN: 选择器.van-button:active::after不支持
@1:486 in /weapp/vantapp/dist/button/index.wxss
WARN: 选择器.van-button--unclickable::after不支持
@1:523 in /weapp/vantapp/dist/button/index.wxss
WARN: 选择器.van-button--plain.van-button--primary不支持
@1:915 in /weapp/vantapp/dist/button/index.wxss
WARN: 选择器.van-button--plain.van-button--danger不支持
@1:965 in /weapp/vantapp/dist/button/index.wxss
WARN: 选择器.van-button--plain.van-button--warning不支持
@1:1014 in /weapp/vantapp/dist/button/index.wxss
WARN: 选择器.van-button--mini+.van-button--mini不支持
@1:1466 in /weapp/vantapp/dist/button/index.wxss
[HBuilder] 19:18:41.869 ERROR: 组件input不支持open-type属性配置
@22:1 in /weapp/vantapp/dist/button/index.wxml
ERROR: 组件input不支持app-parameter属性配置
@22:1 in /weapp/vantapp/dist/button/index.wxml
ERROR: 组件input不支持session-from属性配置
@22:1 in /weapp/vantapp/dist/button/index.wxml
ERROR: 组件input不支持send-message-title属性配置
@22:1 in /weapp/vantapp/dist/button/index.wxml
ERROR: 组件input不支持send-message-path属性配置
@22:1 in /weapp/vantapp/dist/button/index.wxml
ERROR: 组件input不支持send-message-img属性配置
@22:1 in /weapp/vantapp/dist/button/index.wxml
ERROR: 不支持van-loading标签转换
@28:4 in /weapp/vantapp/dist/button/index.wxml
ERROR: 不支持slot标签转换
@29:8 in /weapp/vantapp/dist/button/index.wxml
INFO: dist/button/index.nml 转换完毕!
WARN: 选择器.van-hairline--bottom::after不支持
@1:165 in /weapp/vantapp/dist/badge/index.wxss
WARN: 选择器.van-hairline--left::after不支持
@1:165 in /weapp/vantapp/dist/badge/index.wxss
WARN: 选择器.van-hairline--right::after不支持
@1:165 in /weapp/vantapp/dist/badge/index.wxss
WARN: 选择器.van-hairline--surround::after不支持
@1:165 in /weapp/vantapp/dist/badge/index.wxss
WARN: 选择器.van-hairline--top-bottom::after不支持
@1:165 in /weapp/vantapp/dist/badge/index.wxss
WARN: 选择器.van-hairline--top::after不支持
@1:165 in /weapp/vantapp/dist/badge/index.wxss
WARN: 选择器.van-hairline::after不支持
@1:165 in /weapp/vantapp/dist/badge/index.wxss
WARN: 选择器.van-hairline--top::after不支持
@1:588 in /weapp/vantapp/dist/badge/index.wxss
WARN: 选择器.van-hairline--left::after不支持
@1:635 in /weapp/vantapp/dist/badge/index.wxss
WARN: 选择器.van-hairline--right::after不支持
@1:684 in /weapp/vantapp/dist/badge/index.wxss
WARN: 选择器.van-hairline--bottom::after不支持
@1:735 in /weapp/vantapp/dist/badge/index.wxss
WARN: 选择器.van-hairline--top-bottom::after不支持
@1:788 in /weapp/vantapp/dist/badge/index.wxss
WARN: 选择器.van-hairline--surround::after不支持
@1:840 in /weapp/vantapp/dist/badge/index.wxss
WARN: 选择器.van-badge::after不支持
@1:1185 in /weapp/vantapp/dist/badge/index.wxss
WARN: 选择器.van-badge--active::after不支持
@1:1291 in /weapp/vantapp/dist/badge/index.wxss
INFO: dist/badge/index.nml 转换完毕!
WARN: 选择器.van-hairline--bottom::after不支持
@1:165 in /weapp/vantapp/dist/badge-group/index.wxss
WARN: 选择器.van-hairline--left::after不支持
@1:165 in /weapp/vantapp/dist/badge-group/index.wxss
WARN: 选择器.van-hairline--right::after不支持
@1:165 in /weapp/vantapp/dist/badge-group/index.wxss
WARN: 选择器.van-hairline--surround::after不支持
@1:165 in /weapp/vantapp/dist/badge-group/index.wxss
WARN: 选择器.van-hairline--top-bottom::after不支持
@1:165 in /weapp/vantapp/dist/badge-group/index.wxss
WARN: 选择器.van-hairline--top::after不支持
@1:165 in /weapp/vantapp/dist/badge-group/index.wxss
WARN: 选择器.van-hairline::after不支持
@1:165 in /weapp/vantapp/dist/badge-group/index.wxss
WARN: 选择器.van-hairline--top::after不支持
@1:588 in /weapp/vantapp/dist/badge-group/index.wxss
WARN: 选择器.van-hairline--left::after不支持
@1:635 in /weapp/vantapp/dist/badge-group/index.wxss
WARN: 选择器.van-hairline--right::after不支持
@1:684 in /weapp/vantapp/dist/badge-group/index.wxss
WARN: 选择器.van-hairline--bottom::after不支持
@1:735 in /weapp/vantapp/dist/badge-group/index.wxss
WARN: 选择器.van-hairline--top-bottom::after不支持
@1:788 in /weapp/vantapp/dist/badge-group/index.wxss
WARN: 选择器.van-hairline--surround::after不支持
@1:840 in /weapp/vantapp/dist/badge-group/index.wxss
[HBuilder] 19:18:41.888 ERROR: 不支持slot标签转换
@2:10 in /weapp/vantapp/dist/badge-group/index.wxml
INFO: dist/badge-group/index.nml 转换完毕!
ERROR: 不支持slot标签转换
@4:33 in /weapp/vantapp/dist/card/index.wxml
ERROR: 不支持slot标签转换
@11:33 in /weapp/vantapp/dist/card/index.wxml
ERROR: 不支持slot标签转换
@16:32 in /weapp/vantapp/dist/card/index.wxml
ERROR: 不支持slot标签转换
@17:24 in /weapp/vantapp/dist/card/index.wxml
ERROR: 不支持slot标签转换
@20:26 in /weapp/vantapp/dist/card/index.wxml
INFO: dist/card/index.nml 转换完毕!
[HBuilder] 19:18:41.898 WARN: 选择器.van-icon::before不支持
@1:599 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-add-o::before不支持
@1:638 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-add::before不支持
@1:678 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-add2::before不支持
@1:716 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-after-sale::before不支持
@1:755 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-aim::before不支持
@1:800 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-alipay::before不支持
@1:838 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-arrow-left::before不支持
@1:879 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-arrow::before不支持
@1:924 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-balance-pay::before不支持
@1:964 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-browsing-history::before不支持
@1:1010 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-card::before不支持
@1:1061 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-cart::before不支持
@1:1100 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-cash-back-record::before不支持
@1:1139 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-cash-on-deliver::before不支持
@1:1190 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-certificate::before不支持
@1:1240 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-chat::before不支持
@1:1286 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-check::before不支持
@1:1325 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-checked::before不支持
@1:1365 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-clear::before不支持
@1:1407 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-clock::before不支持
@1:1447 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-close::before不支持
@1:1487 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-completed::before不支持
@1:1527 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-contact::before不支持
@1:1571 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-coupon::before不支持
@1:1613 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-credit-pay::before不支持
@1:1654 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-debit-pay::before不支持
@1:1699 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-delete::before不支持
@1:1743 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-description::before不支持
@1:1784 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-discount::before不支持
@1:1830 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-ecard-pay::before不支持
@1:1873 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-edit-data::before不支持
@1:1917 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-edit::before不支持
@1:1961 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-exchange-record::before不支持
@1:2000 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-exchange::before不支持
@1:2050 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-fail::before不支持
@1:2093 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-free-postage::before不支持
@1:2132 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-gift-card-pay::before不支持
@1:2179 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-gift-card::before不支持
@1:2227 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-gift::before不支持
@1:2271 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-gold-coin::before不支持
@1:2310 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-goods-collect::before不支持
@1:2354 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-home::before不支持
@1:2402 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-hot-sale::before不支持
@1:2441 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-hot::before不支持
@1:2484 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-idcard::before不支持
@1:2522 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-info-o::before不支持
@1:2563 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-like-o::before不支持
@1:2604 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-like::before不支持
@1:2645 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-location::before不支持
@1:2684 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-logistics::before不支持
@1:2727 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-more-o::before不支持
@1:2771 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-more::before不支持
@1:2812 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-new-arrival::before不支持
@1:2851 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-new::before不支持
@1:2897 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-other-pay::before不支持
@1:2935 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-passed::before不支持
@1:2979 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-password-not-view::before不支持
@1:3020 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-password-view::before不支持
@1:3072 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-pause::before不支持
@1:3120 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-peer-pay::before不支持
@1:3160 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-pending-deliver::before不支持
@1:3203 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-pending-evaluate::before不支持
@1:3253 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-pending-orders::before不支持
@1:3304 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-pending-payment::before不支持
@1:3353 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-phone::before不支持
@1:3403 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-photo::before不支持
@1:3443 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-photograph::before不支持
@1:3483 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-play::before不支持
@1:3528 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-point-gift::before不支持
@1:3567 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-points-mall::before不支持
@1:3612 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-points::before不支持
@1:3658 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-qr-invalid::before不支持
@1:3699 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-qr::before不支持
@1:3744 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-question::before不支持
@1:3781 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-receive-gift::before不支持
@1:3824 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-records::before不支持
@1:3871 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-search::before不支持
@1:3913 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-send-gift::before不支持
@1:3954 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-setting::before不支持
@1:3998 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-share::before不支持
@1:4040 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-shop-collect::before不支持
@1:4080 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-shop::before不支持
@1:4127 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-shopping-cart::before不支持
@1:4166 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-sign::before不支持
@1:4214 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-stop::before不支持
@1:4253 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-success::before不支持
@1:4292 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-tosend::before不支持
@1:4334 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-underway::before不支持
@1:4375 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-upgrade::before不支持
@1:4418 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-value-card::before不支持
@1:4460 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-wap-home::before不支持
@1:4505 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-wap-nav::before不支持
@1:4548 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-warn::before不支持
@1:4590 in /weapp/vantapp/dist/icon/index.wxss
WARN: 选择器.van-icon-wechat::before不支持
@1:4629 in /weapp/vantapp/dist/icon/index.wxss
[HBuilder] 19:18:41.898 INFO: dist/icon/index.nml 转换完毕!
[HBuilder] 19:18:41.922 WARN: 选择器.van-hairline--bottom::after不支持
@1:165 in /weapp/vantapp/dist/tag/index.wxss
WARN: 选择器.van-hairline--left::after不支持
@1:165 in /weapp/vantapp/dist/tag/index.wxss
WARN: 选择器.van-hairline--right::after不支持
@1:165 in /weapp/vantapp/dist/tag/index.wxss
WARN: 选择器.van-hairline--surround::after不支持
@1:165 in /weapp/vantapp/dist/tag/index.wxss
WARN: 选择器.van-hairline--top-bottom::after不支持
@1:165 in /weapp/vantapp/dist/tag/index.wxss
WARN: 选择器.van-hairline--top::after不支持
@1:165 in /weapp/vantapp/dist/tag/index.wxss
WARN: 选择器.van-hairline::after不支持
@1:165 in /weapp/vantapp/dist/tag/index.wxss
WARN: 选择器.van-hairline--top::after不支持
@1:588 in /weapp/vantapp/dist/tag/index.wxss
WARN: 选择器.van-hairline--left::after不支持
@1:635 in /weapp/vantapp/dist/tag/index.wxss
WARN: 选择器.van-hairline--right::after不支持
@1:684 in /weapp/vantapp/dist/tag/index.wxss
WARN: 选择器.van-hairline--bottom::after不支持
@1:735 in /weapp/vantapp/dist/tag/index.wxss
WARN: 选择器.van-hairline--top-bottom::after不支持
@1:788 in /weapp/vantapp/dist/tag/index.wxss
WARN: 选择器.van-hairline--surround::after不支持
@1:840 in /weapp/vantapp/dist/tag/index.wxss
WARN: 选择器.van-tag::after不支持
@1:1016 in /weapp/vantapp/dist/tag/index.wxss
WARN: 选择器.van-tag--mark::after不支持
@1:1135 in /weapp/vantapp/dist/tag/index.wxss
WARN: 选择器.van-tag--success.van-tag--plain不支持
@1:1222 in /weapp/vantapp/dist/tag/index.wxss
WARN: 选择器.van-tag--danger.van-tag--plain不支持
@1:1302 in /weapp/vantapp/dist/tag/index.wxss
WARN: 选择器.van-tag--primary.van-tag--plain不支持
@1:1379 in /weapp/vantapp/dist/tag/index.wxss
ERROR: 不支持slot标签转换
@4:10 in /weapp/vantapp/dist/tag/index.wxml
INFO: dist/tag/index.nml 转换完毕!
WARN: 选择器.van-row::after不支持
@1:1 in /weapp/vantapp/dist/row/index.wxss
[HBuilder] 19:18:41.922 ERROR: 不支持slot标签转换
@2:10 in /weapp/vantapp/dist/row/index.wxml
INFO: dist/row/index.nml 转换完毕!
ERROR: 不支持slot标签转换
@5:10 in /weapp/vantapp/dist/col/index.wxml
INFO: dist/col/index.nml 转换完毕!
[HBuilder] 19:18:41.942 ERROR: 不支持van-cell标签转换
@11:1 in /weapp/vantapp/dist/field/index.wxml
INFO: dist/field/index.nml 转换完毕!
WARN: 选择器.van-loading__dot::before不支持
@1:624 in /weapp/vantapp/dist/loading/index.wxss
WARN: 选择器.van-loading__dot:nth-of-type(1)不支持
@1:759 in /weapp/vantapp/dist/loading/index.wxss
WARN: 选择器.van-loading__dot:nth-of-type(2)不支持
@1:858 in /weapp/vantapp/dist/loading/index.wxss
WARN: 选择器.van-loading__dot:nth-of-type(3)不支持
@1:961 in /weapp/vantapp/dist/loading/index.wxss
WARN: 选择器.van-loading__dot:nth-of-type(4)不支持
@1:1063 in /weapp/vantapp/dist/loading/index.wxss
WARN: 选择器.van-loading__dot:nth-of-type(5)不支持
@1:1168 in /weapp/vantapp/dist/loading/index.wxss
WARN: 选择器.van-loading__dot:nth-of-type(6)不支持
@1:1271 in /weapp/vantapp/dist/loading/index.wxss
WARN: 选择器.van-loading__dot:nth-of-type(7)不支持
@1:1376 in /weapp/vantapp/dist/loading/index.wxss
WARN: 选择器.van-loading__dot:nth-of-type(8)不支持
@1:1480 in /weapp/vantapp/dist/loading/index.wxss
WARN: 选择器.van-loading__dot:nth-of-type(9)不支持
@1:1585 in /weapp/vantapp/dist/loading/index.wxss
WARN: 选择器.van-loading__dot:nth-of-type(10)不支持
@1:1687 in /weapp/vantapp/dist/loading/index.wxss
WARN: 选择器.van-loading__dot:nth-of-type(11)不支持
@1:1793 in /weapp/vantapp/dist/loading/index.wxss
WARN: 选择器.van-loading__dot:nth-of-type(12)不支持
@1:1898 in /weapp/vantapp/dist/loading/index.wxss
[HBuilder] 19:18:41.957 INFO: dist/loading/index.nml 转换完毕!
WARN: 选择器.van-nav-bar__arrow+.van-nav-bar__text不支持
@1:254 in /weapp/vantapp/dist/nav-bar/index.wxss
ERROR: 不支持van-icon标签转换
@11:8 in /weapp/vantapp/dist/nav-bar/index.wxml
ERROR: 不支持slot标签转换
@14:32 in /weapp/vantapp/dist/nav-bar/index.wxml
ERROR: 不支持slot标签转换
@18:33 in /weapp/vantapp/dist/nav-bar/index.wxml
ERROR: 不支持slot标签转换
@22:33 in /weapp/vantapp/dist/nav-bar/index.wxml
INFO: dist/nav-bar/index.nml 转换完毕!
[HBuilder] 19:18:41.972 ERROR: 不支持van-icon标签转换
@22:6 in /weapp/vantapp/dist/notice-bar/index.wxml
ERROR: 不支持van-icon标签转换
@28:66 in /weapp/vantapp/dist/notice-bar/index.wxml
[HBuilder] 19:18:41.979 INFO: dist/notice-bar/index.nml 转换完毕!
[HBuilder] 19:18:41.984 ERROR: 不支持van-transition标签转换
@6:1 in /weapp/vantapp/dist/notify/index.wxml
[HBuilder] 19:18:41.997 INFO: dist/notify/index.nml 转换完毕!
ERROR: 不支持slot标签转换
@8:10 in /weapp/vantapp/dist/popup/index.wxml
INFO: dist/popup/index.nml 转换完毕!
[HBuilder] 19:18:42.004 INFO: dist/progress/index.nml 转换完毕!
[HBuilder] 19:18:42.010 WARN: 选择器.van-stepper__minus::before不支持
@1:289 in /weapp/vantapp/dist/stepper/index.wxss
WARN: 选择器.van-stepper__plus::before不支持
@1:289 in /weapp/vantapp/dist/stepper/index.wxss
WARN: 选择器.van-stepper__minus::after不支持
@1:365 in /weapp/vantapp/dist/stepper/index.wxss
WARN: 选择器.van-stepper__plus::after不支持
@1:365 in /weapp/vantapp/dist/stepper/index.wxss
WARN: 选择器.van-stepper__minus::after不支持
@1:439 in /weapp/vantapp/dist/stepper/index.wxss
WARN: 选择器.van-stepper__minus::before不支持
@1:439 in /weapp/vantapp/dist/stepper/index.wxss
WARN: 选择器.van-stepper__plus::after不支持
@1:439 in /weapp/vantapp/dist/stepper/index.wxss
WARN: 选择器.van-stepper__plus::before不支持
@1:439 in /weapp/vantapp/dist/stepper/index.wxss
WARN: 选择器.van-stepper__minus--disabled::after不支持
@1:805 in /weapp/vantapp/dist/stepper/index.wxss
WARN: 选择器.van-stepper__minus--disabled::before不支持
@1:805 in /weapp/vantapp/dist/stepper/index.wxss
WARN: 选择器.van-stepper__plus--disabled::after不支持
@1:805 in /weapp/vantapp/dist/stepper/index.wxss
WARN: 选择器.van-stepper__plus--disabled::before不支持
@1:805 in /weapp/vantapp/dist/stepper/index.wxss
WARN: 选择器.van-stepper__minus::after不支持
@1:1122 in /weapp/vantapp/dist/stepper/index.wxss
[HBuilder] 19:18:42.023 INFO: dist/stepper/index.nml 转换完毕!
WARN: 选择器.van-hairline--bottom::after不支持
@1:165 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-hairline--left::after不支持
@1:165 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-hairline--right::after不支持
@1:165 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-hairline--surround::after不支持
@1:165 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-hairline--top-bottom::after不支持
@1:165 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-hairline--top::after不支持
@1:165 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-hairline::after不支持
@1:165 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-hairline--top::after不支持
@1:588 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-hairline--left::after不支持
@1:635 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-hairline--right::after不支持
@1:684 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-hairline--bottom::after不支持
@1:735 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-hairline--top-bottom::after不支持
@1:788 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-hairline--surround::after不支持
@1:840 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-step--horizontal:first-child .van-step__title不支持
@1:1367 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-step--horizontal:last-child不支持
@1:1470 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-step--horizontal:last-child .van-step__title不支持
@1:1543 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-step--horizontal:last-child .van-step__circle-container不支持
@1:1662 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-step--horizontal:last-child .van-step__line不支持
@1:1744 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-step--horizontal.van-step--process不支持
@1:2218 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-step--horizontal.van-step--process .van-step__circle-container不支持
@1:2269 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-step--horizontal.van-step--process .van-step__active不支持
@1:2349 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-step--vertical:not(:last-child)::after不支持
@1:2541 in /weapp/vantapp/dist/steps/index.wxss
WARN: 选择器.van-step--vertical:first-child::before不支持
@1:2609 in /weapp/vantapp/dist/steps/index.wxss
[HBuilder] 19:18:42.044 /Applications/HBuilderX.app/Contents/HBuilderX/plugins/node_modules/babel-core/lib/transformation/file/index.js:590
throw err;
^

SyntaxError: unknown: Unexpected token (43:10)
41 | const formattedSteps = steps.map((step, index) => {
42 | return {

43 | ...step,
| ^
44 | status: this.getStatus(index)
45 | };
46 | });
at Parser.pp$5.raise (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node_modules/babylon/lib/index.js:4454:13)
at Parser.pp.unexpected (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node_modules/babylon/lib/index.js:1761:8)
at Parser.pp$3.parseIdentifier (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node_modules/babylon/lib/index.js:4332:10)
at Parser.pp$3.parsePropertyName (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node_modules/babylon/lib/index.js:4156:96)
at Parser.pp$3.parseObj (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node_modules/babylon/lib/index.js:4045:12)
at Parser.pp$3.parseExprAtom (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node_modules/babylon/lib/index.js:3719:19)
at Parser.pp$3.parseExprSubscripts (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node_modules/babylon/lib/index.js:3494:19)
at Parser.pp$3.parseMaybeUnary (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node_modules/babylon/lib/index.js:3474:19)
at Parser.pp$3.parseExprOps (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node_modules/babylon/lib/index.js:3404:19)
at Parser.pp$3.parseMaybeConditional (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node_modules/babylon/lib/index.js:3381:19)
[HBuilder] 19:18:42.044 项目【vantapp-uniapp】转换结束

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants