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

[dependency maintenance] @effect/match -> effect migration #181

Closed
ari-becker opened this issue Dec 26, 2023 · 1 comment
Closed

[dependency maintenance] @effect/match -> effect migration #181

ari-becker opened this issue Dec 26, 2023 · 1 comment

Comments

@ari-becker
Copy link

ari-becker commented Dec 26, 2023

Description

a) proximate trigger: unmet peer dependency in syncpack 12:

 ERR_PNPM_PEER_DEP_ISSUES  Unmet peer dependencies

.
└─┬ syncpack 12.0.0
  └─┬ @effect/match 0.40.0
    └── ✕ unmet peer effect@2.0.0-next.47: found 2.0.0-next.62

I see that 0.40.0 is indeed the latest version of @effect/match:
image

However, the package links to a repository which has been archived:

image

Apparently there was some kind of migration, Effect now recommends import { Effect } from "effect" and Effect.match:

https://www.effect.website/docs/error-management/matching

Suggested Solution

Follow upstream changes to solve the peer dependency issue?

Workaround

package.json:

{
  "pnpm": {
    "peerDependencyRules": {
      "allowedVersions": {
        "@effect/match@0.40.0>effect": "2.0.0-next.62"
      }
    }
  }
}
JamieMason pushed a commit that referenced this issue Dec 26, 2023
JamieMason pushed a commit that referenced this issue Dec 26, 2023
JamieMason pushed a commit that referenced this issue Dec 26, 2023
JamieMason pushed a commit that referenced this issue Dec 26, 2023
JamieMason pushed a commit that referenced this issue Dec 26, 2023
@JamieMason
Copy link
Owner

I've switched this repo over to using pnpm strict, hopefully this is resolved in 12.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants