Closed 5amfung closed 8 years ago
Try angularfire2, it worked fine for me https://github.com/angular/angularfire2/blob/master/docs/1-install-and-setup.md
@cre8 angularfire2 works fine, but I need to access something from firebase.
This kinda like a firebase issue instead of a CLI issue. Are you sure you're following instructions that work for node/typescript?
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Mac OSX El Capitan
ng --version
. If there's nothing outputted, please run in a Terminal: node --version And paste the result here.v6.2.0
I couldn't get Firebase working even though I follow the installing third party library guide to import Firebase. Here's what I have.
Install Firebase first.
In
system-config.ts
, I have this:In
angular-cli-build.js
, I have this:In my code, I try
When
auth()
is called, I got the following error:When I
console.log(firebase)
,auth
is a function.Mention any other details that might be useful.