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

Creates duplicates in lockfiles #27544

Open
lishaduck opened this issue Jan 3, 2025 · 2 comments
Open

Creates duplicates in lockfiles #27544

lishaduck opened this issue Jan 3, 2025 · 2 comments
Labels
bug Something isn't working correctly node compat

Comments

@lishaduck
Copy link

lishaduck commented Jan 3, 2025

Version: Deno 2.x.x (all)

Something's up with peer deps. My lockfile has 4 versions of @vitest/ui, and 3 versions of vitest.

https://github.com/lishaduck/effect-utils/blob/44843de95a2f80cb6277f9760869c05d1ca97fa0/deno.lock

This happens whenever Deno edits the lockfile (upgrade, outdated install), but it works when I manually edit it away. Sometimes, these duplicates cause type errors.

@dsherret
Copy link
Member

dsherret commented Jan 3, 2025

Can you update the issue with steps to reproduce the problem? (Ex. check out the repo at this commit, delete lockfile, run this command, etc). It will help get the issue fixed.

@dsherret dsherret added the needs info needs further information to be properly triaged label Jan 3, 2025
@lishaduck
Copy link
Author

lishaduck commented Jan 3, 2025

  1. Create a new folder.
  2. Run touch deno.json
  3. Run deno add npm:vitest npm:@vitest/ui

(It continues to get worse as I add in @vitest/web-worker and @effect/vitest)

@dsherret dsherret added bug Something isn't working correctly node compat and removed needs info needs further information to be properly triaged labels Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly node compat
Projects
None yet
Development

No branches or pull requests

2 participants