-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Description
Note:
- I've confirmed this on different machines (linux + windows), at home and on my VPS.
- This appears to be due to the latest patch with
plugin-rest-endpoint-methods.js, released 3hrs ago. - I've filed an issue there: URGENT: *TypeScript compiler* build is failing with new update octokit/plugin-rest-endpoint-methods.js#172
Filing an issue here as well so that it can be tracked if anyone else experiences the same.
Steps:
git clone https://github.com/microsoft/TypeScript.git
cd TypeScript
npm install
npm run build:compiler
Search Terms: octokit, build failing
Affected Versions: 3.9 - 4.0 fail (3.8.2 succeeded)
Errors
[21:44:13] Finished 'generateLibs' after 571 ms
node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types.d.ts:961:60 - error TS2339: Property 'GET /user/:migration_id/repositories' does not exist on type 'Endpoints'.
961 parameters: RequestParameters & Omit<Endpoints["GET /user/:migration_id/repositories"]["parameters"], "baseUrl" | "headers" | "mediaType">;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types.d.ts:962:33 - error TS2339: Property 'GET /user/:migration_id/repositories' does not exist on type 'Endpoints'.
962 response: Endpoints["GET /user/:migration_id/repositories"]["response"];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@octokit/plugin-paginate-rest/dist-types/generated/paginating-endpoints.d.ts:987:31 - error TS2339: Property 'GET /user/:migration_id/repositories' does not exist on type 'Endpoints'.
987 parameters: Endpoints["GET /user/:migration_id/repositories"]["parameters"];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@octokit/plugin-paginate-rest/dist-types/generated/paginating-endpoints.d.ts:988:29 - error TS2339: Property 'GET /user/:migration_id/repositories' does not exist on type 'Endpoints'.
988 response: Endpoints["GET /user/:migration_id/repositories"]["response"];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 4 errors.
kaaloo, jamesrenaud and jozefizsogr2m
Metadata
Metadata
Assignees
Labels
No labels