My Webstorm auto imports firestore from “firebase/compat”, not from “firebase/firestore”

  Kiến thức lập trình

When I try to import firebase modules, my Webstorm import them from “firebase/compat”. Then I open Context Actions to find “Insert fooBar from “firebase/firestore” but there’s nothing but “Insert import firebase (“firebase/compat”, …)”

my context action

I want Webstorm to import firestore modules from “firebase/firestore”. In the other project I could import firebase from “firebase/firestore” so I suppose the problem is my project configuration.
How can I fix this?

I added firebase to my Webstorm JavaScript Library Settings but nothing has changed.
my JavaScript Library Settings

New contributor

Harineko is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.