This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I have been getting the following error: /* Compilation Error. See error list for details #################.scss:1: error: file to import not found or unreadable: 'compass'*/ This is what my scss file looks like. @import 'compass'; /// base styles @import 'base'; @import 'vendor/selectize.js'; @import 'component/button'; @import 'component/link'; .............. I require some stuffs from compass but I can't seem to compile it directly from the plugin. The files compile successfully using other tools like Scout and Compass.app. I don't understand what I'm doing wrong. Please help. UPDATE**** It seems the Web Essentials was messing with it. I disabled it and I got this error: /* System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at Mindscape.VisualSass.Integration.CustomTool.ExternalCommandBase.Execute(String customToolFolder) at Mindscape.VisualSass.Integration.Compilation.CompassCompiler.CompileCore(String text, String sourceFilePath, String rootPath, IEnumerable`1 additionalPaths, ICompilationSettings settings, ICompilerContext context, CompilationResult result) at Mindscape.VisualSass.Integration.Compilation.CompilerW What am I doing wrong? UPDATE 2?? ************ Finally figure the error was coming due to wrong path in my config file Tt was images_dir = "webapp/images" instead of images_dir = "webapp/images/" I'm still stuck with the initial error now. /* Syntax error: File to import not found or unreadable: compass. Load paths: C:/Program Files (x86)/Microsoft Visual Studio 12.0/Common7/IDE (DEPRECATED) E:/########/webapp/css-sass on line 1 of E:#########\webapp\css-sass####.scss Use --trace for backtrace. */ |
|
|
Have you converted the project to use Compass (right click on project node and select Setup Compass Project)? If so check that your .scss file resides in the sass_dir folder as specified in config.rb. It looks like the file is being compiled with the standard Sass compiler rather than the Compass compiler which is why the imports would be missing. Also note that Web Essentials is incompatible with Web Workbench so you will need to have it disabled.
|
|
|
Yes, I converted my project to Compass project before trying all of this. This is my config.rb settings: httppath = "/" cssdir = "webapp/css/" sassdir = "webapp/css-sass/" imagesdir = "webapp/images/" All my scss is in "webapp/css-sass/" |
|
|
Try deleting your C:/Users/user.computer/AppData/Local/Temp/Mindscape/WebWorkbench folder which will cause the tools to be re-extracted and see if that resolves this.
|
|
|
I did it but I didn't work. However, I uninstalled Web Workbench entirely, reverted back my code to the point before I converted into Compass Project, re-installed Web Workbench, converted to Compass Project AGAIN and it stated working perfectly now. It seems all the tinkering between Web Workbench and Web Essentials somehow polluted the IDE and was causing the issue. Also as an added note, I use Web Essentials a lot so I needed it. Found out that we can make both the plugins work simultaneous if you disable compilation for SASS on the Web Essentials options. |
|