61455

Compass unable to find files in project

Question:

I am editing the a wordpress template that makes use of SASS. When I edit the .scss file and save it, CodeKit throws out this error.

Compass was unable to compile one or more files in the project: error app.scss (Line 9 of _settings.scss: File to import not found or unreadable: foundation/functions. Load paths: /Library/WebServer/Documents/dev/ecpr_sgoc/scss /Library/Ruby/Gems/2.0.0/gems/compass-0.12.2/frameworks/blueprint/stylesheets /Library/Ruby/Gems/2.0.0/gems/compass-0.12.2/frameworks/compass/stylesheets /Applications/CodeKit.app/Contents/Resources/engines/bourbon/bourbon/app/assets/stylesheets /Applications/CodeKit.app/Contents/Resources/engines/neat /Applications/CodeKit.app/Contents/Resources/engines/susy/sass Compass::SpriteImporter) identical app.css (This action was triggered by a change to _colors.scss)

<strong>EDIT:</strong> I just upgraded to CodeKit 2 and this is the new output:

Compass failed to run because your Mac has an older version of Sass and/or Compass installed that conflicts with the newer versions in CodeKit. You must remove all versions of Sass below 3.3.rc6 and all versions of Compass below 1.0.alpha18. Do this at the command line by running 'sudo gem uninstall sass' and 'sudo gem uninstall compass'.

But I have Sass 3.3.4 and Compass 0.12.5 (which, AFAIK, is more recent than the mentioned 1.0.alpha18) installed...

Answer1:

you just need to remove any old version of sass and compass like so :

sudo gem uninstall sass, sudo gem uninstall compass

ex:

$ sudo gem uninstall sass Select gem to uninstall: 1. sass-3.2.19 2. sass-3.3.5 3. All versions

and just keep only the newest version of sass and compass and codekit will work like charm :)

I solved my Problem with this

Recommend

  • How can i create SASS mixins and use in every project
  • Why is Compass is giving me an import error when trying to import partials
  • Not able to move map after starting Navigation SKMAPS
  • How to reposition compass of MKMapView?
  • How to check size of session in rails?
  • Rails3, Running rake task from cron
  • Undefined symbol using charlock_holmes gem
  • Rails gemfile editing
  • Gem::LoadError: Specified 'postgresql' for database adapter, but the gem is not loaded
  • Posting to Facebook Page through API as the page (with admin rights)
  • How can I detect errors in an HTML document fragment with Ruby?
  • 500 internal server error in ruby on rails
  • How to make SASS put relative paths in its output
  • Checking a play current mode makes an error occur
  • How can I see a list of all files that are different between two Hg repositories?
  • How do I capture a rsolr Sunspot exception raised on a different thread from a model callback?
  • SSL client cert authentication for only some URLs?
  • How to implement Deep Linking in Roku SG application?
  • using html data-attributes as css-variable (i.e. text-shadow)
  • VSCode change debug shell to bash on windows
  • C# fibonacci function returning errors
  • perl, mysql - fasting way to upload a csv file into mysql?
  • How to get current document uri in XSLT?
  • C# program and C++ DLL compiled for 32-bit system crash on 64-bit system
  • Convert Type Decimal to Hex (string) in .NET 3.5
  • What is the purpose of TaskExecutor in spring?
  • Loading .coffee files via a view in Rails
  • Sort List of Strings By Version
  • Create DicomImage from scratch using Dcmtk
  • Installing iPhone App to iPhone
  • Combining SpatialPolygonsDataFrame of two neighbour countries
  • Is it possible to access block's scope in method?
  • Installing Hadoop, Java Exception about illegal characters at index 7?
  • script to move all files from one location to another location
  • Does CUDA 5 support STL or THRUST inside the device code?
  • Why winpcap requires both .lib and .dll to run?
  • Arrays break string types in Julia
  • reshape alternating columns in less time and using less memory
  • How to load view controller without button in storyboard?
  • How do I use LINQ to get all the Items that have a particular SubItem?