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

Can't use latest version of sharp due to peerOptional dependency conflict #253

Closed
AlexanderTheGrey opened this issue Jul 8, 2022 · 1 comment
Labels

Comments

@AlexanderTheGrey
Copy link

When I try to install the latest version of sharp (0.30.7), I get a "code ERESOLVE". Is there any way to install the latest version of sharp while also using this package?

@KaelWD KaelWD added the bug label Jul 8, 2022
@AlexanderTheGrey
Copy link
Author

A temporary solution is to use npm aliases:

package.json

"devDependencies": {
  "@types/sharp-alias": "npm:@types/sharp@^0.30.4",
  "sharp-alias": "npm:sharp@^0.30.7"
}

@KaelWD KaelWD closed this as completed in fd2bd7f Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants