Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libv8-node (16.10.0.0) installation error #691

Closed
jbudlender opened this issue Jun 1, 2022 · 40 comments
Closed

libv8-node (16.10.0.0) installation error #691

jbudlender opened this issue Jun 1, 2022 · 40 comments
Labels
dependency windows Windows related issues

Comments

@jbudlender
Copy link

jbudlender commented Jun 1, 2022

Describe the bug
Upon forking and then cloning the current version of the repo to my machine, bundle install produces an error, specifically:

An error occurred while installing libv8-node (16.10.0.0), and Bundler cannot
continue.

In Gemfile:
  mini_racer was resolved to 0.6.2, which depends on
    libv8-node

To Reproduce
I followed the instructions in the "Getting Started" guide, under "Local Setup".

System

  • OS: Windows 10 64-bit
  • Browser: Chrome Version 101.0.4951.67
  • Jekyll version: 4.2.2
  • Ruby version: 3.1.2p20 (2022-04-12 revision 4491bb740a)

Additional context
I'm completely new to Jekyll and Ruby, so apologies if I'm missing something obvious.

Below I paste the full output. This was after the second time I ran bundle install

$ bundle install
Fetching gem metadata from https://rubygems.org/........
Resolving dependencies....
Using bundler 2.3.14
Using concurrent-ruby 1.1.10
Using minitest 5.15.0
Using public_suffix 4.0.7
Using latex-decode 0.3.2
Using namae 1.1.1
Using rexml 3.2.5
Using colorator 1.1.0
Using crass 1.0.6
Using cssminify2 2.0.1
Using eventmachine 1.2.7
Using http_parser.rb 0.8.0
Using execjs 2.8.1
Using racc 1.6.0
Using sax-machine 1.3.2
Using ffi 1.15.5 (x64-mingw-ucrt)
Using forwardable-extended 2.6.0
Using gemoji 3.0.1
Using htmlcompressor 0.4.0
Using mime-types-data 3.2022.0105
Using multi_xml 0.6.0
Using rb-fsevent 0.11.1
Using liquid 4.0.3
Using mercenary 0.4.0
Using rouge 3.28.0
Using safe_yaml 1.0.5
Using unicode-display_width 1.8.0
Using jekyll-email-protect 1.1.0
Using json 2.6.2
Using jekyll-twitter-plugin 2.1.0
Using unicode_utils 1.4.0
Using webrick 1.7.0
Using i18n 1.10.0
Using tzinfo 2.0.4
Using addressable 2.8.0
Using citeproc 1.0.10
Using csl 1.6.0
Using bibtex-ruby 6.0.0
Using nokogiri 1.13.6 (x64-mingw-ucrt)
Using kramdown 2.4.0
Using em-websocket 0.5.3
Fetching libv8-node 16.10.0.0
Using mime-types 3.4.1
Using sassc 2.4.0
Using rb-inotify 0.10.1
Using pathutil 0.16.2
Using uglifier 4.2.0
Using terminal-table 2.0.0
Using json-minify 0.0.3
Using activesupport 7.0.3
Using citeproc-ruby 1.1.14
Using csl-styles 1.0.1.11
Using loofah 2.18.0
Using httparty 0.20.0
Using kramdown-parser-gfm 1.1.0
Using jekyll-sass-converter 2.2.0
Using listen 3.7.1
Using feedjira 3.2.1
Using html-pipeline 2.14.1
Using jekyll-watch 2.2.1
Using jekyll 4.2.2
Using jekyll-archives 2.2.1
Using jekyll-diagrams 0.10.0
Using jekyll-feed 0.16.0
Using jekyll-imagemagick 1.4.0
Using jekyll-minifier 0.1.10
Using jekyll-paginate-v2 3.0.0
Using jekyll-scholar 7.1.0
Using jekyll-sitemap 1.4.0
Using jekyll-target-blank 2.0.0
Using jemoji 0.12.0
Installing libv8-node 16.10.0.0 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/libv8-node-16.10.0.0/ext/libv8-node
C:/myprograms/Ruby31-x64/bin/ruby.exe -I C:/myprograms/Ruby31-x64/lib/ruby/3.1.0
-r ./siteconf20220601-33924-8or4sy.rb extconf.rb
creating Makefile
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/libv8-node-16.10.0.0/ext/libv8-node/builder.rb:12:in
`build_libv8!': failed to download node 16.10.0 (Libv8::Node::BuilderError)
from
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/libv8-node-16.10.0.0/ext/libv8-node/location.rb:30:in
`install!'
        from extconf.rb:9:in `<main>'
==== in
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/libv8-node-16.10.0.0/ext/libv8-node
==== running
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/libv8-node-16.10.0.0/libexec/download-node

extconf failed, exit code 1

Gem files will remain installed in
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/libv8-node-16.10.0.0 for
inspection.
Results logged to
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/extensions/x64-mingw-ucrt/3.1.0/libv8-node-16.10.0.0/gem_make.out

  C:/myprograms/Ruby31-x64/lib/ruby/3.1.0/rubygems/ext/builder.rb:95:in `run'
C:/myprograms/Ruby31-x64/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:47:in
`block in build'
  C:/myprograms/Ruby31-x64/lib/ruby/3.1.0/tempfile.rb:317:in `open'
C:/myprograms/Ruby31-x64/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:26:in
`build'
C:/myprograms/Ruby31-x64/lib/ruby/3.1.0/rubygems/ext/builder.rb:161:in
`build_extension'
C:/myprograms/Ruby31-x64/lib/ruby/3.1.0/rubygems/ext/builder.rb:195:in `block
in build_extensions'
  C:/myprograms/Ruby31-x64/lib/ruby/3.1.0/rubygems/ext/builder.rb:192:in `each'
C:/myprograms/Ruby31-x64/lib/ruby/3.1.0/rubygems/ext/builder.rb:192:in
`build_extensions'
C:/myprograms/Ruby31-x64/lib/ruby/3.1.0/rubygems/installer.rb:853:in
`build_extensions'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.14/lib/bundler/rubygems_gem_installer.rb:71:in
`build_extensions'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.14/lib/bundler/rubygems_gem_installer.rb:28:in
`install'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.14/lib/bundler/source/rubygems.rb:204:in
`install'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:54:in
`install'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:16:in
`install_from_spec'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:186:in
`do_install'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:177:in
`block in worker_pool'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.14/lib/bundler/worker.rb:62:in
`apply_func'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.14/lib/bundler/worker.rb:57:in
`block in process_queue'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:in
`loop'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:in
`process_queue'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.14/lib/bundler/worker.rb:91:in
`block (2 levels) in create_threads'

An error occurred while installing libv8-node (16.10.0.0), and Bundler cannot
continue.

In Gemfile:
  mini_racer was resolved to 0.6.2, which depends on
    libv8-node
@jbudlender jbudlender added the bug label Jun 1, 2022
@champfish
Copy link

I had the same issue with the same error message. It seems to be an issue with bundle so you can try looking at solutions for other projects, although none worked for me.

@jbudlender
Copy link
Author

Thanks, yeah I've also tried various solutions for other projects but can't get them to work either. FYI I've opened an issue at the mini-racer repo.

In the meanwhile, is there any workaround for al-folio? I've tried installing older versions of mini_racer but hasn't worked. Any older versions of al-folio which don't require mini_racer?

@NeoNeuron
Copy link

I have a related issue about installing mini_racer. I can install libv8-node but fail on mini_racer-0.6.2. It seems related to compilers. I'm using macOS Monterey 12.4 with gcc-11. I've create an issue at the mini-racer repo, too.

@rohandebsarkar
Copy link
Collaborator

Please try replacing mini_racer in the Gemfile with therubyracer.

Please report the result, if the build succeeds, I will open a PR replacing mini_racer with therubyracer.

@jbudlender
Copy link
Author

jbudlender commented Jun 5, 2022

Thanks for the suggestion @rohandebsarkar, but I get a similar libv8 installation error when replacing mini_racer with therubyracer. This time the issue is libv8 (3.16.14.19) rather than libv8-node (16.10.0.0). I'll look for discussion/fixes re this elsewhere later, but just wanted to report back for now.

$ bundle install
Fetching gem metadata from https://rubygems.org/........
Resolving dependencies....
Using concurrent-ruby 1.1.10
Using bundler 2.3.15
Using minitest 5.15.0
Using public_suffix 4.0.7
Using latex-decode 0.3.2
Using namae 1.1.1
Using rexml 3.2.5
Using colorator 1.1.0
Using crass 1.0.6
Using eventmachine 1.2.7
Using http_parser.rb 0.8.0
Using execjs 2.8.1
Using cssminify2 2.0.1
Using racc 1.6.0
Using sax-machine 1.3.2
Using ffi 1.15.5 (x64-mingw-ucrt)
Using forwardable-extended 2.6.0
Using htmlcompressor 0.4.0
Using mime-types-data 3.2022.0105
Using multi_xml 0.6.0
Using rb-fsevent 0.11.1
Using liquid 4.0.3
Using mercenary 0.4.0
Using gemoji 3.0.1
Using rouge 3.29.0
Using safe_yaml 1.0.5
Using unicode-display_width 1.8.0
Using jekyll-email-protect 1.1.0
Using json 2.6.2
Using jekyll-twitter-plugin 2.1.0
Using unicode_utils 1.4.0
Using webrick 1.7.0
Using i18n 1.10.0
Using tzinfo 2.0.4
Using addressable 2.8.0
Using bibtex-ruby 6.0.0
Using citeproc 1.0.10
Using csl 1.6.0
Using em-websocket 0.5.3
Using nokogiri 1.13.6 (x64-mingw-ucrt)
Fetching libv8 3.16.14.19
Using pathutil 0.16.2
Using mime-types 3.4.1
Using kramdown 2.4.0
Using uglifier 4.2.0
Using terminal-table 2.0.0
Using json-minify 0.0.3
Fetching ref 2.0.0
Using sassc 2.4.0
Using rb-inotify 0.10.1
Using activesupport 7.0.3
Using citeproc-ruby 1.1.14
Using csl-styles 1.0.1.11
Using loofah 2.18.0
Using httparty 0.20.0
Using kramdown-parser-gfm 1.1.0
Using jekyll-sass-converter 2.2.0
Using listen 3.7.1
Using feedjira 3.2.1
Using html-pipeline 2.14.1
Using jekyll-watch 2.2.1
Using jekyll 4.2.2
Using jekyll-archives 2.2.1
Using jekyll-feed 0.16.0
Using jekyll-imagemagick 1.4.0
Using jekyll-diagrams 0.10.0
Using jekyll-minifier 0.1.10
Using jekyll-paginate-v2 3.0.0
Using jekyll-scholar 7.1.0
Using jekyll-sitemap 1.4.0
Using jekyll-target-blank 2.0.0
Using jemoji 0.12.0
Installing ref 2.0.0
Installing libv8 3.16.14.19 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/libv8-3.16.14.19/ext/libv8
C:/myprograms/Ruby31-x64/bin/ruby.exe -I
C:/myprograms/Ruby31-x64/lib/ruby/site_ruby/3.1.0 -r
./siteconf20220605-22420-2odnzu.rb extconf.rb
creating Makefile
Python was not found; run without arguments to install from the Microsoft Store,
or disable this shortcut from Settings > Manage App Execution Aliases.
The system cannot find the path specified.
Python was not found; run without arguments to install from the Microsoft Store,
or disable this shortcut from Settings > Manage App Execution Aliases.
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/libv8-3.16.14.19/ext/libv8/builder.rb:86:in
`setup_python!': libv8 requires python 2 to be installed in order to build, but
it is currently  (RuntimeError)
from
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/libv8-3.16.14.19/ext/libv8/builder.rb:53:in
`build_libv8!'
from
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/libv8-3.16.14.19/ext/libv8/location.rb:24:in
`install!'
        from extconf.rb:7:in `<main>'

extconf failed, exit code 1

Gem files will remain installed in
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/libv8-3.16.14.19 for
inspection.
Results logged to
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/extensions/x64-mingw-ucrt/3.1.0/libv8-3.16.14.19/gem_make.out

C:/myprograms/Ruby31-x64/lib/ruby/site_ruby/3.1.0/rubygems/ext/builder.rb:95:in
`run'
C:/myprograms/Ruby31-x64/lib/ruby/site_ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:47:in
`block in build'
  C:/myprograms/Ruby31-x64/lib/ruby/3.1.0/tempfile.rb:317:in `open'
C:/myprograms/Ruby31-x64/lib/ruby/site_ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:26:in
`build'
C:/myprograms/Ruby31-x64/lib/ruby/site_ruby/3.1.0/rubygems/ext/builder.rb:164:in
`build_extension'
C:/myprograms/Ruby31-x64/lib/ruby/site_ruby/3.1.0/rubygems/ext/builder.rb:198:in
`block in build_extensions'
C:/myprograms/Ruby31-x64/lib/ruby/site_ruby/3.1.0/rubygems/ext/builder.rb:195:in
`each'
C:/myprograms/Ruby31-x64/lib/ruby/site_ruby/3.1.0/rubygems/ext/builder.rb:195:in
`build_extensions'
C:/myprograms/Ruby31-x64/lib/ruby/site_ruby/3.1.0/rubygems/installer.rb:851:in
`build_extensions'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/rubygems_gem_installer.rb:71:in
`build_extensions'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/rubygems_gem_installer.rb:28:in
`install'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/source/rubygems.rb:204:in
`install'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/installer/gem_installer.rb:54:in
`install'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/installer/gem_installer.rb:16:in
`install_from_spec'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/installer/parallel_installer.rb:186:in
`do_install'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/installer/parallel_installer.rb:177:in
`block in worker_pool'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/worker.rb:62:in
`apply_func'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/worker.rb:57:in
`block in process_queue'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/worker.rb:54:in
`loop'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/worker.rb:54:in
`process_queue'
C:/myprograms/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.15/lib/bundler/worker.rb:91:in
`block (2 levels) in create_threads'

An error occurred while installing libv8 (3.16.14.19), and Bundler cannot
continue.

In Gemfile:
  therubyracer was resolved to 0.12.3, which depends on
    libv8

@rohandebsarkar
Copy link
Collaborator

There could be a possible loophole, just disable (comment out) the min_racer or therubyracer plugin. And install Node.js. Then try to build again.

But make sure when committing to the remote, the plugin should not be disabled.

@jbudlender
Copy link
Author

jbudlender commented Jun 5, 2022

Okay, commenting out mini_racer and installing Node.js seems to allow me to build my local development site, thanks @rohandebsarkar. It will be a while before I commit to remote (building the site from scratch now) so won't be able to test how that works any time soon.

I do get a whole lot of imagemagick errors when I build and serve the site, however. I have no idea whether these are important? Skimming through the site things seem okay but I haven't checked closely...

$ bundle exec jekyll serve
Configuration file: C:/Users/joshb/_files/_website/al-folio/_config.yml
            Source: C:/Users/joshb/_files/_website/al-folio
       Destination: C:/Users/joshb/_files/_website/al-folio/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
"Fetching external posts from medium.com:"
"...fetching https://medium.com/@al-folio/displaying-external-posts-on-your-al-folio-blog-b60a1d241a0a?source=rss-17feae71c3c4------2"
         AutoPages: Disabled/Not configured in site.config.
        Pagination: Complete, processed 1 pagination page(s)
       Imagemagick: Searching files in C:/Users/joshb/_files/_website/al-folio/assets/img/
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/1-480.webp"
       Imagemagick: Command returned pid 9776 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/1-800.webp"
       Imagemagick: Command returned pid 6644 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/1-1400.webp"
       Imagemagick: Command returned pid 18532 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/10-480.webp"
       Imagemagick: Command returned pid 16216 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/10-800.webp"
       Imagemagick: Command returned pid 1236 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/10-1400.webp"
       Imagemagick: Command returned pid 16684 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/11-480.webp"
       Imagemagick: Command returned pid 11800 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/11-800.webp"
       Imagemagick: Command returned pid 22160 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/11-1400.webp"
       Imagemagick: Command returned pid 21760 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/12-480.webp"
       Imagemagick: Command returned pid 15372 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/12-800.webp"
       Imagemagick: Command returned pid 16092 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/12-1400.webp"
       Imagemagick: Command returned pid 10984 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/2-480.webp"
       Imagemagick: Command returned pid 19832 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/2-800.webp"
       Imagemagick: Command returned pid 3488 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/2-1400.webp"
       Imagemagick: Command returned pid 16992 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/3-480.webp"
       Imagemagick: Command returned pid 2860 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/3-800.webp"
       Imagemagick: Command returned pid 4792 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/3-1400.webp"
       Imagemagick: Command returned pid 1424 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/4-480.webp"
       Imagemagick: Command returned pid 12072 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/4-800.webp"
       Imagemagick: Command returned pid 14180 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/4-1400.webp"
       Imagemagick: Command returned pid 12300 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/5-480.webp"
       Imagemagick: Command returned pid 2524 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/5-800.webp"
       Imagemagick: Command returned pid 12984 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/5-1400.webp"
       Imagemagick: Command returned pid 12324 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/6-480.webp"
       Imagemagick: Command returned pid 22716 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/6-800.webp"
       Imagemagick: Command returned pid 19944 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/6-1400.webp"
       Imagemagick: Command returned pid 3716 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/7-480.webp"
       Imagemagick: Command returned pid 20692 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/7-800.webp"
       Imagemagick: Command returned pid 23320 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/7-1400.webp"
       Imagemagick: Command returned pid 9812 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/8-480.webp"
       Imagemagick: Command returned pid 2848 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/8-800.webp"
       Imagemagick: Command returned pid 836 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/8-1400.webp"
       Imagemagick: Command returned pid 3672 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/9-480.webp"
       Imagemagick: Command returned pid 10472 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/9-800.webp"
       Imagemagick: Command returned pid 18996 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/9-1400.webp"
       Imagemagick: Command returned pid 19260 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/al-folio-preview-480.webp"
       Imagemagick: Command returned pid 9052 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/al-folio-preview-800.webp"
       Imagemagick: Command returned pid 22140 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/al-folio-preview-1400.webp"
       Imagemagick: Command returned pid 22004 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/code-screenshot-480.webp"
       Imagemagick: Command returned pid 16504 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/code-screenshot-800.webp"
       Imagemagick: Command returned pid 4620 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/code-screenshot-1400.webp"
       Imagemagick: Command returned pid 13624 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/distill-screenshot-480.webp"
       Imagemagick: Command returned pid 23300 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/distill-screenshot-800.webp"
       Imagemagick: Command returned pid 21408 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/distill-screenshot-1400.webp"
       Imagemagick: Command returned pid 4056 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/math-screenshot-480.webp"
       Imagemagick: Command returned pid 3832 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/math-screenshot-800.webp"
       Imagemagick: Command returned pid 18104 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/math-screenshot-1400.webp"
       Imagemagick: Command returned pid 23536 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/photos-screenshot-480.webp"
       Imagemagick: Command returned pid 21048 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/photos-screenshot-800.webp"
       Imagemagick: Command returned pid 6356 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/photos-screenshot-1400.webp"
       Imagemagick: Command returned pid 4952 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/prof_pic-480.webp"
       Imagemagick: Command returned pid 2876 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/prof_pic-800.webp"
       Imagemagick: Command returned pid 17048 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/prof_pic-1400.webp"
       Imagemagick: Command returned pid 1880 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/projects-screenshot-480.webp"
       Imagemagick: Command returned pid 22548 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/projects-screenshot-800.webp"
       Imagemagick: Command returned pid 9272 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/projects-screenshot-1400.webp"
       Imagemagick: Command returned pid 5544 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/publications-screenshot-480.webp"
       Imagemagick: Command returned pid 7804 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/publications-screenshot-800.webp"
       Imagemagick: Command returned pid 16744 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generating image "C:/Users/joshb/_files/_website/al-folio/_site/assets/img/publications-screenshot-1400.webp"
       Imagemagick: Command returned pid 17024 exit 4 with error Invalid Parameter - /Users
       Imagemagick: Generated 60 file(s)
       Jekyll Feed: Generating feed for posts
   Jekyll Diagrams: Command Not Found: mmdc
                    done in 2.697 seconds.
 Auto-regeneration: enabled for 'C:/Users/joshb/_files/_website/al-folio'
    Server address: http://127.0.0.1:4000/al-folio/
  Server running... press ctrl-c to stop.

EDIT (because seems it's a tangential issue): I no longer get these imgemagick errors, probably because I installed ImageMagick for Windows per #564 (reply in thread). Not 100% sure this is why, because errors only stopped after a while and there was no reboot in-between.

@kailih
Copy link

kailih commented Jun 17, 2022

I had the same issue and solved it by doing these (I'm on macOS 12.4):

  1. commenting out mini_racer and installing Node.js
  2. gem uninstall nokogiri, then choose the one with "arm64" suffix
  3. bundle install
  4. brew install imagemagick (thanks jbudlender for this tip)

I also did a bunch of other things but I think these are all that matter. Hope that helps!

@vocdex
Copy link

vocdex commented Jun 18, 2022

@jbudlender
Thanks for suggestion. I have done the same by instaling nodejs and commenting out mini_racer. However, build is still unsuccessful. I am using MacOS Monterey with ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21]

@petrasvestartas
Copy link

petrasvestartas commented Jun 29, 2022

@rohandebsarkar
I have the same problem on windows.

How can comment out the library, in which file or I need to this somehow in bash?
There could be a possible loophole, just disable (comment out) the min_racer or therubyracer plugin.

After deleting the mini_racer from the gem file, I get a lot of errors:

image
image

@rohandebsarkar
Copy link
Collaborator

@petrasvestartas, deleting mini_racer locally would also do. Make sure you have installed Node.js.

In this particular case, I feel you may have not installed ImageMagick.

PR #532 will bring support to compile with docker. After that, it will be recommended to use docker for Windows users, this will significantly drop most of this kind of errors.

@roobnloo
Copy link

@petrasvestartas I could not figure out the mini_racer problem, so I commented it out in my Gemfile for now. I wanted to mention that your other error may be due to the fact that convert.exe is a windows application that is being called instead of magick convert.

To fix it, I went into gems\jekyll-imagemagick-1.4.0\lib\jekyll-imagemagick\convert.rb in my ruby directory and changed the command from convert to magick convert.

@jbudlender
Copy link
Author

Just an update: a collaborator to the mini_racer and libv8-node repos has suggested that libv8-node is not designed to support a full Windows Ruby built on MinGW, though they have a task open for it. See: rubyjs/mini_racer#252 (comment)

@gautamigolani
Copy link

I was facing the same problem with the libv8-node (16.10.0.0) installation error on Windows until yesterday. But, I just followed the steps in this https://www.taniarascia.com/make-a-static-website-with-jekyll/, mentioned in the Readme file under the 'Getting started' section, and was able to solve this issue.

@mitchellostrow
Copy link

I had this problem, but solved it by including this line in the gemfile
gem 'wdm', '>=0.1.0'

This tells Ruby you're on a windows and libv8 loads successfully. However, you need to comment it out for deployment.

@stale
Copy link

stale bot commented Oct 5, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Oct 5, 2022
@zr-wang03
Copy link

I am having the same problem and I haven't yet find a solution to it.

@ahmoosavi
Copy link

I can successfully run the website locally on my computer. However, for deployment, I face the following error. Note that I'm a windows user and a beginner (thanks for your patience)!

$ bin/deploy --user
Deploying...
Source branch: source
Deploy branch: master
Do you want to proceed? [y/N] y
Switched to branch 'source'
Deleted branch master (was b4306f1).
Switched to a new branch 'master'
Configuration file: C:/Users/Amirhossein/Documents/ahmoosavi.github.io/_config.yml
            Source: C:/Users/Amirhossein/Documents/ahmoosavi.github.io
       Destination: C:/Users/Amirhossein/Documents/ahmoosavi.github.io/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
"Fetching external posts from medium.com:"
"...fetching https://medium.com/@al-folio/displaying-external-posts-on-your-al-folio-blog-b60a1d241a0a?source=rss-17feae71c3c4------2"
         AutoPages: Disabled/Not configured in site.config.
        Pagination: Complete, processed 1 pagination page(s)
       Imagemagick: Disabled in site.config
       Jekyll Feed: Generating feed for posts
   Jekyll Diagrams: Command Not Found: mmdc
                    ------------------------------------------------
      Jekyll 4.3.1   Please append `--trace` to the `build` command
                     for any additional information or backtrace.
                    ------------------------------------------------
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/execjs-2.8.1/lib/execjs/external_runtime.rb:39:in `exec': SyntaxError: Expected identifier, string or number (ExecJS::RuntimeError)
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/execjs-2.8.1/lib/execjs/external_runtime.rb:14:in `initialize'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/execjs-2.8.1/lib/execjs/runtime.rb:72:in `new'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/execjs-2.8.1/lib/execjs/runtime.rb:72:in `compile'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/execjs-2.8.1/lib/execjs/module.rb:27:in `compile'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/uglifier-4.2.0/lib/uglifier.rb:184:in `context'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/uglifier-4.2.0/lib/uglifier.rb:221:in `run_uglifyjs'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/uglifier-4.2.0/lib/uglifier.rb:166:in `compile'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/htmlcompressor-0.4.0/lib/htmlcompressor/compressor.rb:546:in `compress_javascript'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/htmlcompressor-0.4.0/lib/htmlcompressor/compressor.rb:502:in `block in process_script_blocks'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/htmlcompressor-0.4.0/lib/htmlcompressor/compressor.rb:501:in `map!'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/htmlcompressor-0.4.0/lib/htmlcompressor/compressor.rb:501:in `process_script_blocks'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/htmlcompressor-0.4.0/lib/htmlcompressor/compressor.rb:490:in `process_preserved_blocks'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/htmlcompressor-0.4.0/lib/htmlcompressor/compressor.rb:216:in `compress'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-minifier-0.1.10/lib/jekyll-minifier.rb:79:in `output_html'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-minifier-0.1.10/lib/jekyll-minifier.rb:32:in `output_compressed'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-minifier-0.1.10/lib/jekyll-minifier.rb:182:in `write'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:231:in `block in write'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:368:in `block (2 levels) in each_site_file'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:365:in `each'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:365:in `block in each_site_file'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:364:in `each'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:364:in `each_site_file'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:230:in `write'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:82:in `process'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:28:in `process_site'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/commands/build.rb:65:in `build'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/commands/build.rb:36:in `process'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in `each'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/commands/build.rb:18:in `block (2 levels) in init_with_program'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/exe/jekyll:15:in `<top (required)>'
        from C:/Ruby31-x64/bin/jekyll:25:in `load'
        from C:/Ruby31-x64/bin/jekyll:25:in `<main>'

@MorbeusDesign
Copy link

I have had the same Issue on Window 10, as many of you suggested I fixed it in the following way:

  • Installing Node.Js
  • Adding gem 'wdm', '~> 0.1.0' on the GemFile => Groups
  • Commented out # gem 'mini_racer'
  • Running jekyll with: $ jekyll serve command

Capture

...and it finally works!I was afraid that the more I tried to solve it, the smarter the problem became!

Capture2

Thank you All for being so Helpful! 🙏

@mxbusch mxbusch mentioned this issue Nov 17, 2022
3 tasks
@pourmand1376
Copy link
Collaborator

pourmand1376 commented Dec 10, 2022

I think we can close this issue as docker solves all dependency problems especially in windows. If you have any installation problem just try install docker and use docker-compose up.

@alshedivat

@p2635
Copy link
Contributor

p2635 commented Dec 10, 2022

My computer doesn't have the capability to use Docker, are we going to close it and ask everyone to get a better computer? It doesn't hurt to keep it open until someone finds a solution, does it?

@pourmand1376
Copy link
Collaborator

My computer doesn't have the capability to use Docker, are we going to close it and ask everyone to get a better computer? It doesn't hurt to keep it open until someone finds a solution, does it?

Hmm, That's just odd to me. It seems to me that docker can be installed on any computer. Docker can even be installed on small low-resource raspberry pie computers. Are you sure about that?

@jbudlender
Copy link
Author

I'm not averse to closing it for this reason but do we have documented cases of Docker solving the issue? I myself won't be able to test it for a little while yet.

@rohandebsarkar
Copy link
Collaborator

As suggested by @MorbeusDesign, try the following steps:

  • Installing Node.Js
  • Adding gem 'wdm', '~> 0.1.0' on the GemFile => Groups
  • Commented out # gem 'mini_racer'
  • Running jekyll with: jekyll serve command

If this fixes the issue, please let me know.

Cell9 added a commit to Cell9/Web-palvelinohjelmointi-Ruby-on-Rails that referenced this issue Dec 30, 2022
Unable to install 'mini_racer' dependencies on Windows based machines.

rubyjs/mini_racer#252

alshedivat/al-folio#691
yazenkk added a commit to yazenkk/yazenkk.github.io that referenced this issue Jan 1, 2023
commenting out miniracer based on advice at alshedivat#691
@Kwongfei
Copy link

Kwongfei commented Jan 6, 2023

@rohandebsarkar ,I have followed the steps @MorbeusDesign said and sucessfully install all gems, but I get another trouble with running 'jekyll serve' command:
$ jekyll serve
Configuration file: G:/github/Kwongfei/_config.yml
Source: G:/github/Kwongfei
Destination: G:/github/Kwongfei/_site
Incremental build: disabled. Enable with --incremental
Generating...
"Fetching external posts from medium.com:"
------------------------------------------------
Jekyll 4.3.1 Please append --trace to the serve command
for any additional information or backtrace.
------------------------------------------------
C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1018:in initialize': Failed to open TCP connection to medium.com:443 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. - connect(2) for "medium.com" port 443) (Errno::ETIMEDOUT) from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1018:in open'
from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1018:in block in connect' from C:/Ruby31-x64/lib/ruby/3.1.0/timeout.rb:107:in block in timeout'
from C:/Ruby31-x64/lib/ruby/3.1.0/timeout.rb:117:in timeout' from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1016:in connect'
from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:995:in do_start' from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:984:in start'
from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1564:in request' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty/request.rb:156:in perform'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty.rb:612:in perform_request' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty.rb:526:in get'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty.rb:645:in get' from G:/github/Kwongfei/_plugins/external-posts.rb:14:in block in generate'
from G:/github/Kwongfei/_plugins/external-posts.rb:12:in each' from G:/github/Kwongfei/_plugins/external-posts.rb:12:in generate'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:193:in block in generate' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:191:in each'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:191:in generate' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:79:in process'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:28:in process_site' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/commands/build.rb:65:in build'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/commands/build.rb:36:in process' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in block in process_with_graceful_fail'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in each' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in process_with_graceful_fail'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/commands/serve.rb:86:in block (2 levels) in init_with_program' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in block in execute'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in each' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in execute'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in go' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in program'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/exe/jekyll:15:in <top (required)>' from C:/Ruby31-x64/bin/jekyll:25:in load'
from C:/Ruby31-x64/bin/jekyll:25:in <main>' C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1018:in initialize': A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. - connect(2) for "medium.com" port 443 (Errno::ETIMEDOUT)
from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1018:in open' from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1018:in block in connect'
from C:/Ruby31-x64/lib/ruby/3.1.0/timeout.rb:107:in block in timeout' from C:/Ruby31-x64/lib/ruby/3.1.0/timeout.rb:117:in timeout'
from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1016:in connect' from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:995:in do_start'
from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:984:in start' from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1564:in request'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty/request.rb:156:in perform' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty.rb:612:in perform_request'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty.rb:526:in get' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty.rb:645:in get'
from G:/github/Kwongfei/_plugins/external-posts.rb:14:in block in generate' from G:/github/Kwongfei/_plugins/external-posts.rb:12:in each'
from G:/github/Kwongfei/_plugins/external-posts.rb:12:in generate' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:193:in block in generate'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:191:in each' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:191:in generate'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:79:in process' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:28:in process_site'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/commands/build.rb:65:in build' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/commands/build.rb:36:in process'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in block in process_with_graceful_fail' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in each'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in process_with_graceful_fail' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/commands/serve.rb:86:in block (2 levels) in init_with_program'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in block in execute' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in each'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in execute' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in go'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in program' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/exe/jekyll:15:in <top (required)>'
from C:/Ruby31-x64/bin/jekyll:25:in load' from C:/Ruby31-x64/bin/jekyll:25:in

'

I was wondering if anyone else has the same problem

@rohandebsarkar rohandebsarkar added windows Windows related issues dependency and removed bug labels Jan 8, 2023
@Xiangyue-Zhang
Copy link

@rohandebsarkar,我已经按照步骤@MorbeusDesign说并成功安装了所有 gems,但是我在运行“jekyll serve”命令时遇到了另一个麻烦: $ jekyll serve 配置文件:G:/github/Kwongfei/_config.yml 源:G:/github/Kwongfei 目标:G:/github /Kwongfei/_site 增量构建:禁用。启用 --incremental Generating... “从 medium.com 获取外部帖子:” -------------------------------- --------------- Jekyll 4.3.1 请附加--traceserve命令 以获取任何其他信息或回溯。 ---------------------------------------------- C: /Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1018:in initialize': Failed to open TCP connection to medium.com:443 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. - connect(2) for "medium.com" port 443) (Errno::ETIMEDOUT) from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1018:in open' 来自 C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1018:in block in connect' from C:/Ruby31-x64/lib/ruby/3.1.0/timeout.rb:107:in block in timeout' 来自 C:/Ruby31-x64/lib/ruby/3.1.0/timeout.rb:117 :in timeout' from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1016:in connect' 来自 C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:995:in do_start' from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:984:in start' 来自 C:/Ruby31-x64/lib/ruby/3.1.0/net/http .rb:1564:in request' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty/request.rb:156:in perform' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty.rb:612:in perform_request' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty.rb:526:in get' from C:/Ruby31 -x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty.rb:645:in get' from G:/github/Kwongfei/_plugins/external-posts.rb:14:in block in generate' from G:/github/Kwongfei/_plugins/external-posts.rb: 12:in each' from G:/github/Kwongfei/_plugins/external-posts.rb:12:in generate' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:193:in block in generate' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:191:in each' 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:191:in generate' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:79:in process' 来自 C:/Ruby31-x64/lib/ruby /gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:28:in process_site' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/commands/build.rb:65:in build' 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll- 4.3.1/lib/jekyll/commands/build.rb:36:in process' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in block in process_with_graceful_fail' 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll /command.rb:91:in each' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in process_with_graceful_fail' 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/commands/serve.rb:86:in block (2 levels) in init_with_program' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in block在 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:221:in each' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in execute中执行 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in go' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in program' 来自 C:/Ruby31-x64/lib/ruby /gems/3.1.0/gems/jekyll-4.3.1/exe/jekyll:15:in <top (required)>' from C:/Ruby31-x64/bin/jekyll:25:in load' from C:/Ruby31-x64/bin/jekyll:25:in <main>' C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1018:in initialize': 连接尝试失败,因为连接方一段时间后没有正确响应,或者建立连接失败,因为连接的主机没有响应。 -来自 C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1018的“medium.com”端口 443 (Errno::ETIMEDOUT) 的 connect(2) :in open' from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1018:in block in connect' from C :/Ruby31-x64/lib/ruby/3.1.0/timeout.rb:107:in block in timeout' from C:/Ruby31-x64/lib/ruby/3.1.0/timeout.rb:117:in timeout' 来自 C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1016:in connect' from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:995:in do_start' 来自 C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:984:in start' from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1564:in request' 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21 .0/lib/httparty/request.rb:156:in perform' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty.rb:612:in perform_request' 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty.rb:526: 从 G:/github/Kwongfei/_plugins/external-posts.rb:14:in each 'get' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty.rb:645:in 从 G:/github/Kwongfei/_plugins/external-posts.rb:12:in block in generate' 从 C: /Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:191:in generate' from C:/Ruby31-x64/lib/ruby/gems/ 3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:79:in process_site'block in generate' from G:/github/Kwongfei/_plugins/external-posts.rb:12:in ``generate' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:193:in ``each' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:191:in ``process' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:28:in 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/commands/build.rb:65:in build' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/commands/build.rb:36:in process' 来自 C:/Ruby31-x64/lib /ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in block in process_with_graceful_fail' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in each' 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/ jekyll-4.3.1/lib/jekyll/command.rb:91:in process_with_graceful_fail' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/commands/serve.rb:86:in block (2 levels) in init_with_program' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0 /lib/mercenary/command.rb:221:in block in execute' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in each' 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221: in execute' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in go' 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in program' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/exe/jekyll:15:in <top (required)>' from C:/Ruby31 -x64/bin/jekyll:25:inload' from C:/Ruby31-x64/bin/jekyll:25:in

'
我想知道是否还有其他人有同样的问题

I'm stuck here too.

@Xiangyue-Zhang
Copy link

@rohandebsarkar,我已经按照步骤@MorbeusDesign说并成功安装了所有 gems,但是我在运行“jekyll serve”命令时遇到了另一个麻烦: $ jekyll serve 配置文件:G:/github/Kwongfei/_config.yml 源:G:/github/Kwongfei 目标:G:/github /Kwongfei/_site 增量构建:禁用。启用 --incremental Generating... “从 medium.com 获取外部帖子:” -------------------------------- --------------- Jekyll 4.3.1 请附加--traceserve命令 以获取任何其他信息或回溯。 ---------------------------------------------- C: /Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1018:in initialize': Failed to open TCP connection to medium.com:443 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. - connect(2) for "medium.com" port 443) (Errno::ETIMEDOUT) from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1018:in open' 来自 C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1018:in block in connect' from C:/Ruby31-x64/lib/ruby/3.1.0/timeout.rb:107:in block in timeout' 来自 C:/Ruby31-x64/lib/ruby/3.1.0/timeout.rb:117 :in timeout' from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1016:in connect' 来自 C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:995:in do_start' from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:984:in start' 来自 C:/Ruby31-x64/lib/ruby/3.1.0/net/http .rb:1564:in request' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty/request.rb:156:in perform' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty.rb:612:in perform_request' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty.rb:526:in get' from C:/Ruby31 -x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty.rb:645:in get' from G:/github/Kwongfei/_plugins/external-posts.rb:14:in block in generate' from G:/github/Kwongfei/_plugins/external-posts.rb: 12:in each' from G:/github/Kwongfei/_plugins/external-posts.rb:12:in generate' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:193:in block in generate' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:191:in each' 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:191:in generate' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:79:in process' 来自 C:/Ruby31-x64/lib/ruby /gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:28:in process_site' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/commands/build.rb:65:in build' 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll- 4.3.1/lib/jekyll/commands/build.rb:36:in process' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in block in process_with_graceful_fail' 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll /command.rb:91:in each' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in process_with_graceful_fail' 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/commands/serve.rb:86:in block (2 levels) in init_with_program' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in block在 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:221:in each' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in execute中执行 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in go' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in program' 来自 C:/Ruby31-x64/lib/ruby /gems/3.1.0/gems/jekyll-4.3.1/exe/jekyll:15:in <top (required)>' from C:/Ruby31-x64/bin/jekyll:25:in load' from C:/Ruby31-x64/bin/jekyll:25:in <main>' C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1018:in initialize': 连接尝试失败,因为连接方一段时间后没有正确响应,或者建立连接失败,因为连接的主机没有响应。 -来自 C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1018的“medium.com”端口 443 (Errno::ETIMEDOUT) 的 connect(2) :in open' from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1018:in block in connect' from C :/Ruby31-x64/lib/ruby/3.1.0/timeout.rb:107:in block in timeout' from C:/Ruby31-x64/lib/ruby/3.1.0/timeout.rb:117:in timeout' 来自 C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1016:in connect' from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:995:in do_start' 来自 C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:984:in start' from C:/Ruby31-x64/lib/ruby/3.1.0/net/http.rb:1564:in request' 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21 .0/lib/httparty/request.rb:156:in perform' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty.rb:612:in perform_request' 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty.rb:526: 从 G:/github/Kwongfei/_plugins/external-posts.rb:14:in each 'get' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/httparty-0.21.0/lib/httparty.rb:645:in 从 G:/github/Kwongfei/_plugins/external-posts.rb:12:in block in generate' 从 C: /Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:191:in generate' from C:/Ruby31-x64/lib/ruby/gems/ 3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:79:in process_site'block in generate' from G:/github/Kwongfei/_plugins/external-posts.rb:12:in ``generate' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:193:in ``each' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:191:in ``process' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:28:in 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/commands/build.rb:65:in build' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/commands/build.rb:36:in process' 来自 C:/Ruby31-x64/lib /ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in block in process_with_graceful_fail' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in each' 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/ jekyll-4.3.1/lib/jekyll/command.rb:91:in process_with_graceful_fail' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/lib/jekyll/commands/serve.rb:86:in block (2 levels) in init_with_program' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0 /lib/mercenary/command.rb:221:in block in execute' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in each' 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221: in execute' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in go' 来自 C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in program' from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.1/exe/jekyll:15:in <top (required)>' from C:/Ruby31 -x64/bin/jekyll:25:inload' from C:/Ruby31-x64/bin/jekyll:25:in

'
我想知道是否还有其他人有同样的问题

@p2635 @champfish @petrasvestartas @vocdex @NeoNeuron Do you have any idea how to slove this problem?

@petrasvestartas
Copy link

Nope

@rohandebsarkar
Copy link
Collaborator

@Kwongfei @Xiangyue-Zhang Comment the following lines in _config.yml:

al-folio/_config.yml

Lines 149 to 151 in aca95e5

external_sources:
- name: medium.com
rss_url: https://medium.com/@al-folio/feed

@Xiangyue-Zhang
Copy link

al-folio/_config.yml

Lines 149 to 151 in aca95e5

external_sources:
- name: medium.com
rss_url: https://medium.com/@al-folio/feed

yeah,thanks for the recommendation.But I still stuck here.It didn't change.

@rohandebsarkar
Copy link
Collaborator

@Xiangyue-Zhang Can you provide a link to your repository?

@Xiangyue-Zhang
Copy link

@Xiangyue-Zhang Can you provide a link to your repository?

Sure,thanks.https://github.com/Xiangyue-Zhang/xiangyue-zhang.github.io

@Xiangyue-Zhang
Copy link

@Xiangyue-Zhang Can you provide a link to your repository?
I'm still stuck here.Mind have a look?Thanks a lot.

Configuration file: C:/Users/zxylocal/Desktop/io/xiangyue-zhang.github.io/_config.yml
Source: C:/Users/zxylocal/Desktop/io/xiangyue-zhang.github.io
Destination: C:/Users/zxylocal/Desktop/io/xiangyue-zhang.github.io/_site
Incremental build: disabled. Enable with --incremental
Generating...
AutoPages: Disabled/Not configured in site.config.
Pagination: Complete, processed 1 pagination page(s)
Imagemagick: Disabled in site.config
Jekyll Feed: Generating feed for posts
Liquid Exception: SSL_connect returned=1 errno=0 peeraddr=103.240.182.55:443 state=error: unexpected eof while reading in C:/Users/zxylocal/Desktop/io/xiangyue-zhang.github.io/_posts/2020-09-28-twitter.md
------------------------------------------------
Jekyll 4.3.1 Please append --trace to the serve command
for any additional information or backtrace.
------------------------------------------------
D:/0SoftwareDownload/Ruby/Ruby32-x64/lib/ruby/3.2.0/net/protocol.rb:46:in connect_nonblock': SSL_connect returned=1 errno=0 peeraddr=103.240.182.55:443 state=error: unexpected eof while reading (OpenSSL::SSL::SSLError) from D:/0SoftwareDownload/Ruby/Ruby32-x64/lib/ruby/3.2.0/net/protocol.rb:46:in ssl_socket_connect'
from D:/0SoftwareDownload/Ruby/Ruby32-x64/lib/ruby/3.2.0/net/http.rb:1342:in connect' from D:/0SoftwareDownload/Ruby/Ruby32-x64/lib/ruby/3.2.0/net/http.rb:1248:in do_start'
from D:/0SoftwareDownload/Ruby/Ruby32-x64/lib/ruby/3.2.0/net/http.rb:1237:in start' from D:/0SoftwareDownload/Ruby/Ruby32-x64/lib/ruby/3.2.0/net/http.rb:687:in start'
from D:/0SoftwareDownload/Ruby/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-twitter-plugin-2.1.0/lib/jekyll-twitter-plugin.rb:73:in fetch' from D:/0SoftwareDownload/Ruby/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-twitter-plugin-2.1.0/lib/jekyll-twitter-plugin.rb:209:in live_response'
from D:/0SoftwareDownload/Ruby/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-twitter-plugin-2.1.0/lib/jekyll-twitter-plugin.rb:180:in render' from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/liquid-4.0.4/lib/liquid/block_body.rb:103:in render_node_to_output'
from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/liquid-4.0.4/lib/liquid/block_body.rb:91:in render' from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/liquid-4.0.4/lib/liquid/template.rb:206:in block in render'
from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/liquid-4.0.4/lib/liquid/template.rb:240:in with_profiling' from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/liquid-4.0.4/lib/liquid/template.rb:205:in render'
from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/liquid-4.0.4/lib/liquid/template.rb:218:in render!' from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/liquid_renderer/file.rb:39:in block (3 levels) in render!'
from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/liquid_renderer/file.rb:59:in measure_counts' from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/liquid_renderer/file.rb:38:in block (2 levels) in render!'
from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/liquid_renderer/file.rb:63:in measure_bytes' from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/liquid_renderer/file.rb:37:in block in render!'
from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/liquid_renderer/file.rb:70:in measure_time' from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/liquid_renderer/file.rb:36:in render!'
from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/renderer.rb:129:in render_liquid' from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/renderer.rb:80:in render_document'
from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/renderer.rb:63:in run' from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:578:in render_regenerated'
from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:563:in block (2 levels) in render_docs' from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:562:in each'
from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:562:in block in render_docs' from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:561:in each_value'
from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:561:in render_docs' from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:210:in render'
from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:80:in process' from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:28:in process_site'
from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/commands/build.rb:65:in build' from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/commands/build.rb:36:in process'
from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in block in process_with_graceful_fail' from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in each'
from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in process_with_graceful_fail' from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/lib/jekyll/commands/serve.rb:86:in block (2 levels) in init_with_program'
from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in block in execute' from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in each'
from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in execute' from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in go'
from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in program' from C:/Users/zxylocal/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.1/exe/jekyll:15:in <top (required)>'
from C:/Users/zxylocal/AppData/Local/Microsoft/WindowsApps/jekyll:32:in load' from C:/Users/zxylocal/AppData/Local/Microsoft/WindowsApps/jekyll:32:in

'

@Xiangyue-Zhang
Copy link

@Xiangyue-Zhang Can you provide a link to your repository?

For the record,we can't link to twitter.com when we use terminal in China,even if we use a vpn.

@pourmand1376
Copy link
Collaborator

pourmand1376 commented Jan 15, 2023

@Xiangyue-Zhang Can you provide a link to your repository?

For the record,we can't link to twitter.com when we use terminal in China,even if we use a vpn.

Same problem here in Iran, I just deleted this twitter markdown file.

@jiefengsun
Copy link

Summary:

  • Installing Node.Js
  • Adding gem 'wdm', '~> 0.1.0' on the GemFile => Groups
  • Commented out # gem 'mini_racer'
  • use gem env to check your gem path, and then go to gems\jekyll-imagemagick-1.4.0\lib\jekyll-imagemagick\convert.rb in my ruby directory and change the command from convert to magick convert.

Everything works, but I have not tried to push it to GitHub yet.

@LucianLuk
Copy link

@MorbeusDesign I just followed the steps you provided and it really works!!! Thanks very much!!!!!

@ZhichengKai
Copy link

ZhichengKai commented Aug 27, 2023

This might a dumb question. I have no idea on how to perform the steps

  • Adding gem 'wdm', '~> 0.1.0' on the GemFile => Groups
  • Commented out # gem 'mini_racer'
    in @jiefengsun 's response. Would anyone help? Thank you!

@george-gca
Copy link
Collaborator

What is your actual issue? This should not be a problem by now.

The Gemfile is a file in the root directory.

@ZhichengKai
Copy link

Thanks that answers my question

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency windows Windows related issues
Projects
None yet
Development

No branches or pull requests