cannot find namespace ‘firebase’

I was having this issue after trying to follow the instructions at

cannot find namespace 'firebase'

After reading I added


"types": [ "jasmine", "firebase" ] [/code]

to src/tsconfig.json and fired up ng serve and the issue was gone.


When I moved to a Windows environment I discovered the same issue, but the above did not work. Working through the various reports I discovered that the following in src\app\app.module.ts resolved the issue before

import { AngularFireModule } from 'angularfire2';


import { AngularFireModule } from 'angularfire2';
import * as firebase from 'firebase'

This works for angular-cli version

angular-cli: 1.0.0-beta.15
node: 6.6.0
os: win32 x64

It would appear that a future update would resolve this issue fix(imports).

Loading Google+ Comments ...