Skip to content

SASS compilation broken, SCSS still works in latest version? #352

Closed
@charludo

Description

@charludo

Just encountered this error:

sass.CompileError: Error: Invalid CSS after "...[last line of file]": expected 1 selector or at-rule, was "{}"

Neither my project, nor the .sass file have changed since the last time I compiled the file, but libsass and libsass-python have both received updates. Some testing with simple files containing only one rule yielded the same result.

I remember getting the same error a while back, which was solved by passing indented=True to sass.compile(). This doesn't seem to do anything though.

Compiling SCSS still works, however.

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