You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 25, 2020. It is now read-only.
Getting duplicate identifier errors.... uninstalled the fetch definitions via npm uninstall @types/whatwg-fetch as current webpack has them installed. Of course, then sp-pnp-js gets cranky...
error TS2300: Duplicate identifier 'Headers'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (11177,13): error TS2300: Duplicate identifier 'Headers'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (13544,11): error TS2300: Duplicate identifier 'ReadableStream'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (13550,13): error TS2300: Duplicate identifier 'ReadableStream'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (13566,11): error TS2300: Duplicate identifier 'Request'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (13583,13): error TS2300: Duplicate identifier 'Request'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (13588,11): error TS2300: Duplicate identifier 'Response'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (13599,13): error TS2300: Duplicate identifier 'Response'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (17714,14): error TS2687: All declarations of 'bodyUsed' must have identical modifiers.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\ typescript\lib\lib.d.ts (19116,18): error TS2300: Duplicate identifier 'fetch'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (19121,6): error TS2300: Duplicate identifier 'BodyInit'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (19142,6): error TS2300: Duplicate identifier 'HeadersInit'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (19152,6): error TS2300: Duplicate identifier 'RequestInfo'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@types\whatwg-streams\index .d.ts (32,15): error TS2300: Duplicate identifier 'ReadableStream'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@types\whatwg-fetch\index. d.ts (11,13): error TS2300: Duplicate identifier 'fetch'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@types\whatwg-fetch\index.d.ts (13,14): error TS2300: Duplicate identifier 'HeadersInit'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@types\whatwg-fetch\index.d.t s (14,15): error TS2300: Duplicate identifier 'Headers'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@types\whatwg-fetch\index.d.ts (31,14): error TS2300: Duplicate identifier 'BodyInit'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@types\whatwg-fetch\index.d.ts (33,5): error TS2687: All declarations of 'bodyUsed' must have identical modifiers.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@typ es\whatwg-fetch\index.d.ts (41,14): error TS2300: Duplicate identifier 'RequestInfo'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@types\whatwg-fetch\index.d.t s (42,15): error TS2300: Duplicate identifier 'Request'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@types\whatwg-fetch\index.d.ts (61,11): error TS2300: Duplicate identifier 'Request'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@types\whatwg-fetch\index.d.ts (67,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'referrerPolicy' must be of type 'string', but here has type 'ReferrerPolicy'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@types\whatwg-fetch\index.d.ts (68,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'mode' must be of type 'string', but here has type 'RequestM
The text was updated successfully, but these errors were encountered:
Sorry, not been keeping up on this as much as I would like... I needs to be updated to reflect the latest version of PnP Core JS where there have been breaking changes from v1 to v2.
Getting duplicate identifier errors.... uninstalled the fetch definitions via npm uninstall @types/whatwg-fetch as current webpack has them installed. Of course, then sp-pnp-js gets cranky...
error TS2300: Duplicate identifier 'Headers'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (11177,13): error TS2300: Duplicate identifier 'Headers'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (13544,11): error TS2300: Duplicate identifier 'ReadableStream'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (13550,13): error TS2300: Duplicate identifier 'ReadableStream'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (13566,11): error TS2300: Duplicate identifier 'Request'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (13583,13): error TS2300: Duplicate identifier 'Request'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (13588,11): error TS2300: Duplicate identifier 'Response'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (13599,13): error TS2300: Duplicate identifier 'Response'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (17714,14): error TS2687: All declarations of 'bodyUsed' must have identical modifiers.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\ typescript\lib\lib.d.ts (19116,18): error TS2300: Duplicate identifier 'fetch'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (19121,6): error TS2300: Duplicate identifier 'BodyInit'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (19142,6): error TS2300: Duplicate identifier 'HeadersInit'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\typescript\lib\lib.d.ts (19152,6): error TS2300: Duplicate identifier 'RequestInfo'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@types\whatwg-streams\index .d.ts (32,15): error TS2300: Duplicate identifier 'ReadableStream'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@types\whatwg-fetch\index. d.ts (11,13): error TS2300: Duplicate identifier 'fetch'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@types\whatwg-fetch\index.d.ts (13,14): error TS2300: Duplicate identifier 'HeadersInit'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@types\whatwg-fetch\index.d.t s (14,15): error TS2300: Duplicate identifier 'Headers'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@types\whatwg-fetch\index.d.ts (31,14): error TS2300: Duplicate identifier 'BodyInit'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@types\whatwg-fetch\index.d.ts (33,5): error TS2687: All declarations of 'bodyUsed' must have identical modifiers.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@typ es\whatwg-fetch\index.d.ts (41,14): error TS2300: Duplicate identifier 'RequestInfo'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@types\whatwg-fetch\index.d.t s (42,15): error TS2300: Duplicate identifier 'Request'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@types\whatwg-fetch\index.d.ts (61,11): error TS2300: Duplicate identifier 'Request'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@types\whatwg-fetch\index.d.ts (67,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'referrerPolicy' must be of type 'string', but here has type 'ReferrerPolicy'.C:\Users\clechner\Documents\dev\SPOproj\usermaint\node_modules\@types\whatwg-fetch\index.d.ts (68,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'mode' must be of type 'string', but here has type 'RequestM
The text was updated successfully, but these errors were encountered: