[GH-ISSUE #959] Circular dependency #7570

Closed
opened 2026-06-20 17:40:18 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @paulober on GitHub (Jul 4, 2023).
Original GitHub issue: https://github.com/semver/semver/issues/959

When trying to compile a project with rollup and yarn v3 zero installs I get following Circular dependency warning within semver:

(!) Circular dependency
.yarn/cache/semver-npm-7.5.3-275095dbf3-9d58db1652.zip/node_modules/semver/classes/comparator.js -> .yarn/cache/semver-npm-7.5.3-275095dbf3-9d58db1652.zip/node_modules/semver/classes/range.js -> .yarn/cache/semver-npm-7.5.3-275095dbf3-9d58db1652.zip/node_modules/semver/classes/comparator.js
Originally created by @paulober on GitHub (Jul 4, 2023). Original GitHub issue: https://github.com/semver/semver/issues/959 When trying to compile a project with rollup and yarn v3 zero installs I get following Circular dependency warning within semver: ``` (!) Circular dependency .yarn/cache/semver-npm-7.5.3-275095dbf3-9d58db1652.zip/node_modules/semver/classes/comparator.js -> .yarn/cache/semver-npm-7.5.3-275095dbf3-9d58db1652.zip/node_modules/semver/classes/range.js -> .yarn/cache/semver-npm-7.5.3-275095dbf3-9d58db1652.zip/node_modules/semver/classes/comparator.js ```
Author
Owner

@ljharb commented on GitHub (Jul 4, 2023):

I think you meant this for https://github.com/npm/node-semver

<!-- gh-comment-id:1620457823 --> @ljharb commented on GitHub (Jul 4, 2023): I think you meant this for https://github.com/npm/node-semver
Author
Owner

@paulober commented on GitHub (Jul 4, 2023):

@ljharb Yes, sorry.

<!-- gh-comment-id:1620483586 --> @paulober commented on GitHub (Jul 4, 2023): @ljharb Yes, sorry.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/semver#7570