-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot find namespace firebase #529
Comments
add the following entry in src/tsconfig.json to get rid of " Cannot find namespace 'firebase" error "types": [ Look at the troubleshooting section of tutorial installation, for more information around other errors, you may encounter. |
It still does not solve the problem for me in Angular 2 (RC7). |
Why not move away from RC7 to a more stable version of angular2. It seems more stable. Rather follow the install tutorial again from start or update your package.json to something like this dependencies": { Hopefully this should get you going. |
Same problem with this setup: |
@tonymk Just curious. Did you update the package.json file and ran npm install or did you do a full install from scratch. May be worth trying a later. I've to admit, I had my own issues on Windows 7 and Windows 12 server, but everything worked smoothly on Ubuntu 14.04. I am using EC2 instances. Hopefully @davideast should be able to help here. |
Used angular-cli to make a new project, then a npm install -g firebase angularfire2. |
I am seeing a trend where adding types is not solving the issue on Windows 10. |
@dmastag I had my own issues on Windows 10. Moved to Ubuntu 14.04 LTS. |
Hi guys, I also noticed the following warning: Any idea what might be wrong? |
@Soolan Let's keep this discussion on topic. Submit your separate errors as a new issue. Thanks! |
Thanks to everyone for noting these errors. If you're experiencing this error after adding
If any of those things are not on the latest supported version according to our install guide, stop and upgrade before commenting here. |
I solved my issue by adding: See this thread: |
Adding the following on typings.d.ts solved the problem for me as well. |
Another solution is including in import * as firebase from 'firebase'; |
This should be fixed by c3a954c |
please let me know if using the rest api of firebase is better
The text was updated successfully, but these errors were encountered: