-
-
Notifications
You must be signed in to change notification settings - Fork 752
Description
Search terms
npm install error, typescript 4.7
Expected Behavior
TypeDoc works well with TypeScript 4.7.
Actual Behavior
npm install fails when both typedoc-0.22.15 and typescript-4.7.2 are specified.
Steps to reproduce the bug
The following commands show the minimum package.json and the install error message:
$ cat package.json
{
"name": "foo",
"version": "1.0.0",
"dependencies": {
"typedoc": "^0.22.15",
"typescript": "^4.7.2"
}
}
$ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: typedoc-test@1.0.0
npm ERR! Found: typescript@4.7.2
npm ERR! node_modules/typescript
npm ERR! typescript@"^4.7.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer typescript@"4.0.x || 4.1.x || 4.2.x || 4.3.x || 4.4.x || 4.5.x || 4.6.x" from typedoc@0.22.15
npm ERR! node_modules/typedoc
npm ERR! typedoc@"^0.22.15" from the root projectEnvironment
- Typedoc version: 0.22.15
- TypeScript version: 4.7.2
- Node.js version: 16.13.0
- OS: macOS
doberkofler, cedx, regseb, scott-lc, felixapitzsch and 7 more
Metadata
Metadata
Assignees
Labels
No labels