sardell commented on PR #8603: URL: https://github.com/apache/nifi/pull/8603#issuecomment-2039750043
I'm simply building the project from the root with `./mvnw clean install -T2C` (also tried without the parallel build). When I try to install npm dependencies by running `npm run ci` at `nifi/nifi-registry/nifi-registry-core/nifi-registry-web-ui/src/main` like the build does, I receive a dependency mismatch error. ``` nifi-registry-web-ui/src/main on NIFI-11520-with-backend [$] via v16.19.0 ❯ npm run ci > [email protected] ci > npm ci --ignore-scripts npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @angular/[email protected] npm ERR! Found: @angular/[email protected] npm ERR! node_modules/@angular/core npm ERR! @angular/core@"11.2.14" from the root project npm ERR! peer @angular/core@"11.2.14" from @angular/[email protected] npm ERR! node_modules/@angular/animations npm ERR! @angular/animations@"11.2.14" from the root project npm ERR! peer @angular/animations@"^11.0.0 || ^12.0.0-0" from @angular/[email protected] npm ERR! node_modules/@angular/material npm ERR! @angular/material@"11.2.13" from the root project npm ERR! 2 more (@covalent/core, @nifi-fds/core) npm ERR! 2 more (@angular/platform-browser, @nifi-fds/core) npm ERR! 10 more (@angular/cdk, @angular/common, @angular/flex-layout, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @angular/core@"4.4.7" from @angular/[email protected] npm ERR! node_modules/@angular/http npm ERR! peer @angular/http@"^2.0.0||^4.0.0" from [email protected] npm ERR! node_modules/angular2-jwt npm ERR! angular2-jwt@"0.2.3" from the root project npm ERR! npm ERR! Conflicting peer dependency: @angular/[email protected] npm ERR! node_modules/@angular/core npm ERR! peer @angular/core@"4.4.7" from @angular/[email protected] npm ERR! node_modules/@angular/http npm ERR! peer @angular/http@"^2.0.0||^4.0.0" from [email protected] npm ERR! node_modules/angular2-jwt npm ERR! angular2-jwt@"0.2.3" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See /Users/sardell/.npm/eresolve-report.txt for a full report. npm ERR! A complete log of this run can be found in: npm ERR! /Users/sardell/.npm/_logs/2024-04-05T12_58_50_575Z-debug-0.log ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
