AngularDart - stagehand web-angular material_ripple.scss 错误

AngularDart - stagehand web-angular material_ripple.scss error

关注 this

并使用 cli

stagehand web-angular
pub get
webdev serve

输出:

[INFO] Setting up file watchers completed, took 25ms
[INFO] Waiting for all file watchers to be ready completed, took 201ms
[INFO] Building new asset graph completed, took 1.2s
[INFO] Checking for unexpected pre-existing outputs. completed, took 1ms
[SEVERE] angular_components|scss_builder on package:angular_components/material_ripple/material_ripple.scss:

Error: Can't find stylesheet to import.
@import 'const/global',
        ^^^^^^^^^^^^^^
  /private/var/folders/3p/8z23nlbs20qf291vlhjy1l0h0000gn/T/scratch_spaceuuJ2f0/packages/angular_components/css/material/_material.scss 19:9          @import
  /private/var/folders/3p/8z23nlbs20qf291vlhjy1l0h0000gn/T/scratch_spaceuuJ2f0/packages/angular_components/material_ripple/material_ripple.scss 5:9  root stylesheet
[SEVERE] angular_components|scss_builder on package:angular_components/material_slider/material_slider.scss:

还有更多

你知道如何解决这个问题吗?

这是一个known issue。解决方法是将以下依赖项覆盖添加到项目的 pubspec.yaml:

dependency_overrides:
  sass: 1.3.2