(ง •̀_•́)ง Ming's blog

5 bugs in 2019

lowly worm from busy town

1. Windows 10: Copy and paste stop working

Fix: This PC > right click my hard drive > Properties > “Tools” tab > “Check” button.

2. Git Bash: Could not fork child process-There are no available terminals (-1)

git bash crash

Fix: In terminal, kill ssh-agent.exe using taskkill /F /IM ssh-agent.exe.

3. React: something is already running on port 3000

something is already running on port 3000

Fix: In terminal:

4. Visual Studio: markdownlint hard tabs

Yellow lines appear whenever I copy and paste code.

markdownlint hard tabs

And I will get weird spacing on the post.

markdownlint hard tabs result

Fix: Open the command palette by pressing Ctrl+Shift+P, type “markdownlint” and select “Fix supported markdownlint violations in this document”.

markdownlint hard tabs quick fix

The spacing on post will go back to normal.

markdownlint hard tabs fixed result

5. Jekyll Faraday::ClientError

When I try to serve my Jekyll website locally by doing bundle exec jekyll serve, I will receive:

jekyll 3.8.5 | Error:  uninitialized constant Faraday::Error::ClientError
Did you mean?  Faraday::ClientError

Fix: In Gemfile.lock, change faraday (1.0.0) to faraday (0.17.0) and run bundle install.