In case anyone isnt helped by the main answer here, my issue and fix were different. I needed to change which firebase environment I was emulating - we have a dev and prod environment which changes the project id in the url structure, causing an error falsely labeled as a cors failure. so for me, firebase:use dev