我在Windows 10中遇到了在WebStorm上编译.scss
代码的麻烦。
我关注JetBrains' guide,然后使用Installer安装了Ruby 2.4.3-1 (x64)
。
我也使用第三个选项安装了MSYS2 64bit
,配置了WebStorm的文件监视器,但每次编译代码时,Ruby控制台都会显示Error 3
警告。 />
scss文件在语法上是正确的,因为我可以远程配对工作,并且同样的文件在另一台机器上编译得很好,据我所知,以同样的方式配置。
无法生成.scss
文件或.map
文件
不得不说我是Ruby和WebStorm的新手,但我有一些C和Java程序员的背景,如果这有助于你解释我做错了什么。
这是Ruby日志:
cmd.exe /D /C call C:/Ruby24-x64/bin/scss.bat --update prova.scss:prova.css
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/plugin/compiler.rb:448: [BUG] Segmentation fault
ruby 2.4.3p205 (2017-12-14 revision 61247) [x64-mingw32]
-- Control frame information -----------------------------------------------
c:0014 p:---- s:0081 e:000080 CFUNC :exist?
c:0013 p:0032 s:0076 e:000075 METHOD C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/plugin/compiler.rb:448
c:0012 p:0052 s:0062 e:000061 BLOCK C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/plugin/compiler.rb:215 [FINISH]
c:0011 p:---- s:0056 e:000055 CFUNC :each
c:0010 p:0074 s:0052 e:000051 METHOD C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/plugin/compiler.rb:209
c:0009 p:0036 s:0044 e:000043 METHOD C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/plugin.rb:82
c:0008 p:0603 s:0039 E:000af8 METHOD C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/exec/sass_scss.rb:340
c:0007 p:0176 s:0030 e:000029 METHOD C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/exec/sass_scss.rb:51
c:0006 p:0042 s:0026 e:000025 METHOD C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/exec/base.rb:52
c:0005 p:0010 s:0022 e:000021 METHOD C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/exec/base.rb:19
c:0004 p:0111 s:0017 e:000016 TOP C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/bin/scss:13 [FINISH]
c:0003 p:---- s:0013 e:000012 CFUNC :load
c:0002 p:0152 s:0008 E:002470 EVAL C:/Ruby24-x64/bin/scss:23 [FINISH]
c:0001 p:0000 s:0003 E:0026a0 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
C:/Ruby24-x64/bin/scss:23:in `<main>'
C:/Ruby24-x64/bin/scss:23:in `load'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/bin/scss:13:in `<top (required)>'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/exec/base.rb:19:in `parse!'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/exec/base.rb:52:in `parse'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/exec/sass_scss.rb:51:in `process_result'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/exec/sass_scss.rb:340:in `watch_or_update'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/plugin.rb:82:in `update_stylesheets'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/plugin/compiler.rb:209:in `update_stylesheets'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/plugin/compiler.rb:209:in `each'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/plugin/compiler.rb:215:in `block in update_stylesheets'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/plugin/compiler.rb:448:in `update_stylesheet'
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/plugin/compiler.rb:448:in `exist?'
-- C level backtrace information -------------------------------------------
C:\WINDOWS\SYSTEM32\ntdll.dll(NtWaitForSingleObject+0x14) [0x00007ff983ccfec4]
C:\WINDOWS\System32\KERNELBASE.dll(WaitForSingleObjectEx+0x9f) [0x00007ff9801e3b2f]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_print_backtrace+0x36) [0x0000000067b02c66]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_vm_bugreport+0x65) [0x0000000067b02cd5]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_bug_context+0x69) [0x00000000679dce39]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_check_safe_obj+0x6ac) [0x0000000067a98b5c]
[0x0000000000402467]
C:\WINDOWS\SYSTEM32\ntdll.dll(_C_specific_handler+0x96) [0x00007ff983cc0f56]
C:\WINDOWS\SYSTEM32\ntdll.dll(_chkstk+0x11d) [0x00007ff983cd4c3d]
C:\WINDOWS\SYSTEM32\ntdll.dll(RtlWalkFrameChain+0x1518) [0x00007ff983c4d1b8]
C:\WINDOWS\SYSTEM32\ntdll.dll(KiUserExceptionDispatcher+0x2e) [0x00007ff983cd3b6e]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_w32_read_reparse_point+0x111) [0x0000000067b114e1]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_w32_reparse_symlink_p+0x37) [0x0000000067b115f7]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_w32_reparse_symlink_p+0x18d) [0x0000000067b1174d]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_w32_reparse_symlink_p+0x477) [0x0000000067b11a37]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_w32_reparse_symlink_p+0x57c) [0x0000000067b11b3c]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_w32_reparse_symlink_p+0x643) [0x0000000067b11c03]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_str_encode_ospath+0x107) [0x00000000679e62a7]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_file_directory_p+0x501) [0x00000000679e67b1]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_error_arity+0x10c) [0x0000000067ae8f6c]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_vm_invoke_proc+0x9e8) [0x0000000067af6ff8]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x4b1) [0x0000000067aee511]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x66c3) [0x0000000067af4723]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_yield+0x36c) [0x0000000067afe17c]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_ary_each+0x3d) [0x0000000067983a8d]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_error_arity+0x10c) [0x0000000067ae8f6c]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_vm_invoke_proc+0x9e8) [0x0000000067af6ff8]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x63b) [0x0000000067aee69b]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x66c3) [0x0000000067af4723]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_iseqw_local_variables+0xb95) [0x0000000067a18485]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_iseqw_local_variables+0xd0d) [0x0000000067a185fd]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_iseqw_local_variables+0x1266) [0x0000000067a18b56]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_error_arity+0x10c) [0x0000000067ae8f6c]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_vm_invoke_proc+0x9e8) [0x0000000067af6ff8]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x4b1) [0x0000000067aee511]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x66c3) [0x0000000067af4723]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(rb_call_end_proc+0x17e) [0x00000000679dfdee]
C:\Ruby24-x64\bin\x64-msvcrt-ruby240.dll(ruby_run_node+0x59) [0x00000000679e2a19]
[0x0000000000402d57]
[0x00000000004013f7]
[0x000000000040152b]
C:\WINDOWS\System32\KERNEL32.DLL(BaseThreadInitThunk+0x14) [0x00007ff981981fe4]
-- Other runtime information -----------------------------------------------
* Loaded script: C:/Ruby24-x64/bin/scss
* Loaded features:
0 enumerator.so
1 thread.rb
2 rational.so
3 complex.so
4 C:/Ruby24-x64/lib/ruby/2.4.0/x64-mingw32/enc/encdb.so
5 C:/Ruby24-x64/lib/ruby/2.4.0/x64-mingw32/enc/trans/transdb.so
6 C:/Ruby24-x64/lib/ruby/2.4.0/x64-mingw32/enc/windows_1252.so
7 C:/Ruby24-x64/lib/ruby/2.4.0/unicode_normalize.rb
8 C:/Ruby24-x64/lib/ruby/2.4.0/x64-mingw32/rbconfig.rb
9 C:/Ruby24-x64/lib/ruby/2.4.0/rubygems/compatibility.rb
10 C:/Ruby24-x64/lib/ruby/2.4.0/rubygems/defaults.rb
11 C:/Ruby24-x64/lib/ruby/2.4.0/rubygems/deprecate.rb
12 C:/Ruby24-x64/lib/ruby/2.4.0/rubygems/errors.rb
13 C:/Ruby24-x64/lib/ruby/2.4.0/rubygems/version.rb
14 C:/Ruby24-x64/lib/ruby/2.4.0/rubygems/requirement.rb
15 C:/Ruby24-x64/lib/ruby/2.4.0/rubygems/platform.rb
16 C:/Ruby24-x64/lib/ruby/2.4.0/rubygems/basic_specification.rb
17 C:/Ruby24-x64/lib/ruby/2.4.0/rubygems/stub_specification.rb
18 C:/Ruby24-x64/lib/ruby/2.4.0/rubygems/util/list.rb
19 C:/Ruby24-x64/lib/ruby/2.4.0/x64-mingw32/stringio.so
20 C:/Ruby24-x64/lib/ruby/2.4.0/rubygems/specification.rb
21 C:/Ruby24-x64/lib/ruby/2.4.0/rubygems/exceptions.rb
22 C:/Ruby24-x64/lib/ruby/site_ruby/2.4.0/ruby_installer/runtime/singleton.rb
23 C:/Ruby24-x64/lib/ruby/site_ruby/2.4.0/ruby_installer/runtime.rb
24 C:/Ruby24-x64/lib/ruby/site_ruby/2.4.0/ruby_installer/runtime/msys2_installation.rb
25 C:/Ruby24-x64/lib/ruby/2.4.0/x64-mingw32/fiddle.so
26 C:/Ruby24-x64/lib/ruby/2.4.0/fiddle/function.rb
27 C:/Ruby24-x64/lib/ruby/2.4.0/fiddle/closure.rb
28 C:/Ruby24-x64/lib/ruby/2.4.0/fiddle.rb
29 C:/Ruby24-x64/lib/ruby/site_ruby/2.4.0/ruby_installer/runtime/dll_directory.rb
30 C:/Ruby24-x64/lib/ruby/2.4.0/x64-mingw32/enc/utf_16le.so
31 C:/Ruby24-x64/lib/ruby/2.4.0/x64-mingw32/enc/trans/utf_16_32.so
32 C:/Ruby24-x64/lib/ruby/2.4.0/rubygems/defaults/operating_system.rb
33 C:/Ruby24-x64/lib/ruby/2.4.0/rubygems/dependency.rb
34 C:/Ruby24-x64/lib/ruby/2.4.0/rubygems/core_ext/kernel_gem.rb
35 C:/Ruby24-x64/lib/ruby/2.4.0/monitor.rb
36 C:/Ruby24-x64/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb
37 C:/Ruby24-x64/lib/ruby/2.4.0/rubygems.rb
38 C:/Ruby24-x64/lib/ruby/2.4.0/rubygems/path_support.rb
39 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/version.rb
40 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/core_ext/name_error.rb
41 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/levenshtein.rb
42 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/jaro_winkler.rb
43 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checker.rb
44 C:/Ruby24-x64/lib/ruby/2.4.0/delegate.rb
45 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
46 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
47 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checkers/name_error_checkers.rb
48 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checkers/method_name_checker.rb
49 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/spell_checkers/null_checker.rb
50 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean/formatter.rb
51 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib/did_you_mean.rb
52 C:/Ruby24-x64/lib/ruby/2.4.0/x64-mingw32/date_core.so
53 C:/Ruby24-x64/lib/ruby/2.4.0/date.rb
54 C:/Ruby24-x64/lib/ruby/2.4.0/x64-mingw32/cgi/escape.so
55 C:/Ruby24-x64/lib/ruby/2.4.0/cgi/util.rb
56 C:/Ruby24-x64/lib/ruby/2.4.0/x64-mingw32/strscan.so
57 C:/Ruby24-x64/lib/ruby/2.4.0/erb.rb
58 C:/Ruby24-x64/lib/ruby/2.4.0/set.rb
59 C:/Ruby24-x64/lib/ruby/2.4.0/uri/rfc2396_parser.rb
60 C:/Ruby24-x64/lib/ruby/2.4.0/uri/rfc3986_parser.rb
61 C:/Ruby24-x64/lib/ruby/2.4.0/uri/common.rb
62 C:/Ruby24-x64/lib/ruby/2.4.0/uri/generic.rb
63 C:/Ruby24-x64/lib/ruby/2.4.0/uri/ftp.rb
64 C:/Ruby24-x64/lib/ruby/2.4.0/uri/http.rb
65 C:/Ruby24-x64/lib/ruby/2.4.0/uri/https.rb
66 C:/Ruby24-x64/lib/ruby/2.4.0/uri/ldap.rb
67 C:/Ruby24-x64/lib/ruby/2.4.0/uri/ldaps.rb
68 C:/Ruby24-x64/lib/ruby/2.4.0/uri/mailto.rb
69 C:/Ruby24-x64/lib/ruby/2.4.0/uri.rb
70 C:/Ruby24-x64/lib/ruby/2.4.0/x64-mingw32/pathname.so
71 C:/Ruby24-x64/lib/ruby/2.4.0/pathname.rb
72 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/root.rb
73 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/util/subset_map.rb
74 C:/Ruby24-x64/lib/ruby/2.4.0/x64-mingw32/enc/utf_16be.so
75 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/util/multibyte_string_scanner.rb
76 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/util/normalized_map.rb
77 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/util.rb
78 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/version.rb
79 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/logger/log_level.rb
80 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/logger/base.rb
81 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/logger/delayed.rb
82 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/logger.rb
83 C:/Ruby24-x64/lib/ruby/2.4.0/x64-mingw32/digest.so
84 C:/Ruby24-x64/lib/ruby/2.4.0/digest.rb
85 C:/Ruby24-x64/lib/ruby/2.4.0/x64-mingw32/digest/sha1.so
86 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/cache_stores/base.rb
87 C:/Ruby24-x64/lib/ruby/2.4.0/x64-mingw32/etc.so
88 C:/Ruby24-x64/lib/ruby/2.4.0/fileutils.rb
89 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/cache_stores/filesystem.rb
90 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/cache_stores/memory.rb
91 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/cache_stores/chain.rb
92 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/cache_stores.rb
93 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/deprecation.rb
94 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/source/position.rb
95 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/source/range.rb
96 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/source/map.rb
97 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/node.rb
98 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/root_node.rb
99 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/rule_node.rb
100 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/comment_node.rb
101 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/prop_node.rb
102 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/directive_node.rb
103 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/media_node.rb
104 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/supports_node.rb
105 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/css_import_node.rb
106 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/variable_node.rb
107 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/mixin_def_node.rb
108 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/mixin_node.rb
109 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/trace_node.rb
110 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/content_node.rb
111 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/function_node.rb
112 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/return_node.rb
113 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/extend_node.rb
114 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/if_node.rb
115 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/while_node.rb
116 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/for_node.rb
117 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/each_node.rb
118 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/debug_node.rb
119 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/warn_node.rb
120 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/import_node.rb
121 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/charset_node.rb
122 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/at_root_node.rb
123 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/keyframe_rule_node.rb
124 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/error_node.rb
125 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/visitors/base.rb
126 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/visitors/perform.rb
127 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/visitors/cssize.rb
128 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/visitors/extend.rb
129 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/visitors/convert.rb
130 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/visitors/to_css.rb
131 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/visitors/deep_copy.rb
132 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/visitors/set_options.rb
133 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/tree/visitors/check_nesting.rb
134 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/selector/simple.rb
135 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/selector/abstract_sequence.rb
136 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/selector/comma_sequence.rb
137 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/selector/pseudo.rb
138 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/selector/sequence.rb
139 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/selector/simple_sequence.rb
140 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/selector.rb
141 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/environment.rb
142 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/scss/rx.rb
143 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/value/helpers.rb
144 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/functions.rb
145 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/lexer.rb
146 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/parser.rb
147 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/tree/node.rb
148 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/tree/variable.rb
149 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/tree/funcall.rb
150 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/tree/operation.rb
151 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/tree/unary_operation.rb
152 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/tree/interpolation.rb
153 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/tree/string_interpolation.rb
154 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/tree/literal.rb
155 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/tree/list_literal.rb
156 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/tree/map_literal.rb
157 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/tree/selector.rb
158 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/tree.rb
159 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/value/base.rb
160 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/value/string.rb
161 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/value/number.rb
162 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/value/color.rb
163 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/value/bool.rb
164 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/value/null.rb
165 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/value/list.rb
166 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/value/arg_list.rb
167 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/value/map.rb
168 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/value/callable.rb
169 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/value/function.rb
170 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/value.rb
171 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script.rb
172 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/scss/parser.rb
173 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/css_lexer.rb
174 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/script/css_parser.rb
175 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/scss/static_parser.rb
176 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/scss/css_parser.rb
177 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/scss.rb
178 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/stack.rb
179 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/error.rb
180 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/importers/base.rb
181 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/importers/filesystem.rb
182 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/importers/deprecated_path.rb
183 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/importers.rb
184 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/shared.rb
185 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/media.rb
186 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/supports.rb
187 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/engine.rb
188 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/railtie.rb
189 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/features.rb
190 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass.rb
191 C:/Ruby24-x64/lib/ruby/2.4.0/optparse.rb
192 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/exec/base.rb
193 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/exec/sass_scss.rb
194 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/exec/sass_convert.rb
195 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/exec.rb
196 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/callbacks.rb
197 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/plugin/configuration.rb
198 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/plugin/staleness_checker.rb
199 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/plugin/compiler.rb
200 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/plugin/generic.rb
201 C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.5/lib/sass/plugin.rb
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Process finished with exit code 3
我看到一个&#34;分段错误&#34;在顶部,但我不知道这是否真的相关。
谢谢!
修改
这里也是代码:
$title-font: normal 24px/1.5 'Open Sans',
sans-serif;
$cool-red: #F44336;
$box-shadow-bottom-only: 0 2px 1px 0 rgba(0, 0, 0, 0.2);
h1.title {
font: $title-font;
color: $cool-red;
}
div.container {
width: 400px;
height: 400px;
animation-iteration-count: infinite;
animation-name: nimation;
animation-duration: 5s;
animation-direction: normal;
color: $cool-red;
background: #F44336;
box-shadow: $box-shadow-bottom-only;
}
@keyframes nimation {
0% {
margin-left: 10%;
animation-timing-function: cubic-bezier(.75, .25, .75, 1.25);
}
90% {
margin-left: 90%;
animation-timing-function: cubic-bezier(.75, .25, .75, 1.25);
}
100% {
margin-left: 90%;
animation-timing-function: linear;
}
}
div.core {
border-radius: 50%;
background-color: green;
width: 150px;
height: 150px;
margin-top: 20%;
margin-left: auto;
margin-right: auto;
}
div.electron {
background-color: chartreuse;
border-radius: 50%;
width: 15px;
height: 15px;
animation: orbitX 5s normal infinite;
}
div.electron:after {
animation: orbitY 5s normal infinite;
}
$x1: 200;
$y1: 300;
@keyframes orbitX {
0% {
margin-top: $x1 px;
animation-timing-function: ease-in;
/*margin-left: $y1 px;*/
}
25% {
margin-top: $x1+100 px;
animation-timing-function: ease-out;
/*margin-left: $y1+40 px;*/
}
50% {
margin-top: $x1+200 px;
animation-timing-function: ease-in;
/*margin-left: $y1+80 px;*/
}
75% {
margin-top: $x1+100 px;
animation-timing-function: ease-out;
/*margin-left: $y1+40 px;*/
}
100% {
margin-top: $x1 px;
animation-timing-function: ease-in;
/*margin-left: $y1 px;*/
}
}
@keyframes orbitY {
0% {
margin-left: $y1 px;
animation-timing-function: ease-out;
/*margin-left: $y1 px;*/
}
25% {
margin-left: $y1+40 px;
animation-timing-function: ease-in;
/*margin-left: $y1+40 px;*/
}
50% {
margin-left: $y1+80 px;
animation-timing-function: ease-out;
/*margin-left: $y1+80 px;*/
}
75% {
margin-left: $y1+40 px;
animation-timing-function: ease-in;
/*margin-left: $y1+40 px;*/
}
100% {
margin-left: $y1 px;
animation-timing-function: ease-out;
/*margin-left: $y1 px;*/
}
}
&#13;