matrix-org / matrix-appservice-discord

A bridge between Matrix and Discord.
Apache License 2.0
791 stars 148 forks source link

`yarn.lock` seems out of sync for v2.0.0 #824

Closed pacien closed 1 year ago

pacien commented 1 year ago

Installation of release v2.0.0 using the strict version requirements from the lock file fails:

❯ nix log /nix/store/414s3b1p2krfsnn9hhv9yk08xkxw390c-matrix-appservice-discord-modules-2.0.0.drv
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
@nix { "action": "setPhase", "phase": "buildPhase" }
building
yarn config v1.22.19
success Set "yarn-offline-mirror" to "/nix/store/gxmyj7wx1vzaifqjsjby3kdmfqnklni2-offline".
Done in 0.02s.
yarn install v1.22.19
[1/4] Resolving packages...
error Couldn't find any versions for "@types/node" that matches "^14" in our cache (possible versions are ""). This is usually caused by a missing entry in the lockfile, running Yarn without the --offline flag may help fix this issue.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

This is problematic for some distribution packages like on nixpkgs.

It seems to be due to yarn.lock being out of sync with package.json. It could be a good idea to check that through the CI, in particular for tagged releases.