DiFuks / typedoc-theme-hierarchy

Hierarchy theme for typedoc
MIT License
18 stars 5 forks source link

Installation error with newest `typedoc` `0.25.0` #26

Closed sylee957 closed 1 year ago

sylee957 commented 1 year ago

I have the following dependencies installed

    "typedoc": "^0.25.0"
    "typescript": "^5.2.2"

And the theme cannot be installed with the newest dependencies with the error

$ npm install typedoc-theme-hierarchy
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: my-app@1.0.0
npm ERR! Found: typedoc@0.25.0
npm ERR! node_modules/typedoc
npm ERR!   typedoc@"^0.25.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer typedoc@"^0.24.0" from typedoc-theme-hierarchy@4.1.0
npm ERR! node_modules/typedoc-theme-hierarchy
npm ERR!   typedoc-theme-hierarchy@"*" 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.
DiFuks commented 1 year ago

Fixed 4.1.1