Skip to content
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 name 'firebase' #117

Closed
yokeshvaradhan opened this issue Jul 6, 2016 · 2 comments
Closed

Cannot find name 'firebase' #117

yokeshvaradhan opened this issue Jul 6, 2016 · 2 comments

Comments

@yokeshvaradhan
Copy link

I followed your blog for e2e it worked fine. I integrated firebase with my ionic 2 it worked well when i try to i test my my app and i installed all the dependency in your blog i get this err

TypeScript error: /Users/yokesh/3ssdmobile/app/pages/order/view.ts(89,39): Error TS2304: Cannot find name 'firebase'.
TypeScript error: app/app.ts(33,9): Error TS2304: Cannot find name 'firebase'.
TypeScript error: typings/globals/firebase/index.d.ts(323,2): Error TS2300: Duplicate identifier 'export='.
TypeScript error: typings/modules/firebase/index.d.ts(509,1): Error TS2300: Duplicate identifier 'export='.

but i have firebase@3.0.5 es6-promise

system information:

Cordova CLI: 6.1.1
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.10
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
ios-deploy version: Not installed
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v4.4.3
Xcode version: Xcode 7.3.1 Build version 7D1014

any idea to fix this issue
i even followed this link https://forum.ionicframework.com/t/cannot-find-name-firebase/46839/5

@lathonez
Copy link
Owner

lathonez commented Jul 6, 2016

You need to install typings for firebase.

typings install dt~firebase --global --save

Refernence: angular/angularfire#182

@lathonez lathonez closed this as completed Jul 6, 2016
@lathonez
Copy link
Owner

#191

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

No branches or pull requests

2 participants