Skip to content

Error with 1.0.0-alpha.4 on Windows  #51

Closed
mbullington/node_preamble.dart
#1
@AngusFu

Description

@AngusFu

On Windows CMD and GitBash, it seems path seperator often cause some error.

Test the following code, where ./test.scss is any given valid scss file in the same folder:

var sass = require('dart-sass');
var res = sass.renderSync({ file: './test.scss' });
console.log(res);

Then got:

image

In dart.Uri_parse‘s body, insert a new line at the begining, uri = uri.replace(/\\/g, '/') will work,

So this maybe a problem to be solved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions