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

Peer dependency mismatch causes project creation to be broken #259

Open
PRTTMPRPHT opened this issue May 10, 2021 · 0 comments
Open

Peer dependency mismatch causes project creation to be broken #259

PRTTMPRPHT opened this issue May 10, 2021 · 0 comments

Comments

@PRTTMPRPHT
Copy link

  • I'm submitting a ...
    [❌] bug report
    [ ] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

  • Summary

Creating new projects with the CLI currently errors, because there is a dependency mismatch between the typescript version the project provides and the typescript version that typedoc requires. It is probably best to upgrade typedoc to the newest version.

  • Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/typescript
npm ERR!   dev typescript@"^4.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer typescript@"3.9.x || 4.0.x" from [email protected]
npm ERR! node_modules/typedoc
npm ERR!   dev typedoc@"^0.19.0" 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.``` 
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