Following https://github.com/angular/angularfire2/blob/master/docs/1-install-and-setup.md, and I get to
``
"3. Include Firebase SDK typings"
In your tsconfig.json file include the following line in your "files" array:
``
I've installed this on a new clean machine following the instructions and I don't have a tsconfig.json.
Does this mean I should create this file in the root directory? Let's say so unambiguously if so. If not, where do I find this or how do I generate it?
Are you using the Angular CLI?
Yes
On Tue, 21 Jun 2016, 18:15 David East, [email protected] wrote:
Are you using the Angular CLI?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/angular/angularfire2/issues/263#issuecomment-227508260,
or mute the thread
https://github.com/notifications/unsubscribe/AAj__aTevcE_jh5lCmPyXwD29znEwZ9Cks5qOBwcgaJpZM4I65xq
.
Then I'm not sure what's going on because the CLI should generate the tsconfig.json file for you. But you can write tsc --init and that will generate one for you.
If you see an issue with tsc make sure to install typescript npm install -g typescript.
I'll run it again from scratch and see if anything is different
On Tue, 21 Jun 2016, 19:48 David East, [email protected] wrote:
Then I'm not sure what's going on because the CLI should generate the
tsconfig.json file for you. But you can write tsc --init and that will
generate one for you.If you see an issue with tsc make sure to install typescript npm install
-g typescript.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/angular/angularfire2/issues/263#issuecomment-227535070,
or mute the thread
https://github.com/notifications/unsubscribe/AAj__fbcFPVbBG6nJ5owxT929oH5zPNQks5qODILgaJpZM4I65xq
.
I thought it was missing too - turns out angular-cli puts tsconfig.json in the src directory and I was looking in the root.
@mattwilson1024 Good to know! I'll be explicit about this in the quickstart.
@rwillmer Does this help you?
@mattwilson1024 thanks!
@davideast yes it does