Service firestore is not available at getImmediate

Hi v0 team,
I suddenly got this error one day. I didn’t change any code, and everything had been working fine until this error popped up. However, this issue doesn’t occur in production. This is not convenient, though. Because every time after I change anything, I have to publish it to the production to see the result. I cannot use the preview on the dev anymore.

Can you please check and help? Thanks.

Service firestore is not available at getImmediate (@firebase/component) at ng (@firebase/firestore) at module code (/lib/firebase)