Failed to compile.
./src/components/city-select/city-select.vue?vue&type=style&index=0&id=c758b27c&lang=scss&scoped=true& (./node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--9-oneOf-1-2!./node_modules/postcss-loader/src??ref--9-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--9-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--9-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-scoped-loader!./src/components/city-select/city-select.vue?vue&type=style&index=0&id=c758b27c&lang=scss&scoped=true&)
Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
SassError: Error: EPIPE: broken pipe, write
1 个回复
1***@qq.com (作者)
已解决,不推荐使用($number / 375)这种直接计算方法,在Sass 2.0.0.中将删除该写法,推荐使用 calc($number / 375)这种写法,修改后报错就没有了