Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

Updating AngularFire/Firebase project to new RC - @types issue #53

Closed
jgw96 opened this issue Sep 30, 2016 · 3 comments
Closed

Updating AngularFire/Firebase project to new RC - @types issue #53

jgw96 opened this issue Sep 30, 2016 · 3 comments

Comments

@jgw96
Copy link
Contributor

jgw96 commented Sep 30, 2016

From @sicontis on September 30, 2016 8:33

Since the new RC uses @types now to install typings, I added the types from Firebase and Angularfire to my project using

npm install @types/firebase --save-dev --save-exact

It saves the types to a folder inside node_modules/@types/firebase and updates the package.json file.

Upon running the project with ionic serve, I get a whole bunch of error TS2503: Cannot find namespace 'firebase'. errors, which was fixable in the previous release with a "files": [ "firebase" ] addition to the tsconfig.json file and then running the typings install command.

Just wondering is there a fix for something similar or an extra step after the npm install?
Do the types for AngularFire/Firebase need to be updated to match the new RC?

Any ideas?

Copied from original issue: ionic-team/ionic-framework#8343

@jgw96
Copy link
Contributor Author

jgw96 commented Sep 30, 2016

From @tja4472 on September 30, 2016 9:39

Hi
See https://github.com/tja4472/ionic-angularfire

hth

@jtushar53
Copy link

this one works for me
angular/angularfire#565

and also this
https://playcode.org/getting-started-with-ionic-2-rc0-firebase-3-angularfire-2/

@jgw96
Copy link
Contributor Author

jgw96 commented Oct 3, 2016

Hello all! Since the namespace error is actually an AngularFire issue I am going to be closing this issue for now. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants