Skip to content

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

Closed
@AlexanderTheGrey

Description

@AlexanderTheGrey

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?

Activity

AlexanderTheGrey

AlexanderTheGrey commented on Jul 11, 2022

@AlexanderTheGrey
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"
}
added a commit that references this issue on Oct 9, 2024
fd2bd7f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @KaelWD@AlexanderTheGrey

        Issue actions

          Can't use latest version of sharp due to peerOptional dependency conflict · Issue #253 · vuetifyjs/vuetify-loader