루비 버전이 2.0이라도 csscss는 유니버설에 문제가 있습니다
5808 단어 csscss
묘사
여보세요,내가sass 파일을 분석하려고 시도할 때 csscss에서 다음과 같은 정보를 얻는다
csscss www/landbrugsavisen dk/themes/lm/sass/screen.scss>report2.txt
www/landbrugsavisen-dk/themes/lm/sass/_-tools.scss:118: 잘못된 US-ASCII 문자 "\xC2"(Sass::SyntaxError)
www/landbrugsavisen dk/themes/lm/sass/screen에서 왔습니다.scss:1
/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/util.rb:1265:in
rescue in block in find_encoding_error'
from /home/brr/.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/util.rb:1262:in
블록의 find encoding error'/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/util.rb:1261:in
each'
from /home/brr/.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/util.rb:1261:in
각 인덱스 포함'/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/util.rb:1261:in
find_encoding_error'
from /home/brr/.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/util.rb:838:in
검사 sass 인코딩'/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/engine.rb:423:in
check_encoding!'
from /home/brr/.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/engine.rb:379:in
_to_tree'/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/engine.rb:299:in
to_tree'
from /home/brr/.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/tree/visitors/perform.rb:306:in
블록 액세스 가져오기/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/stack.rb:88:in
block in with_import'
from /home/brr/.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/stack.rb:115:in
프레임 포함/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/stack.rb:88:in
with_import'
from /home/brr/.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/tree/visitors/perform.rb:305:in
액세스 import'/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/tree/visitors/base.rb:36:in
visit'
from /home/brr/.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/tree/visitors/perform.rb:152:in
구역 내/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/stack.rb:79:in
block in with_base'
from /home/brr/.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/stack.rb:115:in
프레임 포함/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/stack.rb:79:in
with_base'
from /home/brr/.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/tree/visitors/perform.rb:152:in
액세스/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/tree/visitors/base.rb:52:in
block in visit_children'
from /home/brr/.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/tree/visitors/base.rb:52:in
지도'/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/tree/visitors/base.rb:52:in
visit_children'
from /home/brr/.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/tree/visitors/perform.rb:161:in
visit 어린이센터 거리/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/tree/visitors/perform.rb:173:in
with_environment'
from /home/brr/.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/tree/visitors/perform.rb:160:in
visit\U 어린이 병원/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/tree/visitors/base.rb:36:in
block in visit'
from /home/brr/.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/tree/visitors/perform.rb:180:in
액세스 root'/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/tree/visitors/base.rb:36:in
visit'
from /home/brr/.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/tree/visitors/perform.rb:151:in
액세스/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/tree/visitors/perform.rb:8:in
visit'
from /home/brr/.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/tree/root_node.rb:36:in
css_tree'/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/gems/sass -3.4.0/lib/sass/tree/root 노드.rb:20: in
render'
from /home/brr/.rvm/gems/ruby-2.0.0-p481@global/gems/sass-3.4.0/lib/sass/engine.rb:268:in
렌더링'/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/gems/csscss-1.3.3/lib/csscss/cli.rb:177:in
load_sass_file'
from /home/brr/.rvm/gems/ruby-2.0.0-p481@global/gems/csscss-1.3.3/lib/csscss/cli.rb:30:in
블록 실행'/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/gems/csscss-1.3.3/lib/csscss/cli.rb:24:in
map'
from /home/brr/.rvm/gems/ruby-2.0.0-p481@global/gems/csscss-1.3.3/lib/csscss/cli.rb:24:in
실행/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/gems/csscss-1.3.3/lib/csscss/cli.rb:17:in
run'
from /home/brr/.rvm/gems/ruby-2.0.0-p481@global/gems/csscss-1.3.3/lib/csscss/cli.rb:200:in
run'/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/gems/cssscss-1.3.3/bin/csscss:4:in
<top (required)>'
from /home/brr/.rvm/rubies/ruby-2.0.0-p481/bin/csscss:23:in
불러오기'/home/brr/에서 왔습니다.rvm/rubies/ruby-2.0.0-p481/bin/csscss:23:in
<main>'
from /home/brr/.rvm/gems/ruby-2.0.0-p481@global/bin/ruby_executable_hooks:15:in
eval'/home/brr/에서 왔습니다.rvm/gems/ruby-2.0.0-p481@global/bin/ruby 실행 가능 연결:15:in`'
단, 나는compass나sass를 사용하여 2.0을 사용하여 컴파일할 수 있다.
감사합니다,
브라이언
토론 #1
@bryanrasmussen. 이것은 CSSCS가 던진 오류가 아니라sass로 보입니다.Reference
이 문제에 관하여(루비 버전이 2.0이라도 csscss는 유니버설에 문제가 있습니다), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://github.com/zmoazeni/csscss/issues/88텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)