Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.
This repository was archived by the owner on May 20, 2023. It is now read-only.

Error: Can't file stylesheet to import #271

@afpatmin

Description

@afpatmin

Serving my app (using pub run build_runner serve or webdev serve) results in a long list of errors in the build output;

`[SEVERE] angular_components|scss_builder on package:angular_components/scorecard/scoreboard.scss:

Error: Can't find stylesheet to import.
@import 'const/global',
^^^^^^^^^^^^^^
/tmp/scratch_spaceYNRMBC/packages/angular_components/css/material/_material.scss 19:9 @import
/tmp/scratch_spaceYNRMBC/packages/angular_components/scorecard/scoreboard.scss 5:9 root stylesheet`

The problem persists after I cleared my temp folder, running pub upgrade and pub cache repair, and the project doesn't have a custom build.yaml

My environment is
OS: linux 64 bit
sdk: 2.0.0-dev.58.0
angular: 5.0.0-alpha+13
angular_components: 0.9.0-alpha+13
build_runner 0.8.9
build_web_compilers: 0.4.0+1
sass_builder 2.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions