Reproduce a compilation issue with capacitor