Closed adamjerickson closed 10 years ago
Locomotive CMS UI won't load. "File to import not found or unreadable: compass/css3/transform-legacy"
OS X 10.9.4 Build 13E28
Any
mithlond:repos adam$ which mongod /usr/local/bin/mongod mithlond:repos adam$ mongod --version db version v2.6.4 2014-08-18T12:26:23.877-0500 git version: nogitversion
mithlond:repos adam$ which ruby /Users/adam/.rvm/rubies/ruby-2.0.0-p481/bin/ruby mithlond:repos adam$ ruby --version ruby 2.0.0p481 (2014-05-08 revision 45883) [x86_64-darwin13.1.0]
mithlond:repos adam$ which rails /Users/adam/.rvm/rubies/ruby-2.0.0-p481/bin/rails mithlond:repos adam$ rails --version Rails 4.1.4
mithlond:repos adam$ brew info imagemagick imagemagick: stable 6.8.9-5 (bottled), HEAD
mithlond:repos adam$ which wagon /Users/adam/.rvm/rubies/ruby-2.0.0-p481/bin/wagon mithlond:repos adam$ wagon version 1.4.0
UI Loads normally, and page locomotive/pages shows a list of the pages.
After Logging In, it navigates to page: http://0.0.0.0:8080/locomotive/pages/53f22ba57752294410000004/edit
and shows this error message:
Sass::SyntaxError in Locomotive/pages#edit Showing /repos/Code/optionsorca.com/loco/optionsorca_cms/vendor/bundle/ruby/2.0.0/gems/locomotive_cms-2.4.1/app/views/locomotive/shared/_head.html.haml where line #14 raised: File to import not found or unreadable: compass/css3/transform-legacy. Load paths: Sass::Rails::Importer(/repos/Code/optionsorca.com/loco/optionsorca_cms/vendor/bundle/ruby/2.0.0/gems/locomotive_cms-2.4.1/app/assets/stylesheets/locomotive/backoffice/menu/main.css.scss) /repos/Code/optionsorca.com/loco/optionsorca_cms/app/assets/stylesheets /repos/Code/optionsorca.com/loco/optionsorca_cms/vendor/bundle/ruby/2.0.0/gems/compass-core-1.0.0/stylesheets Compass::SpriteImporter (in /repos/Code/optionsorca.com/loco/optionsorca_cms/vendor/bundle/ruby/2.0.0/gems/locomotive_cms-2.4.1/app/assets/stylesheets/locomotive/backoffice/menu/main.css.scss) Extracted source (around line #14): 11: :plain 12: window.Locomotive = { mounted_on: '#{Locomotive.mounted_on}' } 13: 14: = stylesheet_link_tag 'locomotive', media: 'screen' 15: = javascript_include_tag 'locomotive' 16: 17: = render 'locomotive/shared/main_app_head_before_backbone' Trace of template inclusion: vendor/bundle/ruby/2.0.0/gems/locomotive_cms-2.4.1/app/views/locomotive/layouts/application.html.haml Rails.root: /repos/Code/optionsorca.com/loco/optionsorca_cms Application Trace | Framework Trace | Full Trace Request Parameters: {"id"=>"53f22ba57752294410000004"} Show session dump
Change line 5 in file: main.css.scss
from: @import "compass/css3/transform-legacy";
to: @import "compass/css3/transform";
Same problem here, thanks for the issue this saved me quite some time.
Thanks. @adamjerickson
Thanks , @adamjerickson
what a terrific issue description! thanks @adamjerickson :-)
Issue:
Locomotive CMS UI won't load. "File to import not found or unreadable: compass/css3/transform-legacy"
Repo Steps:
Environment
OS
OS X 10.9.4 Build 13E28
Browser
Any
Mongo
Ruby
Rails
Imagemagik
Wagon
Expected Behavior:
UI Loads normally, and page locomotive/pages shows a list of the pages.
Actual Behavior:
After Logging In, it navigates to page: http://0.0.0.0:8080/locomotive/pages/53f22ba57752294410000004/edit
and shows this error message:
Resolution:
Change line 5 in file: main.css.scss
from: @import "compass/css3/transform-legacy";
to: @import "compass/css3/transform";