Here are the errors I'm getting when I try to install my project:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @angular-devkit/build-ng-packagr@0.8.0
npm ERR! Found: tsickle@0.32.1
npm ERR! node_modules/tsickle
npm ERR! tsickle@"^0.32.1" from @angular/compiler-cli@6.1.10
npm ERR! node_modules/@angular/compiler-cli
npm ERR! dev @angular/compiler-cli@"^6.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer ng-packagr@"^2.2.0 || ^3.0.0 || ^4.0.0" from @angular-devkit/build-ng-packagr@0.8.0
npm ERR! node_modules/@angular-devkit/build-ng-packagr
npm ERR! @angular-devkit/build-ng-packagr@"^0.8.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: tsickle@0.46.3
npm ERR! node_modules/tsickle
npm ERR! peer tsickle@">=0.34.0" from ng-packagr@4.7.1
npm ERR! node_modules/ng-packagr
npm ERR! peer ng-packagr@"^2.2.0 || ^3.0.0 || ^4.0.0" from @angular-devkit/build-ng-packagr@0.8.0
npm ERR! node_modules/@angular-devkit/build-ng-packagr
npm ERR! @angular-devkit/build-ng-packagr@"^0.8.0" from the root project
Here is my package.json
"dependencies": {
"@angular/animations": "^6.1.0",
"@angular/common": "^6.1.0",
"@angular/compiler": "^6.1.0",
"@angular/core": "^6.1.0",
"@angular/forms": "^6.1.0",
"@angular/http": "^6.1.0",
"@angular/platform-browser": "^6.1.0",
"@angular/platform-browser-dynamic": "^6.1.0",
"@angular/router": "^6.1.0",
"core-js": "^2.5.4",
"rxjs": "~6.2.0",
"sass": "^1.55.0",
"zone.js": "~0.8.26"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.8.0",
"@angular-devkit/build-ng-packagr": "^0.8.0",
"@angular/cli": "~6.2.9",
"@angular/compiler-cli": "^6.1.0",
"@angular/language-service": "^6.1.0",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"codelyzer": "~4.3.0",
"eslint": "^7.32.0",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~3.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.4.0",
"ts-node": "~7.0.0",
"tslint": "~5.11.0",
"typescript": "~2.9.2"
}
I understand at high level that different packages depend on different/conflicting versions, but I'd like to learn/understand exactly how to read that output. (E.g., which line corresponds to the package dependency, vs. its peer package dependencies.)
And, since the installation fails, I can't examine each package's package.json. So, where can I find the specific dependencies listed for a particular package?
Thanks in advance!