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

Can not resolve peer dependencies: typedoc@">=0.7.0 <0.20.0" #645

Open
chowdhury18 opened this issue Apr 7, 2021 · 2 comments
Open

Can not resolve peer dependencies: typedoc@">=0.7.0 <0.20.0" #645

chowdhury18 opened this issue Apr 7, 2021 · 2 comments

Comments

@chowdhury18
Copy link

Current version of Typedoc is 0.20.35. In package.json, the peer dependencies for typedoc has a version limit which can not solve dependency issue while installing.

@davedoesdev
Copy link

This plugin will need updating for Typedoc 0.21:

>> Warning: /home/david/webauthn4js/node_modules/typedoc-plugin-external-module-name uses a deprecated structure. Plugins should export a "load" function to be called with the Application
>>     at Application.bootstrap (/home/david/webauthn4js/node_modules/typedoc/dist/lib/application.js:156:17)

davedoesdev added a commit to davedoesdev/webauthn4js that referenced this issue Jun 23, 2021
Note: Due to christopherthielen/typedoc-plugin-external-module-name#645
the dev install needs to use:
npm install --legacy-peer-deps
@cionz0
Copy link

cionz0 commented Jul 6, 2021

same here:

$ npm install -D typedoc-plugin-external-module-name
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: functions@undefined
npm ERR! Found: typedoc@0.21.2
npm ERR! node_modules/typedoc
npm ERR!   dev typedoc@"^0.21.2" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer typedoc@">=0.7.0 <0.20.0" from typedoc-plugin-external-module-name@4.0.6
npm ERR! node_modules/typedoc-plugin-external-module-name
npm ERR!   dev typedoc-plugin-external-module-name@"*" 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/cionzo/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/cionzo/.npm/_logs/2021-07-06T17_26_51_068Z-debug.log

If it can help, here is typedoc version:

$npx typedoc --version

TypeDoc 0.21.2
Using TypeScript 4.3.4 from /Users/cionzo/WebstormProjects/filodevice/functions/node_modules/typescript/lib

and here the complete log:

eresolve-report.txt

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

3 participants