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

Duplicated peer and prod dependency. #32

Closed
Lighttree opened this issue Oct 27, 2021 · 2 comments
Closed

Duplicated peer and prod dependency. #32

Lighttree opened this issue Oct 27, 2021 · 2 comments

Comments

@Lighttree
Copy link

I think this bug is valid for the package:

yarnpkg/yarn#6285

It seems like eslint shouldn't be presented in both dependencies and peerDependencies.
https://github.com/mradionov/eslint-plugin-disable/blob/master/package.json#L25

Because this leads to error An unexpected error occurred: "could not find a copy of eslint to link during dependencies installation.

At least in the mono repo with "hoisted" dependencies.

@mradionov
Copy link
Owner

Thank you, I'll take a look.

@mradionov
Copy link
Owner

I removed eslint from dependencies and moved it to devDependencies, even though it seems like it was an issue with yarn. The fix is available in version 2.0.3.

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