收藏
回答

小程序miniprogram-ci,上传报错classEscape at position 2

框架类型 问题类型 操作系统 工具版本
小程序 Bug macOS 2.0.6

打包后使用开发者工具打开正常,使用开发者工具上传正常,体验版扫码也是正常

使用miniprogram-ci上传报错,错误日志如下

CustomError: file: common/vendor.js
 unknown file: classEscape at position 2
    [\p{L}_]
      ^
    at enhance (/workspace/demo-uni/node_modules/.pnpm/miniprogram-ci@2.0.6/node_modules/miniprogram-ci/dist/modules/corecompiler/summer/plugins/enhance.js:1:1579)
    at doTransform (/workspace/demo-uni/node_modules/.pnpm/miniprogram-ci@2.0.6/node_modules/miniprogram-ci/dist/modules/corecompiler/summer/plugins/enhance.js:1:1827)
    at Object.runSummerPluginHook (/workspace/rsjst/edp-uni/node_modules/.pnpm/miniprogram-ci@2.0.6/node_modules/miniprogram-ci/dist/modules/corecompiler/summer/worker.js:1:1225) {
  code: 10045,
  path: 'common/vendor.js'
}
回答关注问题邀请回答
收藏
登录 后发表内容