Closed MaxwelsDonc closed 1 month ago
Configuration file: /site/_config.yml Source: /site Destination: /site/_site Incremental build: disabled. Enable with --incremental Generating... Jekyll Feed: Generating feed for posts GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data. done in 6.058 seconds. jekyll 3.9.0 | Error: no implicit conversion of Hash into Integer /usr/local/bundle/gems/pathutil-0.16.2/lib/pathutil.rb:502:in
read': no implicit conversion of Hash into Integer (TypeError)
from /usr/local/bundle/gems/pathutil-0.16.2/lib/pathutil.rb:502:in read' from /usr/local/bundle/gems/jekyll-3.9.0/lib/jekyll/utils/platforms.rb:75:in
proc_version'
from /usr/local/bundle/gems/jekyll-3.9.0/lib/jekyll/utils/platforms.rb:40:in bash_on_windows?' from /usr/local/bundle/gems/jekyll-3.9.0/lib/jekyll/commands/build.rb:77:in
watch'
from /usr/local/bundle/gems/jekyll-3.9.0/lib/jekyll/commands/build.rb:43:in process' from /usr/local/bundle/gems/jekyll-3.9.0/lib/jekyll/commands/serve.rb:93:in
block in start'
from /usr/local/bundle/gems/jekyll-3.9.0/lib/jekyll/commands/serve.rb:93:in each'
请我创建docker时报错是为什么呀
Configuration file: /site/_config.yml Source: /site Destination: /site/_site Incremental build: disabled. Enable with --incremental Generating... Jekyll Feed: Generating feed for posts GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data. done in 6.058 seconds. jekyll 3.9.0 | Error: no implicit conversion of Hash into Integer /usr/local/bundle/gems/pathutil-0.16.2/lib/pathutil.rb:502:in
read': no implicit conversion of Hash into Integer (TypeError) from /usr/local/bundle/gems/pathutil-0.16.2/lib/pathutil.rb:502:inread' from /usr/local/bundle/gems/jekyll-3.9.0/lib/jekyll/utils/platforms.rb:75:in
proc_version' from /usr/local/bundle/gems/jekyll-3.9.0/lib/jekyll/utils/platforms.rb:40:inbash_on_windows?' from /usr/local/bundle/gems/jekyll-3.9.0/lib/jekyll/commands/build.rb:77:in
watch' from /usr/local/bundle/gems/jekyll-3.9.0/lib/jekyll/commands/build.rb:43:inprocess' from /usr/local/bundle/gems/jekyll-3.9.0/lib/jekyll/commands/serve.rb:93:in
block in start' from /usr/local/bundle/gems/jekyll-3.9.0/lib/jekyll/commands/serve.rb:93:ineach'
请我创建docker时报错是为什么呀
我忘了,很早之前整的了,我docker账号都没了
我之前因为环境问题,一直编译不通过,所以做了个docker镜像,你可以考虑加进去。
docker run -p 4000:4000 -v $(pwd):/site maxwelsdonc/acadhomepage
,会自动下载镜像maxwelsdonc/acadhomepage
docker run --rm -p 4000:4000 -v $(pwd):/site maxwelsdonc/acadhomepage
bash run_server.sh
然后可以在http://localhost:4000
中查看相应的网页。