sh jekyll-starter-kit-error.sh

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh jekyll-starter-kit-error.sh相关的知识,希望对你有一定的参考价值。

gem install jekyll
Successfully installed jekyll-3.4.0
1 gem installed

Sites/epluno
❯ npm run gulp serve

> epluno@1.0.0 gulp /Users/ed/Sites/epluno
> gulp "serve"

[09:12:18] Requiring external module babel-register
[09:12:18] Using gulpfile ~/Sites/epluno/gulpfile.babel.js
[09:12:18] Starting 'scripts'...
[09:12:18] Finished 'scripts' after 71 ms
[09:12:18] Starting 'scss'...
[09:12:18] Finished 'scss' after 65 ms
[09:12:18] Starting 'jekyll-build'...
/Users/ed/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/resolver.rb:386:in `block in verify_gemfile_dependencies_are_found!': Could not find gem 'jekyll (= 3.3.1)' in any of the gem sources listed in your Gemfile. (Bundler::GemNotFound)
	from /Users/ed/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/resolver.rb:356:in `each'
	from /Users/ed/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/resolver.rb:356:in `verify_gemfile_dependencies_are_found!'
	from /Users/ed/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/resolver.rb:203:in `start'
	from /Users/ed/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/resolver.rb:182:in `resolve'
	from /Users/ed/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/definition.rb:252:in `resolve'
	from /Users/ed/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/definition.rb:176:in `specs'
	from /Users/ed/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/definition.rb:235:in `specs_for'
	from /Users/ed/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/definition.rb:224:in `requested_specs'
	from /Users/ed/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:118:in `block in definition_method'
	from /Users/ed/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:19:in `setup'
	from /Users/ed/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.14.5/lib/bundler.rb:100:in `setup'
	from /Users/ed/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jekyll-3.4.0/lib/jekyll/plugin_manager.rb:36:in `require_from_bundler'
	from /Users/ed/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jekyll-3.4.0/exe/jekyll:9:in `<top (required)>'
	from /Users/ed/.rbenv/versions/2.3.1/bin/jekyll:22:in `load'
	from /Users/ed/.rbenv/versions/2.3.1/bin/jekyll:22:in `<main>'
[09:12:19] 'jekyll-build' errored after 678 ms
[09:12:19] Error: Command `jekyll build` failed with exit code 1
    at ChildProcess.exithandler (child_process.js:211:12)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:192:7)
    at maybeClose (internal/child_process.js:890:16)
    at Socket.<anonymous> (internal/child_process.js:334:11)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:189:7)
    at Pipe._handle.close [as _onclose] (net.js:501:12)

npm ERR! Darwin 16.4.0
npm ERR! argv "/usr/local/Cellar/node/7.6.0/bin/node" "/usr/local/bin/npm" "run" "gulp" "serve"
npm ERR! node v7.6.0
npm ERR! npm  v4.3.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! epluno@1.0.0 gulp: `gulp "serve"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the epluno@1.0.0 gulp script 'gulp "serve"'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the epluno package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     gulp "serve"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs epluno
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls epluno
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/ed/.npm/_logs/2017-02-28T14_12_19_459Z-debug.log

以上是关于sh jekyll-starter-kit-error.sh的主要内容,如果未能解决你的问题,请参考以下文章

sh sh_template.sh

sh sh.sh

Linux下面如何运行 SH文件

配置告警系统主脚本main.sh mon.sh load.sh 502.sh disk.sh

shell 脚本各种执行方式(source ./*.sh, . ./*.sh, ./*.sh)的区别

linux下sh文件的运行