s***@gmail.com
s***@gmail.com
  • 发布:2021-05-26 09:29
  • 更新:2021-05-26 09:38
  • 阅读:295

【报Bug】更新版本后,项目启动h5报错

分类:HBuilderX

产品分类: HbuilderX

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: 11.3.1 (20E241)

HBuilderX版本号: 3.1.16

示例代码:
09:23:19.823  INFO  Starting development server...  
09:23:47.349 Module build failed (from ./node_modules/sass-loader/dist/cjs.js):  
09:23:47.354 SassError: Invalid CSS after " }": expected selector, was ","  
09:23:47.355         on line 170 of /{路径省略}/XXInputPopup.vue  
09:23:47.361 >>     ,  
09:23:47.361    -^  
09:23:47.364 Module build failed (from ./node_modules/sass-loader/dist/cjs.js):  
09:23:47.364 SassError: Invalid CSS after "}": expected selector, was ","  
09:23:47.367         on line 158 of /{路径省略}/XXServerCard.vue  
09:23:47.367 >> },  
09:23:47.370    -^  
09:23:47.370 Module build failed (from ./node_modules/sass-loader/dist/cjs.js):  
09:23:47.373 SassError: Invalid CSS after "}": expected selector, was ","  
09:23:47.373         on line 170 of /{路径省略}/XXCard.vue  
09:23:47.379 >> },  
09:23:47.379    -^

操作步骤:

更新版本后,项目启动h5报错

预期结果:

更新版本不影响项目的正常运行

实际结果:

更新版本后,项目启动h5报错

bug描述:

更新版本后,项目启动h5报错

2021-05-26 09:29 负责人:无 分享
已邀请:
xiaozuo28

xiaozuo28 - 暂无

看提示是你代码中css的分隔符问题,建议再看一下代码.

该问题目前已经被锁定, 无法添加新回复