7***@qq.com
7***@qq.com
  • 发布:2023-02-23 16:02
  • 更新:2023-10-24 15:48
  • 阅读:228

一堆乱码,实在搞不懂

分类:HBuilderX
15:56:57.093 项目 '盒天下' 开始编译...  
15:56:58.055 请注意运行模式下,因日志输出、sourcemap以及未压缩源码等原因,性能和包体积,均不及发行模式。若要正式发布,请点击发行菜单或使用cli发布命令进行发布  
15:56:58.055 小程序各家浏览器内核及自定义组件实现机制存在差异,可能存在样式布局兼容问题,参考:https://uniapp.dcloud.io/matter?id=mp  
15:56:58.058 正在编译中...  
15:57:02.359 Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):  
15:57:02.363 ModuleBuildError: Module build failed (from ./node_modules/postcss-loader/src/index.js):  
15:57:02.363 SyntaxError  
15:57:02.367 (5:13) Unknown word  
15:57:02.369   3 | // @mixin get-styles($k,$c) {  
15:57:02.373   4 | //     @if $k == size or $k == weight{  
15:57:02.373 > 5 | //      font-#{$k}:#{$c}  
15:57:02.377     |                   ^  
15:57:02.381   6 | //     }@else{  
15:57:02.381   7 | //         #{$k}:#{$c}  
15:57:02.387     at H:\HBuilderX\plugins\uniapp-cli\node_modules\webpack\lib\NormalModule.js:316:20  
15:57:02.387     at H:\HBuilderX\plugins\uniapp-cli\node_modules\loader-runner\lib\LoaderRunner.js:367:11  
15:57:02.392     at H:\HBuilderX\plugins\uniapp-cli\node_modules\loader-runner\lib\LoaderRunner.js:233:18  
15:57:02.398     at context.callback (H:\HBuilderX\plugins\uniapp-cli\node_modules\loader-runner\lib\LoaderRunner.js:111:13)  
15:57:02.398     at H:\HBuilderX\plugins\uniapp-cli\node_modules\postcss-loader\src\index.js:207:9  
15:59:41.210 正在差量编译...  
15:59:41.524 Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):  
15:59:41.524 ModuleBuildError: Module build failed (from ./node_modules/postcss-loader/src/index.js):  
15:59:41.530 SyntaxError  
15:59:41.536 (5:13) Unknown word  
15:59:41.543   3 | // @mixin get-styles($k,$c) {  
15:59:41.549   4 | //     @if $k == size or $k == weight{  
15:59:41.555 > 5 | //      font-#{$k}:#{$c}  
15:59:41.562     |                   ^  
15:59:41.562   6 | //     }@else{  
15:59:41.567   7 | //         #{$k}:#{$c}  
15:59:41.574     at H:\HBuilderX\plugins\uniapp-cli\node_modules\webpack\lib\NormalModule.js:316:20  
15:59:41.580     at H:\HBuilderX\plugins\uniapp-cli\node_modules\loader-runner\lib\LoaderRunner.js:367:11  
15:59:41.588     at H:\HBuilderX\plugins\uniapp-cli\node_modules\loader-runner\lib\LoaderRunner.js:233:18  
15:59:41.588     at context.callback (H:\HBuilderX\plugins\uniapp-cli\node_modules\loader-runner\lib\LoaderRunner.js:111:13)  
15:59:41.595     at H:\HBuilderX\plugins\uniapp-cli\node_modules\postcss-loader\src\index.js:207:9  

2023-02-23 16:02 负责人:无 分享
已邀请:
4***@qq.com

4***@qq.com

兄弟 这个问题怎么解决的

要回复问题请先登录注册