I couldn’t get a fresh install in a blank theme to compile with bootstrap 4 or 5. I replied with more detail on the other thread as seemed more appropriate:
So it looks like the error was to with some image post processing/ parsing that was occurring.
As a workaround I’m simply using an absolute path to the resources folder which has the disadvantage of NOT doing this processing but at least I can continue with my project for now!