Environment details:
Angular CLI: 1.6.5
Node: 6.11.4
OS: win32 x64
Angular: 5.2.1
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
@angular/cdk: 5.1.0
@angular/cli: 1.6.5
@angular/flex-layout: 2.0.0-beta.12
@angular/material: 5.1.0
@angular-devkit/build-optimizer: 0.0.42
@angular-devkit/core: 0.0.29
@angular-devkit/schematics: 0.0.52
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.5
@schematics/angular: 0.1.17
typescript: 2.5.3
webpack: 3.10.0
Issue:
After installing the "angularfire2":"^5.0.0-rc.6" to my project I get
following error in when I compile the project (ng serve).
chunk {inline} inline.bundle.js (inline) 5.79 kB [entry] [rendered]
chunk {main} main.bundle.js (main) 2.93 kB [initial] [rendered]
chunk {polyfills} polyfills.bundle.js (polyfills) 636 bytes [initial] [
rendered]
chunk {styles} styles.bundle.js (styles) 321 kB [initial] [rendered]
chunk {vendor} vendor.bundle.js (vendor) 853 kB [initial] [rendered]
ERROR in node_modules/angularfire2/firebase.app.module.d.ts(3,38): error
TS2307: Cannot find module '@firebase/app-types'.
node_modules/angularfire2/firebase.app.module.d.ts(4,30): error TS2307:
Cannot find module '@firebase/auth-types'.
node_modules/angularfire2/firebase.app.module.d.ts(5,34): error TS2307:
Cannot find module '@firebase/database-types'.
node_modules/angularfire2/firebase.app.module.d.ts(6,35): error TS2307:
Cannot find module '@firebase/messaging-types'.
node_modules/angularfire2/firebase.app.module.d.ts(7,33): error TS2307:
Cannot find module '@firebase/storage-types'.
node_modules/angularfire2/firebase.app.module.d.ts(8,35): error TS2307:
Cannot find module '@firebase/firestore-types'.
webpack: Failed to compile.
I have followed the official documentation AngularFire2- Installation and
Setup Documentation
<https://github.com/angular/angularfire2/blob/master/docs/install-and-setup.md>
.
I am beginner to Angular and AngularFire2.
Please help me to resolve this issue.
Sorry, for any posting errors.
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.