Skip to content

vite-plugin-pwa incompatible with Vite 7 – ERESOLVE error #867

@JoelGarayC

Description

@JoelGarayC

vite-plugin-pwa cannot be installed alongside [email protected] due to a dependency conflict.
When attempting to install vite-plugin-pwa in a project using Vite 7, I encounter the following npm error:

npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/vite
npm ERR! dev vite@"^7.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vite@"^3.1.0 || ^4.0.0 || ^5.0.0 || ^6.0.0" from [email protected]
npm ERR! node_modules/vite-plugin-pwa
npm ERR! vite-plugin-pwa@"^1.0.0" from the root project

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions