Skip to content

Peer deps on next/react 19 #1151

@thenick775

Description

@thenick775

Hey hey man, just wanting to see if on the next branch we can bump @gilbarbara/[email protected] upwards to avoid peer dep warnings with react 19?

Reproduction:

  • in a project that uses react-joyride@next
  • rm -rf ./node_modules
  • npm i

Produces:

npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @gilbarbara/[email protected]
npm warn Found: [email protected]
npm warn node_modules/react
npm warn   react@"^19.0.0" from the root project
npm warn   33 more (@emotion/react, @emotion/styled, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer react@"16.8 - 18" from @gilbarbara/[email protected]
npm warn node_modules/react-joyride/node_modules/@gilbarbara/hooks
npm warn   @gilbarbara/hooks@"^0.8.2" from [email protected]
npm warn   node_modules/react-joyride
npm warn
npm warn Conflicting peer dependency: [email protected]
npm warn node_modules/react
npm warn   peer react@"16.8 - 18" from @gilbarbara/[email protected]
npm warn   node_modules/react-joyride/node_modules/@gilbarbara/hooks
npm warn     @gilbarbara/hooks@"^0.8.2" from [email protected]
npm warn     node_modules/react-joyride

Version used:

"react-joyride": "^3.0.0-7",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions