对rails很新,我无法确定或找到确切问题的位置。
RAILS_ENV =生产包exec rake资产:预编译
耙子流产了!
ExecJS :: RuntimeError:SyntaxError:无效的正则表达式:字符类中的范围乱序
获得@(execjs):3538:630
(execjs):4058:47
(execjs):1:46
全球代码@(execjs):1:58
/Users/al/.rbenv/versions/2.4.1/bin/bundle:22:in load'
/Users/al/.rbenv/versions/2.4.1/bin/bundle:22:in
'
任务:TOP =>资产:预编译
(通过使用--trace运行任务查看完整跟踪)
以下是完整的--trace:
voke资产:预编译(first_time)
**调用资产:环境(first_time)
**执行资产:环境
**调用环境(first_time)
**执行环境
**执行资产:预编译
耙子流产了!
NoMethodError:未定义的方法[]' for nil:NilClass
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/sass_processor.rb:278:in
sprockets_context'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/sass_processor.rb:124:in asset_path'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/sass_processor.rb:137:in
asset_url&# 39;
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/sass_processor.rb:209:in font_url'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/script/tree/funcall.rb:143:in
_执行&# 39;
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/script/tree/node.rb:58:in {{1 }} visit_prop'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/base.rb:36:in {{1阻止访问'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/stack.rb:79:in perform'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/perform.rb:397:in
with_frame&# 39;
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/stack.rb:79:in visit'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/perform.rb:160:in
访问&# 39;
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/perform.rb:504:in {{1 }}映射'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/perform.rb:504:in {{1 }} with_environment'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/perform.rb:503:in {{1 }}访问'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/perform.rb:160:in {{1阻止在with_base'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/stack.rb:115:in block in with_base'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/stack.rb:115:in
with_base&# 39;
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/perform.rb:160:in {{1在visit_children'中阻止
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/base.rb:52:in {{1 }} visit_children'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/perform.rb:169:in {{1 }} with_environment'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/perform.rb:168:in {{1阻止访问'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/perform.rb:188:in {{1 }}访问'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/perform.rb:159:in {{1 }}访问'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/root_node.rb:36:in with_base'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/perform.rb:160:in
渲染'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/engine.rb:281:in block (2 levels) in visit_directive'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/perform.rb:504:in
来电&# 39;
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/sass_compressor.rb:28:in block in visit_directive'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/perform.rb:181:in
call_processor&# 39;
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:57:in visit_directive'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/base.rb:36:in
reverse_each&# 39;
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in block in visit'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/stack.rb:79:in
load_from_unloaded&# 39;
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:60:in with_frame'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/stack.rb:79:in
fetch_asset_from_dependency_cache&# 39;
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:44:in visit'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/base.rb:52:in
阻止初始化'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:47:in map'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/base.rb:52:in
find_asset&# 39;
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/base.rb:73:in block in visit_children'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/perform.rb:181:in
阻止发现'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:114:in visit_children'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/base.rb:36:in
阻止stat_tree'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:212:in visit_root'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/base.rb:36:in
每个&# 39;
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:209:in visit'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/visitors/perform.rb:8:in
stat_tree&# 39;
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:105:in css_tree'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.23/lib/sass/tree/root_node.rb:20:in
阻止logical_paths'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:104:in render'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/sass_compressor.rb:48:in
logical_paths&# 39;
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:140:in call'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:75:in
编译&# 39;
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:68:in {{1 }} with_logger'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:67:in {{1阻止执行'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:250:in block in call_processors'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in
执行&# 39;
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:194:in call_processors'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:134:in
mon_synchronize&# 39;
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:187:in block in load'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:317:in
调用&# 39;
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:152:in load'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:20:in
块( top_level中的2个级别'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:108:in load'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/base.rb:66:in
阻止TOP_LEVEL'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:117:in find_all_linked_assets'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:142:in
top_level&# 39;
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:80:in block (2 levels) in logical_paths'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:228:in
standard_exception_handling&# 39;
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:77:in block in stat_directory'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:209:in
&# 39;
/Users/al/.rbenv/versions/2.4.1/bin/rake:22:in stat_directory'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:227:in
'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.14.6/lib/bundler/cli/exec.rb:74:in each'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:105:in
kernel_load'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.14.6/lib/bundler/cli/exec.rb:27:in each'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:104:in
EXEC'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.14.6/lib/bundler/vendor/thor/lib/thor/command.rb:27:在find'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:185:in
invoke_command'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.14.6/lib/bundler/vendor/thor/lib/thor.rb:359:in { {1}}调度'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.14.6/lib/bundler/vendor/thor/lib/thor/base.rb:440:在block (3 levels) in define'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sprockets-3.7.1/lib/rake/sprocketstask.rb:147:in
开始'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.14.6/exe/bundle:32:in block (2 levels) in define'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:250:in
with_friendly_errors'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.14.6/exe/bundle:24:in each'
/Users/al/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:250:in
load'
/Users/al/.rbenv/versions/2.4.1/bin/bundle:22:in`'
任务:TOP =>资产:预编译