weexteam / article

This repos is a third party collection, and is not developed nor maintained by Apache Weex.
1.22k stars 141 forks source link

升级依赖模块报警告 #182

Open LiFuxiong opened 6 years ago

LiFuxiong commented 6 years ago

WARNING in ./node_modules/weex-vue-loader/lib/style-loader.js!./node_modules/weex-vue-loader/lib/style-rewriter.js?id=data-v-3034a74c!./node_modules/weex-vue-loader/lib/selector.js?type=styles&index=0!./src/module/home/report.vue (Emitted value instead of an instance of Error) ERROR: property value 1px is not supported for flex (only number is supported)

这是什么原因导致的?????????????????????

"dependencies": { "vue": "^2.5.13", "vue-router": "^3.0.1", "vuex": "^3.0.1", "vuex-router-sync": "^5.0.0", "weex-vue-render": "^1.0.4", "clean-webpack-plugin": "^0.1.17" }, "devDependencies": { "babel-core": "^6.26.0", "babel-loader": "^7.1.2", "babel-preset-es2015": "^6.24.1", "css-loader": "^0.28.7", "ip": "^1.1.5", "serve": "^6.4.3", "vue-loader": "^13.6.0", "vue-template-compiler": "^2.5.13", "webpack": "^3.10.0", "weex-devtool": "^0.3.2-beta.11", "weex-loader": "^0.6.6", "weex-vue-loader": "^0.5.5", "copy-webpack-plugin": "^4.3.0" }

MrRaindrop commented 6 years ago

Does your code include flex: 1px ?

camnpr commented 6 years ago

'weex-vue-loader' have some css rule check. flex must write number.