html52.com
我爱小程序-开发者交流社区

Miniprogram CI SASS 文件编译出错,提示路径有问题?

 miniprogram-ci@1.8.35


脚本执行官方的ts+sass模板,脚本参数如下(脱敏后

miniprogram-ci preview --pp . --enable-es6 true --enable-es7 true --enable-minify-js true --enable-minify-wxml true --enable-minify-wxss true --enable-autoprefixwxss true 


提示sass文件出错如下

[Error: The file (/tmp/demo-project/assets/styles/tools.scss) required by assets/styles/tools.scss is outside the project
File: assets/styles/tools.wxss] {
  dartException: <ref *1> [SummerError: The file (/tmp/demo-project/assets/styles/tools.scss) required by assets/styles/tools.scss is outside the project] {
    code: 10046,
    path: 'assets/styles/tools.wxss',
    '$cachedTrace': _StackTrace { _exception: [Circular *1], _trace: '' }
  }
}


使用开发者工具开发、上传、体验、发布均没问题

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付