# Build fails with Cannot read properties of undefined (reading 'substring')