Zebra Codes

Fix VSCode spdlog.node: _ZSt28__throw_bad_array_new_lengthv: symbol not found

11th April, 2023

Upon updating Visual Studio Code, I found that several of my plugins no longer worked. The “Window” page in the “Output” tab showed the error “spdlog.node: _ZSt28__throw_bad_array_new_lengthv: symbol not found”. After some debugging I found out that this is due to a mismatch in the C standard library functions. The solution was to upgrade to Alpine 3.17.

How to use Laravel + Vite from Docker

16th January, 2023

If you are running Laravel inside a Docker container and using Vite for Javascript/CSS bundling, you may find that the files fail to load when you view your website. You instead see one of the following errors:

  • GET http://127.0.0.1:5173/@vite/client net::ERR_CONNECTION_REFUSED
  • GET http://0.0.0.0:5173/@vite/client net::ERR_ADDRESS_INVALID
Read More >