Error: File to import not found or unreadable: compass.と出ます。


cc 2017にアップデートしてから、"koala(koala - gui application less, sass, compass , coffeescript compilation. )"でsassを正しくコンパイル出来なくなりました。

以下のようなエラーがcssで書き出されます。

どうしたらよいでしょうか。

 

error: file import not found or unreadable: compass.

       load paths:

         c:/program files/adobe/adobe dreamweaver cc 2017/configuration/sassframeworks/bourbon

         c:/program files/adobe/adobe dreamweaver cc 2017/configuration/sassframeworks/neat

         c:/program files/adobe/adobe dreamweaver cc 2017/configuration/sassframeworks/base

        on line 2 of y:/xampp/htdocs/[任意のディレクトリ]/common/scss/_mixin.scss

        line 3 of y:\xampp\htdocs\[任意のディレクトリ]\css\index.scss

1: @charset "shift_jis";

2:

3: @import '../common/scss/mixin';

4: @import '../common/scss/base';

5: @import '../common/scss/fonts';

6: @import '../common/scss/layout';

7: @import '../common/scss/module/breadcrumbs';

 

backtrace:

y:/xampp/htdocs/[任意のディレクトリ]/common/scss/_mixin.scss:2

y:\xampp\htdocs\[任意のディレクトリ]\css\index.scss:3

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/import_node.rb:67:in `rescue in import'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/import_node.rb:45:in `import'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/import_node.rb:28:in `imported_file'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/import_node.rb:37:in `css_import?'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/perform.rb:311:in `visit_import'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/base.rb:36:in `visit'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/perform.rb:158:in `block in visit'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/stack.rb:79:in `block in with_base'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/stack.rb:115:in `with_frame'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/stack.rb:79:in `with_base'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/perform.rb:158:in `visit'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/perform.rb:326:in `block (2 levels) in visit_import'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/perform.rb:326:in `map'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/perform.rb:326:in `block in visit_import'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/stack.rb:88:in `block in with_import'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/stack.rb:115:in `with_frame'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/stack.rb:88:in `with_import'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/perform.rb:323:in `visit_import'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/base.rb:36:in `visit'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/perform.rb:158:in `block in visit'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/stack.rb:79:in `block in with_base'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/stack.rb:115:in `with_frame'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/stack.rb:79:in `with_base'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/perform.rb:158:in `visit'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/base.rb:52:in `block in visit_children'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/base.rb:52:in `map'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/base.rb:52:in `visit_children'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/perform.rb:167:in `block in visit_children'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/perform.rb:179:in `with_environment'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/perform.rb:166:in `visit_children'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/base.rb:36:in `block in visit'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/perform.rb:186:in `visit_root'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/base.rb:36:in `visit'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/perform.rb:157:in `visit'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/visitors/perform.rb:8:in `visit'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/root_node.rb:36:in `css_tree'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/tree/root_node.rb:20:in `render'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/engine.rb:278:in `render'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/exec/sass_scss.rb:420:in `run'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/exec/sass_scss.rb:63:in `process_result'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/exec/base.rb:52:in `parse'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/lib/sass/exec/base.rb:19:in `parse!'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/lib/ruby/gems/2.2.0/gems/sass-3.4.20/bin/sass:13:in `<top (required)>'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/bin/sass:23:in `load'

c:/program files/adobe/adobe dreamweaver cc 2017/ruby/bin/sass:23:in `<main>'

*/

エラーからの推測ですが、日本語のファイルパスが原因ではないでしょうか。

もしご利用でしたら、半角英数字のみに変更してみてください。

 

また、shift-jis をご利用であれば、dreamweaverのサイトの定義で選択されている "config.rb" に、以下の設定を追加してみてください。

encoding.default_external = 'shift_jis'

 

お役に立てれば幸いですが、的外れでしたらご容赦ください。



Dreamweaverコミュニティフォーラム (Japan) でのその他のディスカッション


adobe

Comments

Popular posts from this blog

Reader DC

AdobeIDの作り方

Adobe InDesign CC 2017 has stopped working