BUG: npm install is broken after beta 5
See original GitHub issueThis repository’s issues are reserved for feature requests and bug reports.
Do you want to request a feature or report a bug?
BUG
Bug Report
Package json:
"dependencies": {
"@angular/animations": "^4.2.0",
"@angular/common": "^4.2.0",
"@angular/compiler": "^4.2.0",
"@angular/core": "^4.2.0",
"@angular/flex-layout": "^2.0.0-beta.8",
"@angular/forms": "^4.2.0",
"@angular/http": "^4.2.0",
"@angular/material": "^2.0.0-beta.6",
"@angular/platform-browser": "^4.2.0",
"@angular/platform-browser-dynamic": "^4.2.0",
"@angular/router": "^4.2.0",
"@covalent/core": "^1.0.0-beta.5",
"@ngrx/core": "^1.2.0",
"@ngrx/effects": "^2.0.3",
"@ngrx/store": "^2.2.2",
"@ngrx/store-devtools": "^3.2.4",
"@swimlane/ngx-datatable": "^9.1.0",
"@swimlane/ngx-ui": "^15.1.0",
"angular2-froala-wysiwyg": "^2.5.1-2",
"angular2-jwt": "^0.2.3",
"core-js": "^2.4.1",
"event-source-polyfill": "0.0.9",
"lodash": "^4.17.4",
"ng2-cookies": "^1.0.12",
"ngrx-store-freeze": "^0.1.9",
"ngx-contextmenu": "^1.1.0",
"pc-speedtest": "^1.0.5",
"rxjs": "^5.1.0",
"zone.js": "^0.8.4"
},
"devDependencies": {
"@angular/cli": "1.2.0-beta.0",
"@angular/language-service": "^4.0.0",
"@angular/compiler-cli": "^4.0.0",
"@types/jasmine": "2.5.38",
"@types/node": "~6.0.60",
"codelyzer": "~3.0.1",
"jasmine-core": "~2.5.2",
"jasmine-spec-reporter": "~3.2.0",
"karma": "~1.4.1",
"karma-chrome-launcher": "~2.0.0",
"karma-cli": "~1.0.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"karma-coverage-istanbul-reporter": "^0.2.0",
"protractor": "~5.1.0",
"ts-node": "~3.0.4",
"tslint": "~5.3.2",
"typescript": "~2.3.3"
}
Other information
(e.g. detailed explanation, stacktraces, related issues, suggestions how to fix)
WARNING in ./~/@covalent/core/common/animations/fade/fade.directive.js
86:67-76 "export 'animation' was not found in '@angular/animations'
WARNING in ./~/@covalent/core/common/animations/fade/fade.directive.js
105:68-77 "export 'animation' was not found in '@angular/animations'
WARNING in ./~/@covalent/core/common/animations/fade/fade.directive.js
170:8-24 "export 'AnimationBuilder' was not found in '@angular/animations'
ERROR in /Users/ricardo_varanda/Projects/ProductCloudUI/node_modules/@covalent/core/common/animations/toggle/toggle.directive.d.ts (2,10): M
odule '"/Users/ricardo_varanda/Projects/ProductCloudUI/node_modules/@angular/animations/animations"' has no exported member 'AnimationBuilde
r'.
ERROR in /Users/ricardo_varanda/Projects/ProductCloudUI/node_modules/@covalent/core/common/animations/fade/fade.directive.d.ts (2,10): Modul
e '"/Users/ricardo_varanda/Projects/ProductCloudUI/node_modules/@angular/animations/animations"' has no exported member 'AnimationBuilder'.
I have deleted node_modules, cleared npm cache and then reinstalled everything with the package.json supplied above.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Error updating to Beta 5 · Issue #7000 · angular ... - GitHub
Upon running npm update angular to upgrade to Beta 5 from Beta 3 the post-install fails, which causes npm to cancel the entire...
Read more >Unable to resolve dependency tree error when installing npm ...
You have dependency conflict (incorrect and potentially broken dependency) as it says, so try to run the command with --force , or --legacy-peer ......
Read more >Common errors | npm Docs
Broken npm installation If your npm is broken: On Mac or Linux, reinstall npm. Windows: If you're on Windows and you have a...
Read more >Unable to resolve dependency tree error in Angular while ...
To fix Unable to resolve dependency tree error in Angular while installing `npm` packages follow the below steps. 1. Run `npm install --save ......
Read more >Migrating to Express 5
To install the latest beta and to preview Express 5, enter the following command in your application root directory: $ npm install "express@>=5.0.0-beta.1" ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Its not a bug, you need to upgrade to
angular@4.2.0if you want to use@covalent@beta.5since we are leveraging their new programatic animations API.@JustinDumasCarr The latest version of Covalent is
1.0.0-beta.8-1as is shown in npm. It requires angular version^4.4.3and angular material/cdk version2.0.0-beta.12.