Skip to content

Peer Dependency Conflict and Deprecation Warnings During npm Install #3

@devavikalabs

Description

@devavikalabs

Description:
When running npm install, several peer dependency conflicts and deprecation warnings were encountered. The main issue appears to be related to React version mismatches and outdated dependencies in the package tree.

Steps to Reproduce:

  1. Run npm install in the project directory.
  2. Observe the warnings and errors related to peer dependency conflicts and deprecated packages.

Expected Behavior:

  • Dependencies should resolve correctly without overriding peer dependencies.
  • No critical warnings or deprecation messages should appear.

Actual Behavior:

Error Log:

npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/react
npm WARN   react@"^19.0.0" from the root project
npm WARN   75 more (@floating-ui/react-dom, @radix-ui/react-accordion, ...)

npm WARN Could not resolve dependency:
npm WARN peer react@"^16.5.1 || ^17.0.0 || ^18.0.0" from [email protected]
npm WARN node_modules/@stackframe/stack-ui/node_modules/lucide-react
npm WARN   lucide-react@"^0.378.0" from @stackframe/[email protected]
npm WARN   node_modules/@stackframe/stack-ui
...

Vulnerabilities Reported:

7 vulnerabilities found (2 low, 3 moderate, 1 high, 1 critical)
To address issues that do not require attention, run:
  npm audit fix
To address all issues (including breaking changes), run:
  npm audit fix --force
Run `npm audit` for details.

Environment:

  • Node.js version: v20.18.0
  • npm version: 11.0.0
  • Operating System: windows 11

Screenshots:

Image

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