Skip to content

Cannot build the site locally anymore #3321

@Copland-yz

Description

@Copland-yz

Describe the bug
I used to build the site successfully on the same computer, same system, same terminal (WSL), but yesterday it suddenly does not work anymore. When I go to localhost:4000 I only see "The site can't be reached".

To Reproduce
Steps to reproduce the behavior:

  1. Run sudo apt install ruby-dev ruby-bundler nodejs
  2. In my case, no error message, then I run bundle config set --local path 'vendor/bundle'
  3. Then run bundle install
  4. Then run bundle exec jekyll serve -l -H localhost

Expected behavior
I should see the website when I go to localhost:4000

Screenshots

Image

Browser (please complete the following information):

  • Device: HP Envy x360 laptop
  • OS: Windows 11 Home
  • Browser: Chrome
  • Version Chrome version? 140.0.7339.127

Additional context

  • I am using WSL, version Ubuntu 24.04.2 LTS (GNU/Linux 6.6.87.2-microsoft-standard-WSL2 x86_64)

Metadata

Metadata

Assignees

No one assigned

    Labels

    notabugThe issue is not a bug as reported or not reproducible.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions