Skip to content

Deps can not be installed with latest npm version 8.11.0 #79

Closed
@prince-chrismc

Description

@prince-chrismc

//cc @efrisch

It works for me installing the current nodejs with npm version 8.5.5 included... it breaks with newer versions

 ✘ christopherm@christopherm-mac  ~/pyrsia-website   main  sudo npm install -g npm@latest

removed 6 packages, changed 74 packages, and audited 202 packages in 3s

11 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
 christopherm@christopherm-mac  ~/pyrsia-website   main  npm i                        
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: mdx-mermaid@1.2.3
npm ERR! Found: mermaid@8.14.0
npm ERR! node_modules/mermaid
npm ERR!   mermaid@"^8.14.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer mermaid@">= 8.11.0 < 8.12.0" from mdx-mermaid@1.2.3
npm ERR! node_modules/mdx-mermaid
npm ERR!   mdx-mermaid@"^1.2.3" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: mermaid@8.11.5
npm ERR! node_modules/mermaid
npm ERR!   peer mermaid@">= 8.11.0 < 8.12.0" from mdx-mermaid@1.2.3
npm ERR!   node_modules/mdx-mermaid
npm ERR!     mdx-mermaid@"^1.2.3" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /Users/christopherm/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/christopherm/.npm/_logs/2022-06-01T18_06_42_035Z-debug-0.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageThis is a new issue that needs to be reviewed at our Sprint PlanningwebsiteAn issue related to content posted on the website

    Type

    No type

    Projects

    • Status

      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions