今晚升级新版本后AppPlus编译错误:
基本就是2个错误,请大佬看看。
19:30:31.963 nvue中不支持如下css。如全局或公共样式受影响,建议将告警样式写在ifndef APP-PLUS-NVUE的条件编译中,详情如下:
19:30:31.963 WARNING: -webkit-font-smoothing
is not a standard property name (may not be supported) at App.vue:63
19:30:31.979 WARNING: -moz-osx-font-smoothing
is not a standard property name (may not be supported) at App.vue:64
19:30:31.979 WARNING: content
is not a standard property name (may not be supported) at App.vue:68
19:30:31.979 WARNING: content
is not a standard property name (may not be supported) at App.vue:72
19:30:31.994 WARNING: content
is not a standard property name (may not be supported) at App.vue:76
19:30:31.994 WARNING: content
is not a standard property name (may not be supported) at App.vue:80
19:30:31.994 WARNING: content
is not a standard property name (may not be supported) at App.vue:84
19:30:31.994 WARNING: content
is not a standard property name (may not be supported) at App.vue:88
19:30:31.994 WARNING: content
is not a standard property name (may not be supported) at App.vue:92
19:30:31.994 WARNING: content
is not a standard property name (may not be supported) at App.vue:96
19:30:31.994 WARNING: content
is not a standard property name (may not be supported) at App.vue:100
19:30:31.994 WARNING: content
is not a standard property name (may not be supported) at App.vue:104
19:30:32.010 WARNING: content
is not a standard property name (may not be supported) at App.vue:108
19:30:32.010 WARNING: content
is not a standard property name (may not be supported) at App.vue:112
19:30:32.010 WARNING: content
is not a standard property name (may not be supported) at App.vue:116
19:30:32.010 WARNING: content
is not a standard property name (may not be supported) at App.vue:120
19:30:32.010 WARNING: content
is not a standard property name (may not be supported) at App.vue:124
19:30:32.010 WARNING: content
is not a standard property name (may not be supported) at App.vue:128
19:30:32.025 WARNING: content
is not a standard property name (may not be supported) at App.vue:132
19:30:32.025 WARNING: content
is not a standard property name (may not be supported) at App.vue:136
19:30:32.025 WARNING: content
is not a standard property name (may not be supported) at App.vue:140
19:30:32.025 WARNING: content
is not a standard property name (may not be supported) at App.vue:144
19:30:32.025 WARNING: content
is not a standard property name (may not be supported) at App.vue:148
19:30:32.025 WARNING: content
is not a standard property name (may not be supported) at App.vue:152
19:30:32.041 WARNING: content
is not a standard property name (may not be supported) at App.vue:156
19:30:32.041 WARNING: content
is not a standard property name (may not be supported) at App.vue:160
19:30:32.041 WARNING: content
is not a standard property name (may not be supported) at App.vue:164
19:30:32.041 WARNING: content
is not a standard property name (may not be supported) at App.vue:168
19:30:32.041 WARNING: content
is not a standard property name (may not be supported) at App.vue:172
19:30:32.057 WARNING: content
is not a standard property name (may not be supported) at App.vue:176
19:30:32.057 WARNING: content
is not a standard property name (may not be supported) at App.vue:180
19:30:32.057 WARNING: content
is not a standard property name (may not be supported) at App.vue:184
19:30:32.057 WARNING: content
is not a standard property name (may not be supported) at App.vue:188
19:30:32.057 WARNING: content
is not a standard property name (may not be supported) at App.vue:192
19:30:32.057 WARNING: content
is not a standard property name (may not be supported) at App.vue:196
19:30:32.072 WARNING: content
is not a standard property name (may not be supported) at App.vue:200
19:30:32.072 WARNING: content
is not a standard property name (may not be supported) at App.vue:204
19:30:32.072 WARNING: content
is not a standard property name (may not be supported) at App.vue:208
19:30:32.072 WARNING: content
is not a standard property name (may not be supported) at App.vue:212
19:30:32.072 WARNING: content
is not a standard property name (may not be supported) at App.vue:216
19:30:32.072 WARNING: content
is not a standard property name (may not be supported) at App.vue:220
19:30:32.088 WARNING: content
is not a standard property name (may not be supported) at App.vue:224
19:30:32.088 WARNING: content
is not a standard property name (may not be supported) at App.vue:228
19:30:32.088 WARNING: content
is not a standard property name (may not be supported) at App.vue:232
19:30:32.088 WARNING: content
is not a standard property name (may not be supported) at App.vue:236
19:30:32.088 WARNING: content
is not a standard property name (may not be supported) at App.vue:240
19:30:32.088 WARNING: content
is not a standard property name (may not be supported) at App.vue:244
19:30:32.088 WARNING: content
is not a standard property name (may not be supported) at App.vue:248
19:30:32.104 WARNING: content
is not a standard property name (may not be supported) at App.vue:252
19:30:32.104 WARNING: content
is not a standard property name (may not be supported) at App.vue:256
19:30:32.104 WARNING: content
is not a standard property name (may not be supported) at App.vue:260
19:30:32.104 WARNING: content
is not a standard property name (may not be supported) at App.vue:264
19:30:32.104 WARNING: content
is not a standard property name (may not be supported) at App.vue:268
19:30:32.104 WARNING: content
is not a standard property name (may not be supported) at App.vue:272
19:30:32.104 WARNING: content
is not a standard property name (may not be supported) at App.vue:276
19:30:32.119 WARNING: content
is not a standard property name (may not be supported) at App.vue:280
19:30:32.119 ERROR: Selector view
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.119 ERROR: Selector scroll-view
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.119 ERROR: Selector swiper
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.119 ERROR: Selector swiper-item
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.135 ERROR: Selector cover-view
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.135 ERROR: Selector cover-image
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.135 ERROR: Selector icon
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.135 ERROR: Selector text
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.135 ERROR: Selector rich-text
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.135 ERROR: Selector progress
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.135 ERROR: Selector button
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.135 ERROR: Selector checkbox
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.150 ERROR: Selector form
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.150 ERROR: Selector input
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.150 ERROR: Selector label
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.150 ERROR: Selector radio
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.150 ERROR: Selector slider
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.150 ERROR: Selector switch
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.166 ERROR: Selector textarea
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.166 ERROR: Selector navigator
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.166 ERROR: Selector audio
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.166 ERROR: Selector camera
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.166 ERROR: Selector image
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.166 ERROR: Selector video
is not supported. Weex only support single-classname selector at App.vue:283
19:30:32.182 WARNING: box-sizing
is not a standard property name (may not be supported) at App.vue:307
5 个回复
6***@qq.com
添加
2***@qq.com
我也遇到这个问题了, 看B站的一个视频解决的; nvue样式警告解决方案
阿拉软件 (作者)
已经解决,新版本默认编译模式是uni-app,改回weex正常了。
鹏鹏范
怎么改?
2019-12-02 14:40
atongmu
回复 鹏鹏范: // manifest.json
{
// ...
/ App平台特有配置 /
"app-plus": {
"nvueCompiler":"weex" //是否启用 uni-app 模式
}
}
2019-12-31 09:15
kim猴
回复 atongmu: 没有用
2020-01-06 17:18
kim猴
回复 atongmu: 我也遇到了,今天,改了没用
2020-01-06 17:19
1***@qq.com
是个大哥~昨天整了一个下午,用你这个打包成功了
無風也能起_浪
怎么解决的?
2020-07-29 16:05
迷糊K - 从Java入门的野生程序猿一枚
没有用,顶。