sass / libsass-net

A lightweight wrapper around libsass
MIT License
94 stars 35 forks source link

Error: File to read not found or unreadable #41

Closed Skeldave closed 8 years ago

Skeldave commented 8 years ago

Hi,

I am trying to read a SASS file from a network location and it is throwing the following error:

"Error: File to read not found or unreadable: \\PATH\TO\SASS\FOLDER\SASS.scss\n"

I am using the following configurations:

var sassCompiler = new SassCompiler(); var scss = sassCompiler.CompileFile(targetScssFile, OutputStyle.Compact);

I have tried using the same code on a local folder (D:\PATH\TO\SASS) and it works perfectly well.

Please could you give me any pointers / try and test this from your end and let me know the results.

Thanks.

darrenkopp commented 8 years ago

Yeah, unfortunately libsass (the library we wrap) doesn't work with unc paths for the version we work with. It may have been resolved by now, but there are some incompatibilities that haven't been resolved yet that prevent us from using latest version of libsass at the moment.

On Friday, March 18, 2016, Skeldave notifications@github.com wrote:

Hi,

I am trying to read a SASS file from a network location and it is throwing the following error:

"Error: File to read not found or unreadable: \PATH\TO\SASS\FOLDER\SASS.scss\n"

I am using the following configurations:

var sassCompiler = new SassCompiler(); var scss = sassCompiler.CompileFile(targetScssFile, OutputStyle.Compact);

I have tried using the same code on a local folder (D:\PATH\TO\SASS) and it works perfectly well.

Please could you give me any pointers / try and test this from your end and let me know the results.

Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/darrenkopp/libsass-net/issues/41