Skip to content

ubuntu build dependency mismatch #890

@ashunigion

Description

@ashunigion

OS and Environment

  • Operating System: Ubuntu 24.04.1 LTS
  • Node Version: 18.19.1
  • NPM Version: 9.2.0

Steps to Reproduce

  1. Navigate to the project’s frontend directory:
    cd frontend
    
  2. Install dependencies
    npm install
    
  3. error log
    Log files:
    /home/companion/.npm/_logs/2024-10-28T04_54_13_391Z-debug-0.log
    
    While resolving: [email protected]
    Found: [email protected]
    node_modules/react
    react@"18.3.1" from the root project
    
    Could not resolve dependency:
    peer react@"^16.8 || 17" from @blueprintjs/[email protected]
    node_modules/@blueprintjs/datetime
    @blueprintjs/datetime@"5.3.9" from the root project
    
    Fix the upstream dependency conflict, or retry
    this command with --force or --legacy-peer-deps
    to accept an incorrect (and potentially broken) dependency resolution.
    
    
    

Kindly guide me out of the error.

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