KKBOX / FireApp

Fire.app is a HTML prototyping tool with Sass/Compass/ERB/Haml/Slim/Markdown support
http://fireapp.kkbox.com/
GNU General Public License v2.0
613 stars 79 forks source link

MAC OS X YOSEMITE 1010.1 SASS 編譯後有錯 #286

Closed m1105 closed 9 years ago

m1105 commented 9 years ago

編譯SASS後 /* Error: Indenting at the beginning of the document is illegal. on line 1 of /Users/m1105/Documents/test/sass/test.sass

1: $primary_color : #fff

Backtrace: /Users/m1105/Documents/test/sass/test.sass:1 /Users/m1105/Desktop/Fire.app/Contents/Resources/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/engine.rb:448:in tabulate' org/jruby/RubyArray.java:1613:ineach' org/jruby/RubyEnumerable.java:977:in each_with_index' /Users/m1105/Desktop/Fire.app/Contents/Resources/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/engine.rb:431:intabulate' /Users/m1105/Desktop/Fire.app/Contents/Resources/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/engine.rb:396:in _to_tree' /Users/m1105/Desktop/Fire.app/Contents/Resources/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/engine.rb:268:inrender' /Users/m1105/Desktop/Fire.app/Contents/Resources/lib/ruby/compass_1.0/compass-import-once-1.0.5/lib/compass/import-once/engine.rb:17:in render' /Users/m1105/Desktop/Fire.app/Contents/Resources/lib/ruby/compass_1.0/compass-import-once-1.0.5/lib/compass/import-once/engine.rb:29:inwith_import_scope' /Users/m1105/Desktop/Fire.app/Contents/Resources/lib/ruby/compass_1.0/compass-import-once-1.0.5/lib/compass/import-once/engine.rb:16:in render' /Users/m1105/Desktop/Fire.app/Contents/Resources/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/plugin/compiler.rb:492:inupdate_stylesheet' org/jruby/RubyMethod.java:136:in call' file:/Users/m1105/Desktop/Fire.app/Contents/Java/fire-app.jar!/hook/compass_patch.rb:131:inupdate_stylesheet' /Users/m1105/Desktop/Fire.app/Contents/Resources/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/plugin/compiler.rb:215:in update_stylesheets' org/jruby/RubyArray.java:1613:ineach' /Users/m1105/Desktop/Fire.app/Contents/Resources/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/plugin/compiler.rb:209:in update_stylesheets' /Users/m1105/Desktop/Fire.app/Contents/Resources/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/plugin/compiler.rb:470:inon_file_changed' /Users/m1105/Desktop/Fire.app/Contents/Resources/lib/ruby/compass_1.0/sass-3.4.1/lib/sass/plugin/compiler.rb:329:in watch' org/jruby/RubyProc.java:271:incall' /Users/m1105/Desktop/Fire.app/Contents/Resources/lib/ruby/jruby/listen-1.1.6/lib/listen/listener.rb:236:in on_change' /Users/m1105/Desktop/Fire.app/Contents/Resources/lib/ruby/jruby/listen-1.1.6/lib/listen/listener.rb:271:ininitialize_adapter' org/jruby/RubyProc.java:271:in call' /Users/m1105/Desktop/Fire.app/Contents/Resources/lib/ruby/jruby/listen-1.1.6/lib/listen/adapter.rb:244:inreport_changes' /Users/m1105/Desktop/Fire.app/Contents/Resources/lib/ruby/jruby/listen-1.1.6/lib/listen/adapter.rb:313:in poll_changed_directories' /Users/m1105/Desktop/Fire.app/Contents/Resources/lib/ruby/jruby/listen-1.1.6/lib/listen/adapter.rb:289:instart_poller' */ 不知道原因為何!

hlb commented 9 years ago

@m1105 你沒有提供 test.sass 的話...... 我們怎麼樣都猜不出來喔。

看起來是你檔案前面有什麼不明的字元。

m1105 commented 9 years ago

我後來換了一台電腦就行了,應該是我MAC的系統有問題。