Posts Jekyll errors fix
Post
Cancel

Jekyll errors fix

--trace error

When trying to run bundle exec jekyll s, the following error might arise

1
2
3
4
5
6
7
$ bundle exec jekyll s
...
                    ------------------------------------------------
      Jekyll 4.2.0   Please append `--trace` to the `serve` command
                     for any additional information or backtrace.
                    ------------------------------------------------
...

This solution might work:

1
$ gem "webrick", "~> 1.7"

Close correctly with Ctrl-C

The error might arise also when not closing the previous job correctly, so it is busy to open a new job. Here is a solution that worked for me:

1
2
$ lsof -wni tcp:4000
$ kill -9 <thePID>
This post is licensed under CC BY 4.0 by the author.
Recent Update
Contents