question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Typescript: Firebase is not a module on v3.7.0

See original GitHub issue

Hi,

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:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ShawnPavelcommented, Oct 11, 2016

I updated the typescript version to the newest (2.0.3) and the problem went away!

0reactions
nicowernlicommented, Oct 13, 2016

I had the same problem, changing the typescript version solved my problem too

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found