Typescript: Firebase is not a module on v3.7.0
See original GitHub issueHi,
Now I have the following error:
error TS2306: File '.../node_modules/nativescript-plugin-firebase/firebase.d.ts' is not a module
The reason is a bad module name in firebase (nativescript-firebase
in place of nativescript-plugin-firebase
)
😃
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Firebase JavaScript SDK Release Notes - Google
Added types fields to exports object in package.json files for all published packages to make them compatible with TypeScript 4.7 support of Node.js...
Read more >Cannot find module 'firebase/app' - Stack Overflow
I'm trying to start a TypeScript project using Firebase, but I am not able to get TypeScript to like import firebase from 'firebase/app';...
Read more >cannot find module 'firebase' or its corresponding type ...
Open side panel. Cannot find module 'firebase' or its corresponding type declarations. React + TypeScript + Firebase. Asked Aug 29, 2021 • 0...
Read more >react-firebase-hooks - npm
Start using react-firebase-hooks in your project by running `npm i ... TypeScript icon, indicating that this package has built-in type ...
Read more >How to fix error TS7016: Could not find a declaration file for ...
If you're using TypeScript you might have run into this error before. ... it exists or add a new declaration (.d.ts) file containing...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I updated the typescript version to the newest (2.0.3) and the problem went away!
I had the same problem, changing the typescript version solved my problem too