Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ gulp build
Build target: DEBUG
[05:11:32] Using gulpfile ~/Dev/Scratch/spfx-helloworld/gulpfile.js
[05:11:32] Starting gulp
[05:11:32] Starting 'build'...
[05:11:32] Starting subtask 'pre-copy'...
[05:11:32] Finished subtask 'pre-copy' after 4.82 ms
[05:11:32] Starting subtask 'copy-static-assets'...
[05:11:32] Starting subtask 'sass'...
[05:11:32] Finished subtask 'sass' after 558 ms
[05:11:32] Starting subtask 'tslint'...
[05:11:32] Starting subtask 'typescript'...
[05:11:32] [typescript] TypeScript version: 2.2.1
[05:11:32] Finished subtask 'copy-static-assets' after 586 ms
[05:11:34] Error - typescript - node_modules/@microsoft/sp-http/lib/httpClient/HttpClientResponse.d.ts(16,21): error TS2420: Class 'HttpClientResponse' incorrectly implements interface 'Response'.
[05:11:34] Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(5,14): error TS2300: Duplicate identifier 'Request'.
[05:11:34] Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(20,1): error TS2403: Subsequent variable declarations must have the same type. Variable 'headers' must be of type 'any', but here has type 'string[] | Headers | { [index: string]: string; }'.
[05:11:34] Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(22,1): error TS2403: Subsequent variable declarations must have the same type. Variable 'mode' must be of type 'string', but here has type 'RequestMode'.
[05:11:34] Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(23,1): error TS2403: Subsequent variable declarations must have the same type. Variable 'redirect' must be of type 'string', but here has type 'RequestRedirect'.
[05:11:34] Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(24,1): error TS2403: Subsequent variable declarations must have the same type. Variable 'credentials' must be of type 'string', but here has type 'RequestCredentials'.
[05:11:34] Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(25,1): error TS2403: Subsequent variable declarations must have the same type. Variable 'cache' must be of type 'string', but here has type 'RequestCache'.
[05:11:34] Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(47,14): error TS2300: Duplicate identifier 'Headers'.
[05:11:34] Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(59,1): error TS2687: All declarations of 'bodyUsed' must have identical modifiers.
[05:11:34] Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(68,14): error TS2300: Duplicate identifier 'Response'.
[05:11:34] Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(84,1): error TS2687: All declarations of 'status' must have identical modifiers.
[05:11:34] Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(86,1): error TS2403: Subsequent variable declarations must have the same type. Variable 'headers' must be of type 'any', but here has type 'HeaderInit'.
[05:11:34] Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(90,13): error TS2300: Duplicate identifier 'BodyInit'.
[05:11:34] Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(91,13): error TS2300: Duplicate identifier 'RequestInfo'.
[05:11:34] Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(97,12): error TS2300: Duplicate identifier 'fetch'.
[05:11:34] Error - typescript - node_modules/typescript/lib/lib.d.ts(11167,10): error TS2300: Duplicate identifier 'Headers'.
[05:11:34] Error - typescript - node_modules/typescript/lib/lib.d.ts(11176,12): error TS2300: Duplicate identifier 'Headers'.
[05:11:34] Error - typescript - node_modules/typescript/lib/lib.d.ts(13565,10): error TS2300: Duplicate identifier 'Request'.
[05:11:34] Error - typescript - node_modules/typescript/lib/lib.d.ts(13582,12): error TS2300: Duplicate identifier 'Request'.
[05:11:34] Error - typescript - node_modules/typescript/lib/lib.d.ts(13587,10): error TS2300: Duplicate identifier 'Response'.
[05:11:34] Error - typescript - node_modules/typescript/lib/lib.d.ts(13598,12): error TS2300: Duplicate identifier 'Response'.
[05:11:34] Error - typescript - node_modules/typescript/lib/lib.d.ts(19115,17): error TS2300: Duplicate identifier 'fetch'.
[05:11:34] Error - typescript - node_modules/typescript/lib/lib.d.ts(19120,5): error TS2300: Duplicate identifier 'BodyInit'.
[05:11:34] Error - typescript - node_modules/typescript/lib/lib.d.ts(19151,5): error TS2300: Duplicate identifier 'RequestInfo'.
[05:11:34] Finished subtask 'tslint' after 1.63 s
[05:11:34] Error - 'typescript' sub task errored after 1.62 s
"TypeScript error(s) occurred."
[05:11:34] 'build' errored after 2.21 s
[05:11:34]
[05:11:35] ==================[ Finished ]==================
Error - typescript - node_modules/@microsoft/sp-http/lib/httpClient/HttpClientResponse.d.ts(16,21): error TS2420: Class 'HttpClientResponse' incorrectly implements interface 'Response'.
Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(5,14): error TS2300: Duplicate identifier 'Request'.
Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(20,1): error TS2403: Subsequent variable declarations must have the same type. Variable 'headers' must be of type 'any', but here has type 'string[] | Headers | { [index: string]: string; }'.
Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(22,1): error TS2403: Subsequent variable declarations must have the same type. Variable 'mode' must be of type 'string', but here has type 'RequestMode'.
Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(23,1): error TS2403: Subsequent variable declarations must have the same type. Variable 'redirect' must be of type 'string', but here has type 'RequestRedirect'.
Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(24,1): error TS2403: Subsequent variable declarations must have the same type. Variable 'credentials' must be of type 'string', but here has type 'RequestCredentials'.
Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(25,1): error TS2403: Subsequent variable declarations must have the same type. Variable 'cache' must be of type 'string', but here has type 'RequestCache'.
Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(47,14): error TS2300: Duplicate identifier 'Headers'.
Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(59,1): error TS2687: All declarations of 'bodyUsed' must have identical modifiers.
Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(68,14): error TS2300: Duplicate identifier 'Response'.
Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(84,1): error TS2687: All declarations of 'status' must have identical modifiers.
Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(86,1): error TS2403: Subsequent variable declarations must have the same type. Variable 'headers' must be of type 'any', but here has type 'HeaderInit'.
Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(90,13): error TS2300: Duplicate identifier 'BodyInit'.
Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(91,13): error TS2300: Duplicate identifier 'RequestInfo'.
Error - typescript - node_modules/@types/whatwg-fetch/index.d.ts(97,12): error TS2300: Duplicate identifier 'fetch'.
Error - typescript - node_modules/typescript/lib/lib.d.ts(11167,10): error TS2300: Duplicate identifier 'Headers'.
Error - typescript - node_modules/typescript/lib/lib.d.ts(11176,12): error TS2300: Duplicate identifier 'Headers'.
Error - typescript - node_modules/typescript/lib/lib.d.ts(13565,10): error TS2300: Duplicate identifier 'Request'.
Error - typescript - node_modules/typescript/lib/lib.d.ts(13582,12): error TS2300: Duplicate identifier 'Request'.
Error - typescript - node_modules/typescript/lib/lib.d.ts(13587,10): error TS2300: Duplicate identifier 'Response'.
Error - typescript - node_modules/typescript/lib/lib.d.ts(13598,12): error TS2300: Duplicate identifier 'Response'.
Error - typescript - node_modules/typescript/lib/lib.d.ts(19115,17): error TS2300: Duplicate identifier 'fetch'.
Error - typescript - node_modules/typescript/lib/lib.d.ts(19120,5): error TS2300: Duplicate identifier 'BodyInit'.
Error - typescript - node_modules/typescript/lib/lib.d.ts(19151,5): error TS2300: Duplicate identifier 'RequestInfo'.
Error - 'typescript' sub task errored after 1.62 s
"TypeScript error(s) occurred."
[05:11:35] Project spfx-helloworld version: 0.0.1
[05:11:35] Build tools version: 2.4.3
[05:11:35] Node version: v7.7.3
[05:11:35] Total duration: 4.39 s
[05:11:35] Task errors: 25
05:11:42  ✘  ~/Dev/Scratch/spfx-helloworld  ⬡ v7.7.3  5s 
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment