Reputation: 1403
When trying to run "ng serve" on my windows cmd I am getting the following Error:
WebpackOptionsValidationError: Invalid configuration object. Webpack has been in itialised using a configuration object that does not match the API schema. - configuration has an unknown property 'tslint'. These properties are valid: object { amd?, bail?, cache?, context?, dependencies?, devServer?, devtool?, entry, externals?, loader?, module?, name?, node?, output?, plugins?, profile?, recordsInputPath?, recordsOutputPath?, recordsPath?, resolve?, resolveLoader?, s tats?, target?, watch?, watchOptions? } For typos: please correct them. For loader options: webpack 2 no longer allows custom properties in configura tion. Loaders should be updated to allow passing options via loader options in mo dule.rules. Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:
PS: I am following https://github.com/angular/angularfire2/blob/master/docs/1-install-and-setup.md to install & setup AngularFire2.
Before getting this error I did:
Upvotes: 1
Views: 5254
Reputation: 1403
Try deleting node_ modules folder and npm install again. It worked..!!
Upvotes: 4