-
-
Notifications
You must be signed in to change notification settings - Fork 969
Closed
Description
Describe the bug
Running TypeScript 4.8.2:
Many errors generated on build of form
node_modules/@types/cacheable-request/index.d.ts:118:60 - error TS2709: Cannot use namespace 'ResponseLike' as a type.
npm explain latest-version
cacheable-request@7.0.2 dev
node_modules/cacheable-request
cacheable-request@"^7.0.2" from got@12.4.1
node_modules/got
got@"^12.1.0" from package-json@8.1.0
node_modules/package-json
package-json@"^8.1.0" from latest-version@7.0.0
node_modules/latest-version
dev latest-version@"^7.0.0" from the root project
Problem remediated with:
"overrides": {
"latest-version": {
"got": "12.3.1"
}
}
and installing with
npm ci
if installing with yarn, use --frozen-lockfile as noted by proton-ab below.
Checklist
- I have read the documentation.
- I have tried my code with the latest version of Node.js and Got.
72636c, neilkuan, PerfectionVR, rfehling-mittwald, Rehan-05 and 4 more
Metadata
Metadata
Assignees
Labels
No labels