Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法启动tabler、node.js、ruby或jekyll错误_Node.js_Ruby - Fatal编程技术网

无法启动tabler、node.js、ruby或jekyll错误

无法启动tabler、node.js、ruby或jekyll错误,node.js,ruby,Node.js,Ruby,我正试图在本地计算机上启动Tabler server,已按如下方式安装所有内容:[在此处输入链接说明][1] 但当我试图启动服务器时,出现了一个错误,有什么建议吗 更新: 我已经重新安装了所有的东西,但现在我收到了不同的错误消息 Unable to load the EventMachine C extension; To use the pure-ruby reactor, require 'em/pure_ruby' Traceback (most recent call last)

我正试图在本地计算机上启动Tabler server,已按如下方式安装所有内容:[在此处输入链接说明][1] 但当我试图启动服务器时,出现了一个错误,有什么建议吗

更新:

我已经重新安装了所有的东西,但现在我收到了不同的错误消息

    Unable to load the EventMachine C extension; To use the pure-ruby reactor, require 'em/pure_ruby'
Traceback (most recent call last):
        22: from C:/tabler/Ruby25-x64/bin/jekyll:23:in `<main>'
        21: from C:/tabler/Ruby25-x64/bin/jekyll:23:in `load'
        20: from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.1/exe/jekyll:15:in `<top (required)>'
        19: from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
        18: from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
        17: from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
        16: from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
        15: from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
        14: from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.1/lib/jekyll/commands/serve.rb:75:in `block (2 levels) in init_with_program'
        13: from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.1/lib/jekyll/commands/serve.rb:93:in `start'
        12: from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.1/lib/jekyll/commands/serve.rb:93:in `each'
        11: from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.1/lib/jekyll/commands/serve.rb:93:in `block in start'
        10: from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.1/lib/jekyll/commands/serve.rb:101:in `process'
         9: from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.1/lib/jekyll/commands/serve.rb:147:in `register_reload_hooks'
         8: from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.1/lib/jekyll/commands/serve.rb:147:in `require_relative'
         7: from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.1/lib/jekyll/commands/serve/live_reload_reactor.rb:3:in `<top (required)>'
         6: from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.1/lib/jekyll/commands/serve/live_reload_reactor.rb:3:in `require'
         5: from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/em-websocket-0.5.1/lib/em-websocket.rb:3:in `<top (required)>'
         4: from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/em-websocket-0.5.1/lib/em-websocket.rb:3:in `require'
         3: from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.6-x64-mingw32/lib/eventmachine.rb:8:in `<top (required)>'
         2: from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.6-x64-mingw32/lib/eventmachine.rb:8:in `require'
         1: from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.6-x64-mingw32/lib/rubyeventmachine.rb:2:in `<top (required)>'
C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.6-x64-mingw32/lib/rubyeventmachine.rb:2:in `require': cannot load such file -- 2.5/rubyeventmachine (LoadError)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! tabler-ui@0.0.32 jekyll-serve: `jekyll serve --livereload`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the tabler-ui@0.0.32 jekyll-serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Akvile\AppData\Roaming\npm-cache\_logs\2018-05-04T10_04_27_635Z-debug.log
ERROR: "jekyll-serve" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! tabler-ui@0.0.32 serve: `gulp build && npm-run-all --parallel gulp-watch jekyll-serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the tabler-ui@0.0.32 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Akvile\AppData\Roaming\npm-cache\_logs\2018-05-04T10_04_27_931Z-debug.log
无法加载EventMachine C扩展;要使用纯ruby反应堆,需要'em/pure_ruby'
回溯(最近一次呼叫最后一次):
22:from C:/tabler/Ruby25-x64/bin/jekyll:23:in`'
21:from C:/tabler/Ruby25-x64/bin/jekyll:23:in'load'
20:from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.1/exe/jekyll:15:in`'
19:from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/雇佣军-0.3.6/lib/雇佣军
18:from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/雇佣军-0.3.6/lib/雇佣军/program.rb:42:in'go'
17:from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/雇佣军-0.3.6/lib/雇佣军/command.rb:220:in'execute'
16:from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/雇佣军-0.3.6/lib/雇佣军/command.rb:220:in'each'
15:from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/雇佣军-0.3.6/lib/雇佣军/command.rb:220:in'block in execute'
14:from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.1/lib/jekyll/commands/service.rb:75:init_中的“块(2级)与_程序”
13:from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.1/lib/jekyll/commands/service.rb:93:in'start'
12:from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.1/lib/jekyll/commands/service.rb:93:in'each'
11:from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.1/lib/jekyll/commands/service.rb:93:in`block in start'
10:from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.1/lib/jekyll/commands/service.rb:101:在“进程”中
9:from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.1/lib/jekyll/commands/service.rb:147:in“register\u reload\u hooks”
8:from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.1/lib/jekyll/commands/service.rb:147:in'require\u relative'
7:来自C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.1/lib/jekyll/commands/service/live\u reload\u reactor.rb:3:in`'
6:from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.1/lib/jekyll/commands/service/live\u reload\u reactor.rb:3:in'require'
5:from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/em-websocket-0.5.1/lib/em-websocket.rb:3:in`'
4:from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/em-websocket-0.5.1/lib/em-websocket.rb:3:in'require'
3:来自C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.6-x64-mingw32/lib/eventmachine.rb:8:in`'
2:来自C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.6-x64-mingw32/lib/eventmachine.rb:8:在'require'中
1:from C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.6-x64-mingw32/lib/rubyeventmachine.rb:2:in`'
C:/tabler/Ruby25-x64/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.6-x64-mingw32/lib/rubyeventmachine.rb:2:在“require”中:无法加载此类文件--2.5/rubyeventmachine(LoadError)
npm错误!代码失效循环
npm错误!错误1
npm错误!tabler-ui@0.0.32杰基尔发球:“杰基尔发球——利弗雷罗德`
npm错误!退出状态1
npm错误!
npm错误!在会议上失败了-ui@0.0.32杰基尔提供剧本。
npm错误!这可能不是npm的问题。上面可能还有其他日志输出。
npm错误!此运行的完整日志可在以下位置找到:
npm错误!C:\Users\Akvile\AppData\Roaming\npm cache\\u logs\2018-05-04T10\u 04\u 27\u 635Z-debug.log
错误:“jekyll serve”以1退出。
npm错误!代码失效循环
npm错误!错误1
npm错误!tabler-ui@0.0.32发球:`gulp build&npm run all--平行gulp watch jekyll发球`
npm错误!退出状态1
npm错误!
npm错误!在会议上失败了-ui@0.0.32提供脚本。
npm错误!这可能不是npm的问题。上面可能还有其他日志输出。
npm错误!此运行的完整日志可在以下位置找到:
npm错误!C:\Users\Akvile\AppData\Roaming\npm cache\\u logs\2018-05-04T10\u 04\u 27\u 931Z-debug.log

我在部署tabler时遇到了同样的问题,我就是这样解决的:

  • 转到package.json文件
  • 搜索以下行:“杰基尔发球”:“杰基尔发球——利弗雷罗德”
  • 将“杰基尔发球——利弗雷罗德”改为“杰基尔发球”

  • 希望这有帮助。

    该错误表示存在宝石捆绑问题;是否有“捆绑安装”步骤?