Never Nop Tech

Never Nop Tech

創造意義,動手去做。

Solve Sass ASCII-8BIT and UTF-8 Backtrace

Problem:

E, [2018-12-14T09:49:22.222401 #7061] ERROR — : exception while processing events: incompatible character encodings: ASCII-8BIT and UTF-8 Backtrace:
— /Library/Ruby/Gems/2.3.0/gems/sass-3.7.2/lib/sass/plugin/compiler.rb:512:in `start_with?’
— /Library/Ruby/Gems/2.3.0/gems/sass-3.7.2/lib/sass/plugin/compiler.rb:512:in `sass_file_in_directory?’
— /Library/Ruby/Gems/2.3.0/gems/sass-3.7.2/lib/s

Sol:

try to change your folder named not including UTF8  ,using english or number named folder.

ex:

failed example:

/未命名資料夾 /style.scss

success example:

/mystyle/style.scss

If this solution helps you ,you can click like button.