What is a stable version of animations for Angular 4? -


i error on npm install

npm warn @angular/animations@4.3.2 requires peer of @angular/core@4.3.2 none installed.

and on npm start

node_modules/@angular/platform-browser/animations/src/providers.d.ts(8,119): error ts2305: module '"e:/angular/quickstart-master1/quickstart-master/node_modules/@angular/animations/browser"' has no exported member 'ɵdomanimationengine'.

this ng -v

unable find "@angular/cli" in devdependencies.  please take following steps avoid issues: "npm install --save-dev @angular/cli@latest"      _                      _                 ____ _     ___    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | | /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|                |___/ @angular/cli: 1.2.1 node: 6.11.1 os: win32 x64 @angular/animations: 4.3.2 @angular/common: 4.0.3 @angular/compiler: 4.0.3 @angular/core: 4.0.3 @angular/forms: 4.0.3 @angular/http: 4.0.3 @angular/platform-browser: 4.0.3 @angular/platform-browser-dynamic: 4.0.3 @angular/router: 4.0.3 

all packages below @angular should have exact same version.

in case, either use @angular/animations@4.0.3 or, preferred, update rest of @angular package @latest.


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -