SassyStudio icon indicating copy to clipboard operation
SassyStudio copied to clipboard

Unable to use @import after latest update

Open jefftheswede opened this issue 10 years ago • 7 comments
trafficstars

Hi Darren,

I've been having problems compiling SASS with an import after the latest update (it was working fine before). If I drop the contents of the imported file in my file instead of the import line, everything works fine, so it seems to be related to the import specifically.

This is in Visual Studio Premium 2013.

Here's what I get for an error:

02:35:31.281 PM: Failed to compile css. [SassCompileException]Unknown error occurred

at LibSassNet.SassCompiler.CompileFile(String inputPath, OutputStyle outputStyle, String sourceMapPath, Boolean includeSourceComments, Int32 precision, IEnumerable`1 additionalIncludePaths) at SassyStudio.Integration.LibSass.LibSassNetDocumentCompiler.Compile(FileInfo source, FileInfo output) at SassyStudio.Integration.LibSass.LibSassNetDocumentCompiler.<>c__DisplayClass3.<CompileAsync>b__2() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at SassyStudio.Editor.GenerateCssOnSave.<GenerateCss>d__14.MoveNext()

02:35:31.281 PM: Compile complete.

Thanks! Jeff

jefftheswede avatar Mar 24 '15 19:03 jefftheswede

I've just installed this for the first time and have the same issue, non-import processing is fine, but anything that attempts an import is failing with the above message.

alan-zetland avatar Mar 25 '15 15:03 alan-zetland

Odd, I'm not having that issue on VS2013. image

I'd say for the interim until i investigate, just install the previous version. https://github.com/darrenkopp/SassyStudio/releases/tag/0.8.9.1

darrenkopp avatar Mar 25 '15 15:03 darrenkopp

link for vs2013: https://github.com/darrenkopp/SassyStudio2013/releases/tag/0.1.7.0

darrenkopp avatar Mar 25 '15 16:03 darrenkopp

Thanks Darren, I installed the 0.8.9.1 version and that seems to have resolved the problem. Thanks for the quick response.

alan-zetland avatar Mar 25 '15 16:03 alan-zetland

Thanks a lot Darren! The 2013 0.1.7.0 release works well. Much appreciated.

jefftheswede avatar Mar 25 '15 17:03 jefftheswede

I also just installed the 2013 v0.1.7.0 and can confirm this works OK too. Thanks very much.

alan-zetland avatar Mar 26 '15 08:03 alan-zetland

Was a strange issue but stepping back to 0.8.9.1 helped me, I'm on VS 2012 11.0610

paullferguson avatar Mar 31 '15 16:03 paullferguson