Fix Cannot find module '@firebase/app-types/private' - Firebase throws error


#1

There are many developers facing the following issue

ERROR in node_modules/@firebase/database/dist/esm/src/api/Database.d.ts(4,33): error TS2307: Cannot find module ‘@firebase/app-types/private’. node_modules/@firebase/database/dist/esm/src/core/AuthTokenProvider.d.ts(17,39): error TS2307: Cannot find module ‘@firebase/app-types/private’.


#2

Here is the fix


#3

Super! Now all we need is a link to this project or exercise module and we’ll be away. Please furnish same in a reply. Thank you.


#4

Just to be sure we’re on the same page, is this module that the opening post relates to?

https://www.codecademy.com/courses/javascript-intermediate-en-0OF2R/0/1


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.