Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ubuntu build dependency mismatch #890

Open
ashunigion opened this issue Oct 28, 2024 · 1 comment
Open

ubuntu build dependency mismatch #890

ashunigion opened this issue Oct 28, 2024 · 1 comment

Comments

@ashunigion
Copy link

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.

@ashunigion
Copy link
Author

Work around

npm install --force
npm audit fix --force

wondering if it will break something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant