Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Releases are not builded #543

Open
whereyourspace opened this issue Dec 21, 2024 · 0 comments
Open

Releases are not builded #543

whereyourspace opened this issue Dec 21, 2024 · 0 comments
Assignees
Labels

Comments

@whereyourspace
Copy link

  • What problem are you trying to solve?
    I'm trying to build a nexus-public project from source
  • Do you have a workaround you are using at present?
    No
  • What feature or behavior is this required for?
    For building Nexus OSS
  • How could we solve this issue? (Not knowing is okay!)
    I don't know
  • Tell us about your Nexus Repository deployment: what version, operating system, and database are you using?
    No
  • Anything else?
[user@localhost nexus-public]$ ./mvnw -version
Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Maven home: /home/user/.m2/wrapper/dists/apache-maven-3.8.1-bin/2l5mhf2pq2clrde7f7qp1rdt5m/apache-maven-3.8.1
Java version: 1.8.0_362, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b08-3.el8.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.18.0-553.6.1.el8.x86_64", arch: "amd64", family: "unix"
[user@localhost nexus-public]$ git branch
  main
* release-3.69.0-02
[user@localhost nexus-public]$ ./mvnw clean install
...
[INFO] --- frontend-maven-plugin:1.11.3:yarn (yarn install) @ nexus-ui-plugin ---
[INFO] Running 'yarn install --immutable' in /home/user/projects/nexus-public/components/nexus-ui-plugin
[INFO] ➤ YN0087: Migrated your project to the latest Yarn version 🚀
[INFO] 
[INFO] ➤ YN0000: · Yarn 4.5.3
[INFO] ➤ YN0000: ┌ Resolution step
[INFO] ➤ YN0085: │ + fsevents@patch:fsevents@npm%3A1.2.13#optional!builtin<compat/fsevents>::version=1.2.13&hash=d11327, and 2 more.
[INFO] ➤ YN0085: │ - fsevents@patch:fsevents@npm%3A1.2.13#~builtin<compat/fsevents>::version=1.2.13&hash=18f3a7, and 2 more.
[INFO] ➤ YN0000: └ Completed in 6s 639ms
[INFO] ➤ YN0000: ┌ Post-resolution validation
[INFO] ➤ YN0060: │ react is listed by your project with version 17.0.2 (p12a07), which doesn't satisfy what @sonatype/nexus-ui-plugin and other dependencies request (but they have non-overlapping ranges!).
[INFO] ➤ YN0060: │ react is listed by your project with version 17.0.2 (p6568c), which doesn't satisfy what @fortawesome/react-fontawesome and other dependencies request (but they have non-overlapping ranges!).
[INFO] ➤ YN0060: │ react is listed by your project with version 17.0.2 (paadb7), which doesn't satisfy what @fortawesome/react-fontawesome and other dependencies request (but they have non-overlapping ranges!).
[INFO] ➤ YN0060: │ react-dom is listed by your project with version 17.0.2 (p2ed00), which doesn't satisfy what @sonatype/nexus-ui-plugin and other dependencies request (but they have non-overlapping ranges!).
[INFO] ➤ YN0060: │ react-dom is listed by your project with version 17.0.2 (p90972), which doesn't satisfy what @sonatype/react-shared-components and other dependencies request (^18.2.0).
[INFO] ➤ YN0060: │ react-dom is listed by your project with version 17.0.2 (pd6f5f), which doesn't satisfy what @sonatype/nexus-ui-plugin and other dependencies request (but they have non-overlapping ranges!).
[INFO] ➤ YN0002: │ @sonatype/nexus-coreui-plugin@workspace:plugins/nexus-coreui-plugin doesn't provide @nivo/tooltip (p89536), requested by @nivo/core.
[INFO] ➤ YN0002: │ @sonatype/nexus-coreui-plugin@workspace:plugins/nexus-coreui-plugin doesn't provide @testing-library/dom (pa3743), requested by @testing-library/user-event.
[INFO] ➤ YN0002: │ @sonatype/nexus-rapture@workspace:components/nexus-rapture doesn't provide ws (p60e24), requested by @xstate/inspect.
[INFO] ➤ YN0002: │ @sonatype/nexus-ui-plugin@workspace:components/nexus-ui-plugin [49157] doesn't provide @testing-library/dom (p986a6), requested by @testing-library/user-event.
[INFO] ➤ YN0002: │ @sonatype/nexus-ui-plugin@workspace:components/nexus-ui-plugin doesn't provide @testing-library/dom (p9fc8a), requested by @testing-library/user-event.
[INFO] ➤ YN0086: │ Some peer dependencies are incorrectly met by your project; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
[INFO] ➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
[INFO] ➤ YN0028: │ The lockfile would have been modified by this install, which is explicitly forbidden.
[INFO] ➤ YN0000: └ Completed
[INFO] ➤ YN0000: · Failed with errors in 6s 756ms
...

I tried to build other releases (3.72 and 3.75) but the results are similar

[user@localhost npm]$ npm init -y
Wrote to /home/user/Templates/npm/package.json:

{
  "name": "npm",
  "version": "1.0.0",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "description": ""
}



[user@localhost npm]$ npm i @fortawesome/[email protected]

added 10 packages, and audited 11 packages in 1s

found 0 vulnerabilities
[user@localhost npm]$ npm i @sonatype/[email protected]
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/react
npm error   peer react@"16.x" from @fortawesome/[email protected]
npm error   node_modules/@fortawesome/react-fontawesome
npm error     @fortawesome/react-fontawesome@"^0.1.4" from the root project
npm error
npm error Could not resolve dependency:
npm error @sonatype/react-shared-components@"13.1.6" from the root project
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/react
npm error   peer react@"^18.2.0" from @sonatype/[email protected]
npm error   node_modules/@sonatype/react-shared-components
npm error     @sonatype/react-shared-components@"13.1.6" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/user/.npm/_logs/2024-12-21T05_07_18_197Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/user/.npm/_logs/2024-12-21T05_07_18_197Z-debug-0.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants