diff --git a/.gitignore b/.gitignore index d2bfafe567..f63a2aeea0 100644 --- a/.gitignore +++ b/.gitignore @@ -85,6 +85,7 @@ tests/baselines/reference/dt .failed-tests TEST-results.xml package-lock.json +tests/cases/user/npm/npm tests/cases/user/TypeScript-React-Starter/TypeScript-React-Starter tests/cases/user/TypeScript-Node-Starter/TypeScript-Node-Starter tests/cases/user/TypeScript-React-Native-Starter/TypeScript-React-Native-Starter diff --git a/tests/baselines/reference/user/npm.log b/tests/baselines/reference/user/npm.log index 290e5e9a26..cdf40e3485 100644 --- a/tests/baselines/reference/user/npm.log +++ b/tests/baselines/reference/user/npm.log @@ -1,1844 +1,144 @@ Exit Code: 2 Standard output: -node_modules/npm/bin/npm-cli.js(6,13): error TS2551: Property 'echo' does not exist on type '{ Echo(s: any): void; StdErr: TextStreamWriter; StdOut: TextStreamWriter; Arguments: { length: number; Item(n: number): string; }; ScriptFullName: string; ... 13 more ...; Sleep(intTime: number): void; }'. Did you mean 'Echo'? -node_modules/npm/bin/npm-cli.js(13,13): error TS2551: Property 'quit' does not exist on type '{ Echo(s: any): void; StdErr: TextStreamWriter; StdOut: TextStreamWriter; Arguments: { length: number; Item(n: number): string; }; ScriptFullName: string; ... 13 more ...; Sleep(intTime: number): void; }'. Did you mean 'Quit'? -node_modules/npm/bin/npm-cli.js(47,7): error TS2339: Property 'argv' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(48,11): error TS2339: Property 'deref' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(48,21): error TS2339: Property 'argv' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(48,35): error TS2339: Property 'command' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(48,49): error TS2339: Property 'argv' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(52,21): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(57,9): error TS2339: Property 'command' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(59,9): error TS2339: Property 'argv' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(62,35): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(67,25): error TS2339: Property 'command' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(68,9): error TS2339: Property 'argv' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(68,26): error TS2339: Property 'command' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(69,9): error TS2339: Property 'command' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(75,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(78,27): error TS2732: Cannot find module '../package.json'. Consider using '--resolveJsonModule' to import module with '.json' extension. -node_modules/npm/bin/npm-cli.js(85,30): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(86,32): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(121,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(121,22): error TS2339: Property 'command' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(121,35): error TS2339: Property 'argv' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(125,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(126,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(127,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(128,13): error TS2339: Property 'command' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(132,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(134,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(136,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(140,32): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[er?: any]'. -node_modules/npm/html/static/toc.js(3,40): error TS2531: Object is possibly 'null'. -node_modules/npm/lib/access.js(58,46): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/access.js(65,18): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/access.js(115,19): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(24,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(25,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(26,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(26,50): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(29,30): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(30,27): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(37,40): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(44,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(45,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(46,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(47,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/audit.js(29,23): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/audit.js(47,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/audit.js(49,9): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/audit.js(60,11): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/audit.js(65,11): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/audit.js(75,27): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/audit.js(81,11): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/audit.js(88,61): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/audit.js(89,10): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/audit.js(90,10): error TS2339: Property 'wrapped' does not exist on type 'Error'. -node_modules/npm/lib/auth/legacy.js(12,30): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/auth/legacy.js(12,81): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? -node_modules/npm/lib/auth/legacy.js(35,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/auth/legacy.js(69,33): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/auth/oauth.js(5,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/auth/oauth.js(6,29): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[creds?: any, registry?: any, scope?: any, cb?: any]'. -node_modules/npm/lib/auth/saml.js(5,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/auth/saml.js(6,29): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[creds?: any, registry?: any, scope?: any, cb?: any]'. -node_modules/npm/lib/auth/sso.js(7,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/auth/sso.js(20,7): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/auth/sso.js(28,36): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/auth/sso.js(44,7): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/auth/sso.js(54,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/bin.js(14,15): error TS2339: Property 'bin' does not exist on type 'EventEmitter'. -node_modules/npm/lib/bin.js(20,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/bin.js(21,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/bugs.js(30,32): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/build.js(38,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/build.js(42,31): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/build.js(85,17): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/build.js(89,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/build.js(90,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/build.js(95,32): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/build.js(101,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/build.js(106,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/cache.js(16,34): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/cache.js(49,30): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/cache.js(69,35): error TS2339: Property 'cache' does not exist on type 'EventEmitter'. -node_modules/npm/lib/cache.js(70,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/cache.js(114,31): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/cache.js(116,22): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. +lib/auth/legacy.js(9,81): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? +lib/auth/sso.js(68,17): error TS2554: Expected 0 arguments, but got 2. +lib/birthday.js(5,20): error TS2538: Type 'Buffer' cannot be used as an index type. +lib/bugs.js(44,17): error TS2554: Expected 0 arguments, but got 2. +lib/cache.js(108,32): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. -node_modules/npm/lib/cache.js(117,34): error TS2532: Object is possibly 'undefined'. -node_modules/npm/lib/ci.js(13,31): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ci.js(14,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ci.js(15,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ci.js(27,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/completion.js(26,24): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. - Type 'undefined' is not assignable to type 'string'. -node_modules/npm/lib/completion.js(30,24): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. - Type 'undefined' is not assignable to type 'string'. -node_modules/npm/lib/completion.js(51,7): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/completion.js(52,7): error TS2339: Property 'errno' does not exist on type 'Error'. -node_modules/npm/lib/completion.js(129,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/completion.js(135,13): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/completion.js(247,23): error TS2339: Property 'fullList' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(74,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(83,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(84,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(85,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(87,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(93,25): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(118,31): error TS2345: Argument of type '(er: any) => any' is not assignable to parameter of type 'Mode | Options'. - Value of type '(er: any) => any' has no properties in common with type 'Options'. Did you mean to call it? -node_modules/npm/lib/config.js(135,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(136,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(137,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(156,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(158,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(159,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(167,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(186,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(187,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(210,27): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(223,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(225,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(238,52): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(241,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(245,45): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(245,75): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(248,47): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(248,79): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(251,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(273,29): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(11,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(12,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(13,20): error TS2339: Property 'globalBin' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(14,20): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(15,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(18,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(20,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(22,11): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(23,11): error TS2339: Property 'globalPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(24,11): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(25,11): error TS2339: Property 'root' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(26,11): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(27,11): error TS2339: Property 'bin' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(28,11): error TS2339: Property 'globalBin' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(30,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/core.js(17,1): error TS2323: Cannot redeclare exported variable 'loaded'. -node_modules/npm/lib/config/core.js(18,1): error TS2323: Cannot redeclare exported variable 'rootConf'. -node_modules/npm/lib/config/core.js(19,1): error TS2323: Cannot redeclare exported variable 'usingBuiltin'. -node_modules/npm/lib/config/core.js(77,7): error TS2323: Cannot redeclare exported variable 'loaded'. -node_modules/npm/lib/config/core.js(87,3): error TS2323: Cannot redeclare exported variable 'usingBuiltin'. -node_modules/npm/lib/config/core.js(88,12): error TS2323: Cannot redeclare exported variable 'rootConf'. -node_modules/npm/lib/config/core.js(95,6): error TS2339: Property 'on' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(98,6): error TS2339: Property 'on' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(105,8): error TS2339: Property 'usingBuiltin' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(128,41): error TS2551: Property 'localPrefix' does not exist on type 'Conf'. Did you mean 'loadPrefix'? -node_modules/npm/lib/config/core.js(130,35): error TS2339: Property 'get' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(131,15): error TS2339: Property 'get' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(135,12): error TS2339: Property 'once' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(143,23): error TS2339: Property 'get' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(144,10): error TS2339: Property 'once' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(145,10): error TS2339: Property 'once' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(154,14): error TS2339: Property 'get' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(155,35): error TS2339: Property 'get' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(160,23): error TS2339: Property 'get' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(165,10): error TS2339: Property 'once' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(176,23): error TS2339: Property 'get' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(190,5): error TS2323: Cannot redeclare exported variable 'loaded'. -node_modules/npm/lib/config/core.js(208,24): error TS2339: Property 'list' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(237,21): error TS2339: Property 'sources' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(245,17): error TS2339: Property 'emit' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(279,8): error TS2339: Property '_saving' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(288,39): error TS2345: Argument of type '(er: any) => any' is not assignable to parameter of type 'Mode | Options'. - Value of type '(er: any) => any' has no properties in common with type 'Options'. Did you mean to call it? -node_modules/npm/lib/config/core.js(307,8): error TS2339: Property 'sources' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(308,8): error TS2339: Property 'push' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(309,8): error TS2339: Property '_await' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(333,10): error TS2339: Property 'emit' does not exist on type 'Conf'. -node_modules/npm/lib/config/core.js(409,29): error TS2769: No overload matches this call. +lib/cache.js(109,24): error TS2532: Object is possibly 'undefined'. +lib/ci.js(20,16): error TS2769: No overload matches this call. The last overload gave the following error. - Argument of type '(orig: string, esc: any, name: any) => string | undefined' is not assignable to parameter of type '(substring: string, ...args: any[]) => string'. - Type 'string | undefined' is not assignable to type 'string'. - Type 'undefined' is not assignable to type 'string'. -node_modules/npm/lib/config/defaults.js(234,24): error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead? -node_modules/npm/lib/config/defaults.js(234,42): error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead? -node_modules/npm/lib/config/defaults.js(235,24): error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead? -node_modules/npm/lib/config/gentle-fs.js(16,11): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/gentle-fs.js(17,11): error TS2339: Property 'globalPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/gentle-fs.js(18,11): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/gentle-fs.js(19,11): error TS2339: Property 'root' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/gentle-fs.js(20,11): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/gentle-fs.js(21,11): error TS2339: Property 'bin' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/gentle-fs.js(22,11): error TS2339: Property 'globalBin' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/gentle-fs.js(26,17): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/gentle-fs.js(27,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/get-credentials-by-uri.js(26,5): error TS2322: Type 'boolean' is not assignable to type 'undefined'. -node_modules/npm/lib/config/get-credentials-by-uri.js(50,5): error TS2322: Type 'string' is not assignable to type 'undefined'. -node_modules/npm/lib/config/get-credentials-by-uri.js(68,5): error TS2322: Type 'string' is not assignable to type 'undefined'. -node_modules/npm/lib/config/lifecycle.js(13,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(14,16): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(16,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(17,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(18,29): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(19,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(21,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(22,23): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(23,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(24,35): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(25,23): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(26,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/nerf-dart.js(16,10): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/npm/lib/config/nerf-dart.js(17,10): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/npm/lib/config/nerf-dart.js(18,10): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/npm/lib/config/nerf-dart.js(19,10): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/npm/lib/config/nerf-dart.js(20,10): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/npm/lib/config/pacote.js(23,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(24,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(25,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(26,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(29,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(30,23): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(32,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(33,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(35,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(36,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(36,60): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(37,23): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(37,58): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(38,23): error TS2339: Property 'projectScope' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(39,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(39,49): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(40,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(41,16): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(42,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(44,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(45,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(46,23): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(47,23): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(49,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(50,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(51,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(53,16): error TS2339: Property 'modes' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(54,16): error TS2339: Property 'modes' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(55,16): error TS2339: Property 'modes' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(62,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(81,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(84,31): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(89,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(90,38): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(110,60): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/set-user.js(22,18): error TS2345: Argument of type '(er: any) => any' is not assignable to parameter of type 'Mode | Options'. - Value of type '(er: any) => any' has no properties in common with type 'Options'. Did you mean to call it? -node_modules/npm/lib/dedupe.js(35,32): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dedupe.js(37,11): error TS2339: Property 'command' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dedupe.js(38,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dedupe.js(39,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dedupe.js(39,46): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dedupe.js(41,30): error TS2339: Property 'run' does not exist on type 'Deduper'. -node_modules/npm/lib/dedupe.js(58,11): error TS2339: Property 'newTracker' does not exist on type 'Deduper'. -node_modules/npm/lib/dedupe.js(58,27): error TS2339: Property 'progress' does not exist on type 'Deduper'. -node_modules/npm/lib/dedupe.js(59,17): error TS2339: Property 'cloneCurrentTreeToIdealTree' does not exist on type 'Deduper'. -node_modules/npm/lib/dedupe.js(60,17): error TS2339: Property 'finishTracker' does not exist on type 'Deduper'. -node_modules/npm/lib/dedupe.js(62,11): error TS2339: Property 'newTracker' does not exist on type 'Deduper'. -node_modules/npm/lib/dedupe.js(62,27): error TS2339: Property 'progress' does not exist on type 'Deduper'. -node_modules/npm/lib/dedupe.js(64,27): error TS2339: Property 'idealTree' does not exist on type 'Deduper'. -node_modules/npm/lib/dedupe.js(64,43): error TS2339: Property 'progress' does not exist on type 'Deduper'. -node_modules/npm/lib/dedupe.js(66,17): error TS2339: Property 'finishTracker' does not exist on type 'Deduper'. -node_modules/npm/lib/dedupe.js(68,36): error TS2339: Property 'idealTree' does not exist on type 'Deduper'. -node_modules/npm/lib/dedupe.js(82,11): error TS2339: Property 'newTracker' does not exist on type 'Deduper'. -node_modules/npm/lib/dedupe.js(83,26): error TS2339: Property 'idealTree' does not exist on type 'Deduper'. -node_modules/npm/lib/dedupe.js(83,42): error TS2339: Property 'differences' does not exist on type 'Deduper'. -node_modules/npm/lib/dedupe.js(84,17): error TS2339: Property 'finishTracker' does not exist on type 'Deduper'. -node_modules/npm/lib/dedupe.js(85,11): error TS2339: Property 'newTracker' does not exist on type 'Deduper'. -node_modules/npm/lib/dedupe.js(90,17): error TS2339: Property 'finishTracker' does not exist on type 'Deduper'. -node_modules/npm/lib/dedupe.js(91,29): error TS2339: Property 'differences' does not exist on type 'Deduper'. -node_modules/npm/lib/dedupe.js(92,29): error TS2339: Property 'differences' does not exist on type 'Deduper'. -node_modules/npm/lib/dedupe.js(92,47): error TS2339: Property 'todo' does not exist on type 'Deduper'. -node_modules/npm/lib/deprecate.js(15,27): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/deprecate.js(24,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/deprecate.js(44,29): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/deprecate.js(52,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dist-tag.js(50,23): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dist-tag.js(70,28): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dist-tag.js(78,11): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dist-tag.js(102,28): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dist-tag.js(109,11): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dist-tag.js(142,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dist-tag.js(149,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/docs.js(40,38): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/doctor.js(23,41): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/doctor.js(24,40): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/doctor.js(42,32): error TS2339: Property 'cache' does not exist on type 'EventEmitter'. -node_modules/npm/lib/doctor.js(45,39): error TS2339: Property 'cache' does not exist on type 'EventEmitter'. -node_modules/npm/lib/doctor.js(55,13): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/doctor.js(88,20): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/doctor.js(90,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/doctor.js(108,92): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/doctor/check-files-permission.js(11,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/doctor/check-files-permission.js(11,38): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/doctor/verify-cached-files.js(10,90): error TS2769: No overload matches this call. + Argument of type '"time"' is not assignable to parameter of type 'Signals'. +lib/ci.js(25,16): error TS2769: No overload matches this call. + The last overload gave the following error. + Argument of type '"timeEnd"' is not assignable to parameter of type 'Signals'. +lib/ci.js(31,9): error TS2339: Property 'code' does not exist on type 'Error'. +lib/cli.js(45,27): error TS2339: Property 'exit' does not exist on type '(er: any) => void'. +lib/completion.js(61,24): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. + Type 'undefined' is not assignable to type 'string'. +lib/completion.js(62,24): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. + Type 'undefined' is not assignable to type 'string'. +lib/completion.js(179,7): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? +lib/completion.js(199,9): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? +lib/config.js(201,14): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? +lib/docs.js(37,17): error TS2554: Expected 0 arguments, but got 2. +lib/doctor.js(246,17): error TS2345: Argument of type 'boolean' is not assignable to parameter of type 'string | any[] | ((root: any, shouldOwn: any, mask?: any) => Promise) | (() => Promise)'. +lib/doctor.js(246,29): error TS2349: This expression is not callable. + Not all constituents of type 'string | any[] | ((root: any, shouldOwn: any, mask?: any) => Promise) | (() => Promise)' are callable. + Type 'string' has no call signatures. +lib/doctor.js(246,35): error TS2488: Type 'string | any[] | ((root: any, shouldOwn: any, mask?: any) => Promise) | (() => Promise)' must have a '[Symbol.iterator]()' method that returns an iterator. +lib/doctor.js(248,17): error TS2345: Argument of type 'boolean' is not assignable to parameter of type 'string | any[] | ((root: any, shouldOwn: any, mask?: any) => Promise) | (() => Promise)'. +lib/doctor.js(260,7): error TS2322: Type 'string | false | any[] | ((root: any, shouldOwn: any, mask?: any) => Promise) | (() => Promise)' is not assignable to type 'boolean'. + Type 'string' is not assignable to type 'boolean'. +lib/doctor.js(266,7): error TS2322: Type 'string | false | any[] | ((root: any, shouldOwn: any, mask?: any) => Promise) | (() => Promise)' is not assignable to type 'boolean'. +lib/fund.js(144,11): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? +lib/fund.js(155,20): error TS2339: Property 'code' does not exist on type 'Error'. +lib/fund.js(174,9): error TS2339: Property 'code' does not exist on type 'Error'. +lib/fund.js(180,9): error TS2339: Property 'code' does not exist on type 'Error'. +lib/help.js(135,7): error TS2322: Type 'boolean' is not assignable to type 'string'. +lib/help.js(150,35): error TS2769: No overload matches this call. + The last overload gave the following error. + Argument of type '{ env: { MANPATH: string; }; stdio: string; }' is not assignable to parameter of type 'SpawnOptions'. + Types of property 'stdio' are incompatible. + Type 'string' is not assignable to type 'StdioOptions | undefined'. +lib/help.js(151,10): error TS2339: Property 'on' does not exist on type 'never'. + The intersection 'ChildProcessWithoutNullStreams & ChildProcessByStdio & ... 7 more ... & ChildProcess' was reduced to 'never' because property 'stdin' has conflicting types in some constituents. +lib/help.js(165,7): error TS2322: Type 'string' is not assignable to type 'number'. +lib/help.js(168,7): error TS2322: Type 'string' is not assignable to type 'number'. +lib/help.js(171,7): error TS2322: Type 'string' is not assignable to type 'number'. +lib/help.js(176,70): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. +lib/init.js(46,55): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? +lib/init.js(77,16): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? +lib/ls.js(288,68): error TS2345: Argument of type '{ node: any; seenNodes: any; }' is not assignable to parameter of type '{ node: any; }'. + Object literal may only specify known properties, and 'seenNodes' does not exist in type '{ node: any; }'. +lib/ls.js(392,5): error TS2345: Argument of type '{ arb: any; args: any; global: any; json: any; }' is not assignable to parameter of type '{ arb: any; args: any; json: any; }'. + Object literal may only specify known properties, and 'global' does not exist in type '{ arb: any; args: any; json: any; }'. +lib/npm.js(72,18): error TS2769: No overload matches this call. + The last overload gave the following error. + Argument of type '"time"' is not assignable to parameter of type 'Signals'. +lib/npm.js(97,18): error TS2769: No overload matches this call. + The last overload gave the following error. + Argument of type '"time"' is not assignable to parameter of type 'Signals'. +lib/npm.js(120,22): error TS2769: No overload matches this call. + The last overload gave the following error. + Argument of type '"timeEnd"' is not assignable to parameter of type 'Signals'. +lib/npm.js(142,18): error TS2769: No overload matches this call. + The last overload gave the following error. + Argument of type '"time"' is not assignable to parameter of type 'Signals'. +lib/npm.js(153,20): error TS2769: No overload matches this call. + The last overload gave the following error. + Argument of type '"timeEnd"' is not assignable to parameter of type 'Signals'. +lib/npm.js(191,40): error TS2554: Expected 0-1 arguments, but got 2. +lib/npm.js(290,44): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. + Type 'undefined' is not assignable to type 'string'. +lib/owner.js(193,25): error TS2339: Property 'name' does not exist on type 'string'. +lib/owner.js(193,35): error TS2339: Property 'error' does not exist on type 'string'. +lib/owner.js(203,3): error TS2322: Type '{ name: any; email: any; }' is not assignable to type 'string'. +lib/owner.js(203,17): error TS2339: Property 'name' does not exist on type 'string'. +lib/owner.js(203,32): error TS2339: Property 'email' does not exist on type 'string'. +lib/profile.js(20,3): error TS2554: Expected 0-3 arguments, but got 4. +lib/repo.js(49,17): error TS2554: Expected 0 arguments, but got 2. +lib/run-script.js(99,22): error TS2769: No overload matches this call. + Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. + Type 'string' is not assignable to type 'never'. + Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. + Type 'string' is not assignable to type 'never'. + Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. + Type 'string' is not assignable to type 'never'. +lib/search/format-package-stream.js(40,19): error TS2339: Property 'emit' does not exist on type 'JSONOutputStream'. +lib/shrinkwrap.js(25,8): error TS2339: Property 'code' does not exist on type 'Error'. +lib/utils/cleanup-log-files.js(15,16): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? +lib/utils/cleanup-log-files.js(19,16): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? +lib/utils/cleanup-log-files.js(27,13): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? +lib/utils/config.js(30,14): error TS2532: Object is possibly 'undefined'. +lib/utils/config.js(31,41): error TS2769: No overload matches this call. + Overload 1 of 2, '(...items: ConcatArray[]): undefined[]', gave the following error. + Argument of type 'string[]' is not assignable to parameter of type 'ConcatArray'. + The types returned by 'slice(...)' are incompatible between these types. + Type 'string[]' is not assignable to type 'undefined[]'. + Type 'string' is not assignable to type 'undefined'. + Overload 2 of 2, '(...items: (ConcatArray | undefined)[]): undefined[]', gave the following error. + Argument of type 'string[]' is not assignable to parameter of type 'ConcatArray'. +lib/utils/config.js(38,3): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. + Type 'undefined' is not assignable to type 'string'. +lib/utils/error-handler.js(34,16): error TS2769: No overload matches this call. + The last overload gave the following error. + Argument of type '"timeEnd"' is not assignable to parameter of type 'Signals'. +lib/utils/error-handler.js(141,11): error TS2339: Property 'code' does not exist on type 'Error'. +lib/utils/error-handler.js(143,8): error TS2339: Property 'code' does not exist on type 'Error'. +lib/utils/error-handler.js(174,18): error TS2339: Property 'code' does not exist on type 'Error'. +lib/utils/error-handler.js(182,18): error TS2339: Property 'errno' does not exist on type 'Error'. +lib/utils/error-handler.js(182,42): error TS2339: Property 'errno' does not exist on type 'Error'. +lib/utils/error-handler.js(182,60): error TS2339: Property 'code' does not exist on type 'Error'. +lib/utils/error-handler.js(182,83): error TS2339: Property 'code' does not exist on type 'Error'. +lib/utils/is-windows-bash.js(3,26): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. + Type 'undefined' is not assignable to type 'string'. +lib/utils/npm-usage.js(66,15): error TS2322: Type 'string' is not assignable to type 'never'. +lib/utils/npm-usage.js(66,18): error TS2322: Type 'any' is not assignable to type 'never'. +lib/utils/npm-usage.js(71,26): error TS2339: Property 'localeCompare' does not exist on type 'never'. +lib/utils/npm-usage.js(72,11): error TS2488: Type 'never' must have a '[Symbol.iterator]()' method that returns an iterator. +lib/utils/npm-usage.js(72,61): error TS2339: Property 'length' does not exist on type 'never'. +lib/utils/npm-usage.js(73,14): error TS2339: Property 'split' does not exist on type 'never'. +lib/utils/path.js(4,18): error TS2532: Object is possibly 'undefined'. +lib/utils/perf.js(11,18): error TS2769: No overload matches this call. + The last overload gave the following error. + Argument of type '"timing"' is not assignable to parameter of type '"removeListener"'. +lib/utils/reify-output.js(76,36): error TS2769: No overload matches this call. Overload 1 of 2, '(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string', gave the following error. - Argument of type '2' is not assignable to parameter of type '((this: any, key: string, value: any) => any) | undefined'. + Argument of type '0' is not assignable to parameter of type '((this: any, key: string, value: any) => any) | undefined'. Overload 2 of 2, '(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string', gave the following error. - Argument of type '2' is not assignable to parameter of type '(string | number)[] | null | undefined'. -node_modules/npm/lib/edit.js(18,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/edit.js(27,28): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/edit.js(32,11): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/explore.js(21,30): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/explore.js(37,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/fetch-package-metadata.js(34,50): error TS2339: Property 'limit' does not exist on type 'EventEmitter'. -node_modules/npm/lib/fetch-package-metadata.js(52,9): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/fetch-package-metadata.js(70,18): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/fetch-package-metadata.js(75,20): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/get.js(8,22): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/get.js(11,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help-search.js(135,16): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help-search.js(175,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help-search.js(190,21): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help-search.js(197,16): error TS2454: Variable 'newOut' is used before being assigned. -node_modules/npm/lib/help-search.js(202,30): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(22,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(31,16): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(34,21): error TS2339: Property 'deref' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(43,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(44,11): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(45,11): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(46,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(48,16): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(77,34): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(118,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(130,43): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(146,7): error TS2322: Type 'string' is not assignable to type 'number'. -node_modules/npm/lib/help.js(149,7): error TS2322: Type 'string' is not assignable to type 'number'. -node_modules/npm/lib/help.js(152,7): error TS2322: Type 'string' is not assignable to type 'number'. -node_modules/npm/lib/help.js(155,7): error TS2322: Type 'string' is not assignable to type 'number'. -node_modules/npm/lib/help.js(160,55): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. -node_modules/npm/lib/help.js(164,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(170,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(179,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(183,18): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(186,11): error TS2339: Property 'argv' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(187,20): error TS2339: Property 'argv' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(196,26): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(197,22): error TS2339: Property 'deref' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(199,15): error TS2322: Type 'string' is not assignable to type 'never'. -node_modules/npm/lib/help.js(199,18): error TS2322: Type 'any' is not assignable to type 'never'. -node_modules/npm/lib/help.js(199,22): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(206,33): error TS2339: Property 'length' does not exist on type 'never'. -node_modules/npm/lib/help.js(207,14): error TS2339: Property 'split' does not exist on type 'never'. -node_modules/npm/lib/init.js(38,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/init.js(39,25): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/init.js(53,31): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(182,36): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(184,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(186,17): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(190,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(192,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(200,36): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(224,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(226,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(227,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(230,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(235,34): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(236,63): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(237,51): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(239,85): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(240,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(268,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(269,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(272,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(273,7): error TS2532: Object is possibly 'undefined'. -node_modules/npm/lib/install.js(273,7): error TS2684: The 'this' context of type '((err: any, ...args: any[]) => any) | undefined' is not assignable to method's 'this' of type '(this: null, args_0?: any, ...args_1: any[]) => any'. - Type 'undefined' is not assignable to type '(this: null, args_0?: any, ...args_1: any[]) => any'. -node_modules/npm/lib/install.js(340,25): error TS2339: Property 'failing' does not exist on type 'Installer'. -node_modules/npm/lib/install.js(369,18): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type '"time"' is not assignable to parameter of type 'Signals'. -node_modules/npm/lib/install.js(376,16): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type '"timeEnd"' is not assignable to parameter of type 'Signals'. -node_modules/npm/lib/install.js(519,40): error TS2339: Property 'globalPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(597,12): error TS2339: Property 'failing' does not exist on type 'Installer'. -node_modules/npm/lib/install.js(614,12): error TS2339: Property 'failing' does not exist on type 'Installer'. -node_modules/npm/lib/install.js(634,88): error TS2339: Property 'remove' does not exist on type 'Installer'. -node_modules/npm/lib/install.js(643,12): error TS2339: Property 'failing' does not exist on type 'Installer'. -node_modules/npm/lib/install.js(684,12): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/install.js(685,12): error TS2339: Property 'errno' does not exist on type 'Error'. -node_modules/npm/lib/install.js(745,32): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(751,12): error TS2339: Property 'failing' does not exist on type 'Installer'. -node_modules/npm/lib/install.js(768,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(770,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(771,53): error TS2554: Expected 0-1 arguments, but got 2. -node_modules/npm/lib/install.js(890,26): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. -node_modules/npm/lib/install.js(897,26): error TS2345: Argument of type '{ action: any; name: any; version: any; path: any; }' is not assignable to parameter of type 'never'. -node_modules/npm/lib/install.js(899,25): error TS2345: Argument of type '{ action: any; name: any; version: any; path: any; }' is not assignable to parameter of type 'never'. -node_modules/npm/lib/install.js(901,27): error TS2345: Argument of type '{ action: any; name: any; version: any; path: any; }' is not assignable to parameter of type 'never'. -node_modules/npm/lib/install.js(903,25): error TS2345: Argument of type '{ action: any; name: any; version: any; path: any; }' is not assignable to parameter of type 'never'. -node_modules/npm/lib/install.js(905,27): error TS2345: Argument of type '{ action: any; name: any; version: any; path: any; }' is not assignable to parameter of type 'never'. -node_modules/npm/lib/install.js(948,8): error TS2454: Variable 'previousPath' is used before being assigned. -node_modules/npm/lib/install.js(985,53): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(1007,53): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/access-error.js(4,60): error TS2554: Expected 0-1 arguments, but got 2. -node_modules/npm/lib/install/access-error.js(5,12): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/install/access-error.js(6,12): error TS2339: Property 'path' does not exist on type 'Error'. -node_modules/npm/lib/install/action/build.js(10,50): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/action/extract.js(39,40): error TS2339: Property 'limit' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/action/extract.js(81,9): error TS2322: Type 'string' is not assignable to type 'any[]'. -node_modules/npm/lib/install/action/global-install.js(9,37): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/action/global-install.js(10,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/action/global-install.js(14,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/action/global-link.js(7,7): error TS2339: Property 'link' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/action/refresh-package-json.js(31,43): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/action/remove.js(25,37): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/action/remove.js(25,51): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/action/remove.js(55,49): error TS2345: Argument of type '(mkdirEr: any) => void' is not assignable to parameter of type 'Mode | Options'. - Type '(mkdirEr: any) => void' has no properties in common with type 'Options'. -node_modules/npm/lib/install/actions.js(126,24): error TS2339: Property 'limit' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/actions.js(168,16): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type '"time"' is not assignable to parameter of type 'Signals'. -node_modules/npm/lib/install/actions.js(171,16): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type '"timeEnd"' is not assignable to parameter of type 'Signals'. -node_modules/npm/lib/install/and-add-parent-to-errors.js(9,10): error TS2339: Property 'parent' does not exist on type 'Error'. -node_modules/npm/lib/install/audit.js(32,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/audit.js(89,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/audit.js(91,23): error TS2339: Property 'projectScope' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/audit.js(100,20): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/audit.js(101,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/audit.js(109,20): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/audit.js(110,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/audit.js(172,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/audit.js(216,26): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/check-permissions.js(36,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/decompose-actions.js(47,30): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(253,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(309,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(310,29): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(401,28): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(402,36): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(402,64): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(403,35): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(404,35): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(409,54): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(459,27): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(599,9): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/install/deps.js(814,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(815,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/diff-trees.js(242,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/diff-trees.js(243,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/diff-trees.js(244,34): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/diff-trees.js(244,62): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/diff-trees.js(245,33): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/diff-trees.js(246,33): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/diff-trees.js(247,52): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/exists.js(20,21): error TS2339: Property 'F_OK' does not exist on type 'typeof import("fs")'. -node_modules/npm/lib/install/flatten-tree.js(16,15): error TS2532: Object is possibly 'undefined'. -node_modules/npm/lib/install/flatten-tree.js(18,16): error TS2532: Object is possibly 'undefined'. -node_modules/npm/lib/install/inflate-shrinkwrap.js(30,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/inflate-shrinkwrap.js(30,45): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/inflate-shrinkwrap.js(77,34): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/mutate-into-logical-tree.js(137,86): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(48,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(48,45): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(56,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(140,27): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(141,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(142,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(143,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(144,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(147,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(149,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(151,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/validate-args.js(13,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/validate-args.js(41,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/validate-args.js(42,25): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/validate-args.js(48,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/validate-args.js(49,24): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/validate-args.js(60,10): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/install/validate-args.js(70,8): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/install/validate-tree.js(35,52): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/validate-tree.js(44,10): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/install/validate-tree.js(62,15): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/install/validate-tree.js(70,25): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/validate-tree.js(74,13): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/install/validate-tree.js(89,15): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/install/writable.js(22,21): error TS2339: Property 'W_OK' does not exist on type 'typeof import("fs")'. -node_modules/npm/lib/link.js(25,17): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(39,9): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/link.js(40,9): error TS2339: Property 'errno' does not exist on type 'Error'. -node_modules/npm/lib/link.js(45,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(54,15): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(67,30): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(68,31): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(70,35): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(78,49): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(84,33): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(93,15): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(104,20): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(118,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(127,39): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(137,26): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(151,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(151,80): error TS2454: Variable 'target' is used before being assigned. -node_modules/npm/lib/link.js(152,35): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(157,11): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(179,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/logout.js(12,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/logout.js(14,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/logout.js(16,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/logout.js(17,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/logout.js(23,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/logout.js(28,11): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/logout.js(39,29): error TS2554: Expected 0-1 arguments, but got 3. -node_modules/npm/lib/ls.js(37,30): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(88,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(89,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(102,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(132,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(132,66): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(133,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(133,79): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(152,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(180,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(191,52): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(254,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(357,40): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(362,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(365,15): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(374,17): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(398,13): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(407,13): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(417,13): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(423,13): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(430,13): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(436,13): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(444,13): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(471,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(507,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(521,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(522,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(528,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(538,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(544,56): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(5,13): error TS2551: Property 'echo' does not exist on type '{ Echo(s: any): void; StdErr: TextStreamWriter; StdOut: TextStreamWriter; Arguments: { length: number; Item(n: number): string; }; ScriptFullName: string; ... 13 more ...; Sleep(intTime: number): void; }'. Did you mean 'Echo'? -node_modules/npm/lib/npm.js(12,13): error TS2551: Property 'quit' does not exist on type '{ Echo(s: any): void; StdErr: TextStreamWriter; StdOut: TextStreamWriter; Arguments: { length: number; Item(n: number): string; }; ScriptFullName: string; ... 13 more ...; Sleep(intTime: number): void; }'. Did you mean 'Quit'? -node_modules/npm/lib/npm.js(58,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(68,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(71,7): error TS2339: Property 'limit' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(77,7): error TS2339: Property 'lockfileVersion' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(79,7): error TS2339: Property 'rollbacks' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(85,9): error TS2339: Property 'name' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(86,9): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(91,9): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(104,18): error TS2339: Property 'fullList' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(112,31): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(119,19): error TS2339: Property 'deref' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(121,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(124,11): error TS2339: Property 'command' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(156,35): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(183,7): error TS2339: Property 'deref' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(208,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(225,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(228,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(231,30): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(234,19): error TS2345: Argument of type 'boolean' is not assignable to parameter of type 'string'. -node_modules/npm/lib/npm.js(253,17): error TS2339: Property 'installPrefix' does not exist on type 'Process'. -node_modules/npm/lib/npm.js(347,52): error TS2345: Argument of type 'PropertyDescriptor | undefined' is not assignable to parameter of type 'PropertyDescriptor & ThisType'. - Type 'undefined' is not assignable to type 'PropertyDescriptor & ThisType'. - Type 'undefined' is not assignable to type 'PropertyDescriptor'. -node_modules/npm/lib/npm.js(350,51): error TS2345: Argument of type 'PropertyDescriptor | undefined' is not assignable to parameter of type 'PropertyDescriptor & ThisType'. -node_modules/npm/lib/npm.js(377,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(377,47): error TS2339: Property 'globalPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(377,66): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(380,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(390,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(390,50): error TS2339: Property 'globalBin' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(391,33): error TS2339: Property 'root' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(399,21): error TS2339: Property 'globalPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(408,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(408,50): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(409,33): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(418,33): error TS2339: Property 'globalPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(419,33): error TS2339: Property 'globalPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(425,37): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(428,37): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(429,38): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(439,33): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(445,34): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(460,13): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(36,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(71,30): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(74,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(74,49): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(85,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(87,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(100,17): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(129,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(141,11): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(182,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(199,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(227,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(227,66): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(228,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(228,73): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(230,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(231,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(231,41): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(245,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(250,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(253,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(262,10): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(336,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(339,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(26,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(41,44): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(45,17): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(61,44): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(65,17): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(78,45): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(81,15): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(114,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(117,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(201,31): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(204,11): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(223,28): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(226,11): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(246,37): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(254,15): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(53,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(72,40): error TS2339: Property 'tmp' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(79,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(86,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(88,40): error TS2339: Property 'tmp' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(102,39): error TS2339: Property 'tmp' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(119,32): error TS2339: Property 'tmp' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(127,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(147,36): error TS2339: Property 'tmp' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(177,25): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(299,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(300,20): error TS2345: Argument of type 'string' is not assignable to parameter of type 'never'. -node_modules/npm/lib/pack.js(300,36): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(333,15): error TS2531: Object is possibly 'null'. -node_modules/npm/lib/pack.js(335,17): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/pack.js(336,17): error TS2339: Property 'signal' does not exist on type 'Error'. -node_modules/npm/lib/pack.js(354,36): error TS2339: Property 'tmp' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ping.js(13,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ping.js(15,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ping.js(17,7): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/prefix.js(13,27): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/prefix.js(14,44): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/profile.js(80,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/profile.js(81,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/profile.js(82,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/profile.js(83,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/profile.js(85,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/profile.js(249,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/profile.js(250,46): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/prune.js(23,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/prune.js(24,33): error TS2339: Property 'run' does not exist on type 'Pruner'. -node_modules/npm/lib/prune.js(36,17): error TS2339: Property 'progress' does not exist on type 'Pruner'. -node_modules/npm/lib/prune.js(39,24): error TS2339: Property 'idealTree' does not exist on type 'Pruner'. -node_modules/npm/lib/prune.js(41,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/prune.js(41,79): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/prune.js(53,17): error TS2339: Property 'args' does not exist on type 'Pruner'. -node_modules/npm/lib/prune.js(53,43): error TS2339: Property 'args' does not exist on type 'Pruner'. -node_modules/npm/lib/prune.js(58,22): error TS2339: Property 'idealTree' does not exist on type 'Pruner'. -node_modules/npm/lib/prune.js(61,32): error TS2339: Property 'idealTree' does not exist on type 'Pruner'. -node_modules/npm/lib/prune.js(62,27): error TS2339: Property 'idealTree' does not exist on type 'Pruner'. -node_modules/npm/lib/publish.js(45,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(53,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(68,11): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/publish.js(93,36): error TS2339: Property 'tmp' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(97,25): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(111,34): error TS2339: Property 'tmp' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(120,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(138,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(139,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(144,25): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(166,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(180,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(191,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(196,15): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(213,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/rebuild.js(20,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/rebuild.js(21,21): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/rebuild.js(26,24): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/rebuild.js(35,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/repo.js(35,30): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/root.js(13,27): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/root.js(14,44): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/run-script.js(26,30): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/run-script.js(34,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/run-script.js(34,49): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/run-script.js(35,22): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/run-script.js(46,26): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/run-script.js(56,20): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/run-script.js(66,28): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/run-script.js(77,12): error TS2769: No overload matches this call. - Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. - Type 'string' is not assignable to type 'never'. - Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. - Type 'string' is not assignable to type 'never'. - Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. - Type 'string' is not assignable to type 'never'. -node_modules/npm/lib/run-script.js(94,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/run-script.js(99,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/run-script.js(148,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(25,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(26,34): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(27,40): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(28,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(30,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(31,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(68,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(69,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(70,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(71,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(72,16): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(82,28): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(82,55): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search/all-package-metadata.js(33,30): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search/all-package-metadata.js(36,35): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search/all-package-metadata.js(146,7): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search/all-package-metadata.js(239,20): error TS2339: Property 'cache' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search/all-package-metadata.js(241,22): error TS2345: Argument of type '(er: any, made: any) => any' is not assignable to parameter of type 'Mode | Options'. - Value of type '(er: any, made: any) => any' has no properties in common with type 'Options'. Did you mean to call it? -node_modules/npm/lib/search/esearch.js(15,36): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search/esearch.js(35,7): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/set.js(8,22): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/set.js(12,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/shrinkwrap.js(30,29): error TS2339: Property 'lockfileVersion' does not exist on type 'EventEmitter'. -node_modules/npm/lib/shrinkwrap.js(50,22): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/shrinkwrap.js(51,22): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/shrinkwrap.js(55,38): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/shrinkwrap.js(62,34): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/shrinkwrap.js(117,13): error TS2339: Property 'version' does not exist on type '{}'. -node_modules/npm/lib/shrinkwrap.js(119,15): error TS2339: Property 'from' does not exist on type '{}'. -node_modules/npm/lib/shrinkwrap.js(122,15): error TS2339: Property 'bundled' does not exist on type '{}'. -node_modules/npm/lib/shrinkwrap.js(125,17): error TS2339: Property 'resolved' does not exist on type '{}'. -node_modules/npm/lib/shrinkwrap.js(131,17): error TS2339: Property 'integrity' does not exist on type '{}'. -node_modules/npm/lib/shrinkwrap.js(132,22): error TS2339: Property 'integrity' does not exist on type '{}'. -node_modules/npm/lib/shrinkwrap.js(133,19): error TS2339: Property 'integrity' does not exist on type '{}'. -node_modules/npm/lib/shrinkwrap.js(137,33): error TS2339: Property 'dev' does not exist on type '{}'. -node_modules/npm/lib/shrinkwrap.js(138,40): error TS2339: Property 'optional' does not exist on type '{}'. -node_modules/npm/lib/shrinkwrap.js(140,15): error TS2339: Property 'requires' does not exist on type '{}'. -node_modules/npm/lib/shrinkwrap.js(143,17): error TS2339: Property 'requires' does not exist on type '{}'. -node_modules/npm/lib/shrinkwrap.js(147,15): error TS2339: Property 'dependencies' does not exist on type '{}'. -node_modules/npm/lib/shrinkwrap.js(148,30): error TS2339: Property 'dependencies' does not exist on type '{}'. -node_modules/npm/lib/star.js(24,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/star.js(25,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/star.js(26,21): error TS2339: Property 'command' does not exist on type 'EventEmitter'. -node_modules/npm/lib/star.js(29,28): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/star.js(36,11): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/stars.js(11,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/stars.js(17,18): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/stars.js(24,27): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/stars.js(31,11): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/substack.js(20,14): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/team.js(39,33): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/team.js(42,18): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/token.js(81,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/token.js(82,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/token.js(83,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/token.js(84,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/token.js(86,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/token.js(186,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/token.js(187,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unbuild.js(30,33): error TS2339: Property 'root' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unbuild.js(33,37): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unbuild.js(33,51): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unbuild.js(35,46): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unbuild.js(62,17): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unbuild.js(76,27): error TS2339: Property 'bin' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unbuild.js(96,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unbuild.js(99,34): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/uninstall.js(27,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/uninstall.js(31,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/uninstall.js(32,32): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/uninstall.js(33,19): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/uninstall.js(43,31): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unpublish.js(17,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unpublish.js(23,31): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unpublish.js(26,11): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unpublish.js(37,36): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unpublish.js(40,15): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unpublish.js(63,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unpublish.js(71,49): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unpublish.js(74,33): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unpublish.js(97,58): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unpublish.js(97,70): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/update.js(10,41): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/update.js(17,25): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/update.js(25,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/file-completion.js(11,15): error TS2345: Argument of type '(er: any) => any' is not assignable to parameter of type 'Mode | Options'. - Value of type '(er: any) => any' has no properties in common with type 'Options'. Did you mean to call it? -node_modules/npm/lib/utils/completion/installed-deep.js(9,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/installed-deep.js(12,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/installed-deep.js(16,23): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/installed-deep.js(22,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/installed-deep.js(44,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/installed-shallow.js(20,22): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/installed-shallow.js(21,23): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/installed-shallow.js(22,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/installed-shallow.js(57,28): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/installed-shallow.js(66,23): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/installed-shallow.js(79,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/correct-mkdir.js(74,25): error TS2345: Argument of type '(er: any) => any' is not assignable to parameter of type 'Mode | Options'. - Value of type '(er: any) => any' has no properties in common with type 'Options'. Did you mean to call it? -node_modules/npm/lib/utils/correct-mkdir.js(89,18): error TS2345: Argument of type '(er: any, made: any) => any' is not assignable to parameter of type 'Mode | Options'. - Value of type '(er: any, made: any) => any' has no properties in common with type 'Options'. Did you mean to call it? -node_modules/npm/lib/utils/correct-mkdir.js(103,20): error TS2345: Argument of type '(er: any, made: any) => any' is not assignable to parameter of type 'Mode | Options'. -node_modules/npm/lib/utils/error-handler.js(12,21): error TS2339: Property 'rollbacks' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(23,36): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(29,16): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(38,16): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type '"timeEnd"' is not assignable to parameter of type 'Signals'. -node_modules/npm/lib/utils/error-handler.js(40,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(40,32): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(43,39): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(68,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(68,32): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(83,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(83,41): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(98,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(98,40): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(105,13): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(146,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(146,27): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(166,14): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/utils/error-handler.js(167,16): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/utils/error-handler.js(168,8): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/utils/error-handler.js(186,40): error TS2345: Argument of type '{ (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | ... 1 more ... | undefined): string; }' is not assignable to parameter of type '(value: string, index: number, array: string[]) => string'. - Types of parameters 'replacer' and 'index' are incompatible. - Type 'number' is not assignable to type '((this: any, key: string, value: any) => any) | undefined'. -node_modules/npm/lib/utils/error-handler.js(188,33): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(205,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(208,18): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/utils/error-handler.js(216,18): error TS2339: Property 'errno' does not exist on type 'Error'. -node_modules/npm/lib/utils/error-handler.js(216,42): error TS2339: Property 'errno' does not exist on type 'Error'. -node_modules/npm/lib/utils/error-handler.js(231,34): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(236,7): error TS2322: Type 'string' is not assignable to type 'any[]'. -node_modules/npm/lib/utils/error-message.js(77,37): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-message.js(300,24): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-message.js(301,25): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/git.js(9,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/is-windows-bash.js(3,53): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. - Type 'undefined' is not assignable to type 'string'. -node_modules/npm/lib/utils/lifecycle-cmd.js(8,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/locker.js(16,23): error TS2339: Property 'cache' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/locker.js(22,29): error TS2339: Property 'cache' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/locker.js(27,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/locker.js(28,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/locker.js(29,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/locker.js(65,15): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/utils/map-to-registry.js(98,45): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/metrics-launch.js(12,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/metrics-launch.js(13,36): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/metrics-launch.js(14,30): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/metrics.js(18,7): error TS2339: Property 'metricsProcess' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/metrics.js(23,11): error TS2339: Property 'metricsProcess' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/metrics.js(23,31): error TS2339: Property 'metricsProcess' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/metrics.js(31,35): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/metrics.js(34,26): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/lib/utils/metrics.js(61,31): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/lib/utils/metrics.js(62,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/metrics.js(64,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/metrics.js(65,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/output.js(6,30): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[message?: any, ...optionalParams: any[]]'. -node_modules/npm/lib/utils/read-local-package.js(7,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/read-local-package.js(9,29): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/spawn.js(26,8): error TS2339: Property 'file' does not exist on type 'Error'. -node_modules/npm/lib/utils/spawn.js(34,10): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/utils/spawn.js(35,10): error TS2339: Property 'errno' does not exist on type 'Error'. -node_modules/npm/lib/utils/spawn.js(36,10): error TS2339: Property 'syscall' does not exist on type 'Error'. -node_modules/npm/lib/utils/spawn.js(37,10): error TS2339: Property 'file' does not exist on type 'Error'. -node_modules/npm/lib/utils/spawn.js(44,10): error TS2339: Property 'stdin' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/spawn.js(45,10): error TS2339: Property 'stdout' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/spawn.js(46,10): error TS2339: Property 'stderr' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/spawn.js(47,10): error TS2339: Property 'kill' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/temp-filename.js(6,29): error TS2339: Property 'tmp' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/usage.js(8,21): error TS2769: No overload matches this call. + Argument of type '0' is not assignable to parameter of type '(string | number)[] | null | undefined'. +lib/utils/update-notifier.js(29,50): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. +lib/utils/usage.js(8,21): error TS2769: No overload matches this call. Overload 1 of 2, '(...items: ConcatArray[]): never[]', gave the following error. Argument of type 'string' is not assignable to parameter of type 'ConcatArray'. Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. Argument of type 'string' is not assignable to parameter of type 'ConcatArray'. -node_modules/npm/lib/version.js(24,27): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(82,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(97,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(104,19): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(116,35): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(160,19): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(201,15): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(206,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(206,31): error TS2322: Type 'string' is not assignable to type '{ npm: any; }'. -node_modules/npm/lib/version.js(213,25): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(257,28): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(276,32): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(290,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(296,23): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(297,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(306,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(324,44): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(336,19): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(35,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(36,47): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(39,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(89,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(94,19): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(116,35): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(118,27): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(121,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(168,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(185,23): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(405,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(408,38): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(412,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(415,74): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(417,47): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(420,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(429,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/visnup.js(41,14): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/whoami.js(15,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/whoami.js(18,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/whoami.js(24,18): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/whoami.js(30,26): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/whoami.js(45,12): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/scripts/index-build.js(20,13): error TS2531: Object is possibly 'null'. -node_modules/npm/scripts/index-build.js(20,22): error TS2531: Object is possibly 'null'. -node_modules/npm/scripts/index-build.js(21,30): error TS2531: Object is possibly 'null'. -node_modules/npm/scripts/index-build.js(22,29): error TS2531: Object is possibly 'null'. -node_modules/npm/scripts/index-build.js(23,15): error TS2531: Object is possibly 'null'. -node_modules/npm/scripts/index-build.js(23,22): error TS2531: Object is possibly 'null'. -node_modules/npm/scripts/index-build.js(24,15): error TS2531: Object is possibly 'null'. -node_modules/npm/scripts/index-build.js(24,22): error TS2531: Object is possibly 'null'. -node_modules/npm/scripts/publish-tag.js(2,36): error TS2732: Cannot find module '../package.json'. Consider using '--resolveJsonModule' to import module with '.json' extension. -node_modules/npm/test/broken-under-nyc-and-travis/lifecycle-path.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/broken-under-nyc-and-travis/lifecycle-path.js(18,23): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. - Type 'undefined' is not assignable to type 'string'. -node_modules/npm/test/broken-under-nyc-and-travis/whoami.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/common-tap.js(5,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/common-tap.js(10,3): error TS2741: Property '__promisify__' is missing in type '(...args: any[]) => void' but required in type 'typeof setImmediate'. -node_modules/npm/test/common-tap.js(10,36): error TS2322: Type '(...args: any[]) => void' is not assignable to type '((callback: (...args: any[]) => void, ...args: any[]) => Immediate) & typeof setImmediate'. - Type '(...args: any[]) => void' is not assignable to type '(callback: (...args: any[]) => void, ...args: any[]) => Immediate'. - Type 'void' is not assignable to type 'Immediate'. -node_modules/npm/test/common-tap.js(12,28): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[callback: (...args: any[]) => void, ms: number, ...args: any[]]'. - Source provides no match for required element at position 0 in target. -node_modules/npm/test/common-tap.js(175,17): error TS2339: Property '_storage' does not exist on type 'Environment'. -node_modules/npm/test/common-tap.js(181,31): error TS2339: Property '_storage' does not exist on type 'Environment'. -node_modules/npm/test/common-tap.js(192,12): error TS2339: Property '_storage' does not exist on type 'Environment'. -node_modules/npm/test/need-npm5-update/belongs-in-pacote/add-remote-git-get-resolved.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/belongs-in-pacote/add-remote-git-get-resolved.js(4,19): error TS2307: Cannot find module '../../lib/npm.js' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/belongs-in-pacote/add-remote-git-get-resolved.js(5,22): error TS2307: Cannot find module '../common-tap.js' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/belongs-in-pacote/add-remote-git-get-resolved.js(25,27): error TS2307: Cannot find module '../../lib/cache/add-remote-git.js' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/belongs-in-pacote/git-races.js(6,25): error TS2307: Cannot find module 'deep-equal' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/belongs-in-pacote/git-races.js(10,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/belongs-in-pacote/git-races.js(13,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/ignore-shrinkwrap.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/ignore-shrinkwrap.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/legacy-array-bin.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/legacy-array-bin.js(11,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/legacy-dir-bin.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/legacy-dir-bin.js(11,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/legacy-npm-self-install.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/legacy-npm-self-install.js(12,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/need-npm5-update/legacy-npm-self-install.js(34,42): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'. - Type 'IArguments' is missing the following properties from type 'string[]': pop, push, concat, join, and 26 more. -node_modules/npm/test/need-npm5-update/legacy-npm-self-install.js(48,3): error TS2322: Type 'null' is not assignable to type 'string | undefined'. -node_modules/npm/test/need-npm5-update/legacy-npm-self-install.js(49,3): error TS2322: Type 'null' is not assignable to type 'string | undefined'. -node_modules/npm/test/need-npm5-update/legacy-optional-deps.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/legacy-optional-deps.js(8,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/legacy-optional-deps.js(12,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/legacy-shrinkwrap.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/legacy-shrinkwrap.js(6,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/lifecycle-signal.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/move-no-clobber-dest-node-modules.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/move-no-clobber-dest-node-modules.js(11,48): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'. -node_modules/npm/test/need-npm5-update/need-only-update-save-optional/update-save.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/need-only-update-save-optional/update-save.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/need-only-update-save-optional/update-save.js(10,22): error TS2307: Cannot find module '../common-tap.js' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/need-outdated/update-symlink.js(4,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/need-outdated/update-symlink.js(6,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/need-outdated/update-symlink.js(8,22): error TS2307: Cannot find module '../common-tap.js' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/outdated-depth-deep.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/outdated-depth-deep.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/outdated-depth-deep.js(69,52): error TS2769: No overload matches this call. - Overload 1 of 2, '(...items: ConcatArray[]): string[]', gave the following error. - Type 'number' is not assignable to type 'string'. - Overload 2 of 2, '(...items: (string | ConcatArray)[]): string[]', gave the following error. - Type 'number' is not assignable to type 'string'. -node_modules/npm/test/need-npm5-update/outdated-depth-integer.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/outdated-depth-integer.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/outdated-depth-integer.js(55,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-depth-integer.js(62,11): error TS2339: Property 'install' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-depth-integer.js(64,13): error TS2339: Property 'outdated' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-include-devdependencies.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/outdated-include-devdependencies.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/outdated-include-devdependencies.js(38,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-include-devdependencies.js(39,11): error TS2339: Property 'outdated' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-local.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/outdated-local.js(6,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/outdated-local.js(107,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-local.js(114,13): error TS2339: Property 'install' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-local.js(117,15): error TS2339: Property 'outdated' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-new-versions.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/outdated-new-versions.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/outdated-new-versions.js(42,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-new-versions.js(43,11): error TS2339: Property 'outdated' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-notarget.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/outdated-notarget.js(12,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/outdated-notarget.js(18,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-notarget.js(19,11): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-private.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/outdated-private.js(6,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/outdated-private.js(58,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-private.js(65,13): error TS2339: Property 'install' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-private.js(68,15): error TS2339: Property 'outdated' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-symlink.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/outdated-symlink.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/outdated-symlink.js(13,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/need-npm5-update/peer-deps-invalid.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/peer-deps-invalid.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/peer-deps-invalid.js(74,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/peer-deps-invalid.js(80,13): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/peer-deps-toplevel.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/peer-deps-toplevel.js(4,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/peer-deps-toplevel.js(5,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/peer-deps-toplevel.js(8,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/need-npm5-update/peer-deps-without-package-json.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/peer-deps-without-package-json.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/peer-deps-without-package-json.js(50,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/peer-deps-without-package-json.js(54,11): error TS2339: Property 'install' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/rm-linked.js(5,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/shrinkwrap-complete-except-dev.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/shrinkwrap-complete-except-dev.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/shrinkwrap-complete-except-dev.js(6,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/shrinkwrap-complete-except-dev.js(9,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/need-npm5-update/shrinkwrap-dev-dep-cycle.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/shrinkwrap-dev-dep-cycle.js(5,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/need-npm5-update/shrinkwrap-dev-dep-cycle.js(76,23): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/network/git-cache-locking.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/network/git-cache-locking.js(9,53): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/network/git-cache-no-hooks.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/network/legacy-bundled-git.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/network/legacy-bundled-git.js(11,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/network/legacy-url-dep.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/network/legacy-url-dep.js(10,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/network/registry.js(5,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/network/registry.js(29,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/tap/00-check-mock-dep.js(12,20): error TS2732: Cannot find module 'npm-registry-mock/package.json'. Consider using '--resolveJsonModule' to import module with '.json' extension. -node_modules/npm/test/tap/00-check-mock-dep.js(13,19): error TS2732: Cannot find module '../../package.json'. Consider using '--resolveJsonModule' to import module with '.json' extension. -node_modules/npm/test/tap/00-verify-bundle-deps.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/00-verify-bundle-deps.js(3,24): error TS2732: Cannot find module '../../package.json'. Consider using '--resolveJsonModule' to import module with '.json' extension. -node_modules/npm/test/tap/00-verify-ls-ok.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/00-verify-no-scoped.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/404-parent.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/404-parent.js(10,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/404-parent.js(47,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/404-parent.js(50,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/404-parent.js(53,11): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/404-private-registry-scoped.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/404-private-registry-scoped.js(6,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/404-private-registry.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/404-private-registry.js(6,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/access.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/access.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/access.js(19,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'Mode | Options'. - Type '(er: any) => void' has no properties in common with type 'Options'. -node_modules/npm/test/tap/add-named-update-protocol-port.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/add-named-update-protocol-port.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/add-remote-git-file.js(10,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/add-remote-git-file.js(56,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/add-remote-git-file.js(57,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/add-remote-git-file.js(58,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/add-remote-git-file.js(59,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/add-remote-git-file.js(86,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/add-remote-git-shrinkwrap.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/add-remote-git-shrinkwrap.js(104,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/add-remote-git-submodule.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/add-remote-git-submodule.js(45,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/add-remote-git-submodule.js(53,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/add-remote-git-submodule.js(87,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/add-remote-git.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/add-remote-git.js(48,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/add-remote-git.js(71,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/adduser-always-auth.js(4,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/adduser-always-auth.js(6,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/adduser-legacy-auth.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/adduser-legacy-auth.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/adduser-legacy-auth.js(45,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'Mode | Options'. - Type '(er: any) => void' has no properties in common with type 'Options'. -node_modules/npm/test/tap/adduser-oauth.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/adduser-oauth.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/adduser-saml.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/adduser-saml.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/all-package-metadata-cache-stream-unit.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/all-package-metadata-cache-stream-unit.js(9,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/all-package-metadata-entry-stream-unit.js(5,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/all-package-metadata-entry-stream-unit.js(9,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/all-package-metadata-entry-stream-unit.js(11,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/all-package-metadata-entry-stream-unit.js(33,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/all-package-metadata-update-stream-unit.js(5,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/all-package-metadata-update-stream-unit.js(9,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/all-package-metadata-update-stream-unit.js(31,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/all-package-metadata-write-stream-unit.js(5,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/all-package-metadata-write-stream-unit.js(34,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/all-package-metadata-write-stream-unit.js(66,33): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/all-package-metadata-write-stream-unit.js(98,33): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/all-package-metadata-write-stream-unit.js(121,33): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/all-package-metadata.js(5,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/all-package-metadata.js(11,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/all-package-metadata.js(13,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/all-package-metadata.js(36,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/all-package-metadata.js(38,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/all-package-metadata.js(39,33): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/all-package-metadata.js(73,31): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/all-package-metadata.js(117,31): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/all-package-metadata.js(175,31): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/anon-cli-metrics.js(5,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/anon-cli-metrics.js(6,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/anon-cli-metrics.js(7,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/anon-cli-metrics.js(10,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/tap/auto-prune.js(3,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/auto-prune.js(4,20): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/auto-prune.js(5,23): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/auto-prune.js(8,49): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/tap/bearer-token-check.js(9,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/bin.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/bitbucket-https-url-with-creds-package.js(10,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/bitbucket-https-url-with-creds-package.js(12,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/bitbucket-https-url-with-creds.js(10,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/bitbucket-https-url-with-creds.js(12,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/bitbucket-shortcut-package.js(10,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/bitbucket-shortcut-package.js(12,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/bitbucket-shortcut.js(10,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/bitbucket-shortcut.js(12,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/bugs.js(4,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/bugs.js(6,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/build-already-built.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/build-already-built.js(9,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/build-already-built.js(23,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/build-already-built.js(33,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/builtin-config.js(14,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/bundled-dependencies-nonarray.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/bundled-dependencies.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/bundled-dependencies.js(12,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/bundled-no-add-to-move.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/bundled-no-add-to-move.js(42,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/bundled-transitive-deps.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/bundled-transitive-deps.js(5,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/bundled-transitive-deps.js(74,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/cache-add-unpublished.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/cache-shasum-fork.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/cache-shasum-fork.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/check-cpu-reqs.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/check-engine-reqs.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/check-install-self.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/check-os-reqs.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/check-permissions.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/check-permissions.js(26,7): error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead? -node_modules/npm/test/tap/check-permissions.js(42,7): error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead? -node_modules/npm/test/tap/ci-header.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/ci-header.js(4,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/ci-header.js(5,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/ci.js(7,33): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/ci.js(10,23): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/ci.js(11,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/circular-dep.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'. -node_modules/npm/test/tap/circular-dep.js(6,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/circular-dep.js(9,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/config-basic.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/config-basic.js(81,12): error TS2531: Object is possibly 'null'. -node_modules/npm/test/tap/config-basic.js(81,29): error TS2339: Property 'list' does not exist on type 'Conf'. -node_modules/npm/test/tap/config-basic.js(82,24): error TS2531: Object is possibly 'null'. -node_modules/npm/test/tap/config-builtin.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/config-builtin.js(60,12): error TS2531: Object is possibly 'null'. -node_modules/npm/test/tap/config-builtin.js(60,29): error TS2339: Property 'list' does not exist on type 'Conf'. -node_modules/npm/test/tap/config-builtin.js(61,13): error TS2531: Object is possibly 'null'. -node_modules/npm/test/tap/config-certfile.js(5,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/config-credentials.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/config-edit.js(6,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/config-edit.js(27,25): error TS2554: Expected 1-2 arguments, but got 3. -node_modules/npm/test/tap/config-envReplace.js(6,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/config-list.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/config-malformed.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/config-meta.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/config-meta.js(63,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'. - Type 'undefined' is not assignable to type 'string'. -node_modules/npm/test/tap/config-new-cafile.js(5,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/config-private.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/config-project.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/config-project.js(59,12): error TS2531: Object is possibly 'null'. -node_modules/npm/test/tap/config-project.js(59,29): error TS2339: Property 'list' does not exist on type 'Conf'. -node_modules/npm/test/tap/config-project.js(60,13): error TS2531: Object is possibly 'null'. -node_modules/npm/test/tap/config-save.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/correct-mkdir.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/correct-mkdir.js(4,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/correct-mkdir.js(14,23): error TS2339: Property 'uid' does not exist on type 'Process'. -node_modules/npm/test/tap/correct-mkdir.js(96,3): error TS2322: Type '999' is not assignable to type 'string | undefined'. -node_modules/npm/test/tap/correct-mkdir.js(97,3): error TS2322: Type '999' is not assignable to type 'string | undefined'. -node_modules/npm/test/tap/correct-mkdir.js(114,16): error TS2532: Object is possibly 'undefined'. -node_modules/npm/test/tap/correct-mkdir.js(115,16): error TS2532: Object is possibly 'undefined'. -node_modules/npm/test/tap/correct-mkdir.js(131,3): error TS2322: Type '999' is not assignable to type 'string | undefined'. -node_modules/npm/test/tap/correct-mkdir.js(132,3): error TS2322: Type '999' is not assignable to type 'string | undefined'. -node_modules/npm/test/tap/correct-mkdir.js(133,10): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/npm/test/tap/correct-mkdir.js(134,10): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/npm/test/tap/cruft-test.js(6,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/debug-logs.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/debug-logs.js(4,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/debug-logs.js(9,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/tap/dedupe-scoped.js(6,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/dedupe.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'. -node_modules/npm/test/tap/dedupe.js(6,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/dedupe.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/deprecate.js(1,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/deprecate.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/dist-tag.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/dist-tag.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/dist-tag.js(49,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'Mode | Options'. - Type '(er: any) => void' has no properties in common with type 'Options'. -node_modules/npm/test/tap/do-not-remove-other-bins.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/doctor.js(5,20): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/doctor.js(9,23): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/doctor.js(10,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/doctor.js(66,11): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/doctor.js(82,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/doctor.js(86,34): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/extraneous-dep-cycle-ls-ok.js(5,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/false-name.js(12,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'. -node_modules/npm/test/tap/false-name.js(15,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/false-name.js(17,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/fetch-package-metadata.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/fetch-package-metadata.js(9,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/fetch-package-metadata.js(36,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/full-warning-messages.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/gently-rm-cmdshims.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/gently-rm-cmdshims.js(107,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/gently-rm-linked-module.js(6,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/gently-rm-linked-module.js(8,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/gently-rm-linked-module.js(12,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/tap/gently-rm-overeager.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/gently-rm-symlinked-global-dir.js(5,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/get.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/get.js(6,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/get.js(40,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/get.js(50,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/get.js(54,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/get.js(58,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/get.js(62,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/get.js(66,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/get.js(70,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/get.js(80,7): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/get.js(86,7): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/get.js(92,7): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/gist-short-shortcut-package.js(7,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/gist-short-shortcut-package.js(9,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/gist-short-shortcut.js(7,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/gist-short-shortcut.js(9,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/gist-shortcut-package.js(7,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/gist-shortcut-package.js(9,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/gist-shortcut.js(7,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/gist-shortcut.js(9,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/git-dependency-install-link.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/git-dependency-install-link.js(9,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/git-dependency-install-link.js(125,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/git-npmignore.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/git-npmignore.js(12,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/git-prepare.js(8,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/git-prepare.js(9,20): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/git-prepare.js(19,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/git-prepare.js(131,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/github-shortcut-package.js(7,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/github-shortcut-package.js(9,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/github-shortcut.js(10,31): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/github-shortcut.js(12,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/gitlab-shortcut-package.js(7,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/gitlab-shortcut-package.js(9,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/gitlab-shortcut.js(7,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/gitlab-shortcut.js(9,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/global-prefix-set-in-userconfig.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/graceful-restart.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/help.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/ignore-install-link.js(6,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/ignore-scripts.js(6,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/init-create.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/init-create.js(3,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/init-create.js(25,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/init-create.js(42,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/init-create.js(47,16): error TS2339: Property 'parseArgs' does not exist on type '() => Promise'. -node_modules/npm/test/tap/init-create.js(53,16): error TS2339: Property 'parseArgs' does not exist on type '() => Promise'. -node_modules/npm/test/tap/init-create.js(68,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/init-create.js(74,16): error TS2339: Property 'parseArgs' does not exist on type '() => Promise'. -node_modules/npm/test/tap/init-interrupt.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/init-interrupt.js(8,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/init-interrupt.js(28,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/install-actions.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-actions.js(13,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/install-actions.js(108,27): error TS2345: Argument of type '{ path: string; package: { dependencies: { b: string; }; optionalDependencies: { a: string; }; }; children: ({ name: string; path: string; package: { scripts: { postinstall: string; }; dependencies: { b: string; }; }; isTop: boolean; } | { ...; })[]; requires: ({ ...; } | { ...; })[]; isTop: boolean; }' is not assignable to parameter of type '{ name: string; path: string; package: { scripts: { postinstall: string; }; dependencies: { b: string; }; }; isTop: boolean; }'. - Property 'name' is missing in type '{ path: string; package: { dependencies: { b: string; }; optionalDependencies: { a: string; }; }; children: ({ name: string; path: string; package: { scripts: { postinstall: string; }; dependencies: { b: string; }; }; isTop: boolean; } | { ...; })[]; requires: ({ ...; } | { ...; })[]; isTop: boolean; }' but required in type '{ name: string; path: string; package: { scripts: { postinstall: string; }; dependencies: { b: string; }; }; isTop: boolean; }'. -node_modules/npm/test/tap/install-at-locally.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-bad-dep-format.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-bad-man.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-bin-null.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-cli-only-development.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'. -node_modules/npm/test/tap/install-cli-only-development.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-cli-only-production.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'. -node_modules/npm/test/tap/install-cli-only-production.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-cli-only-shrinkwrap.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'. -node_modules/npm/test/tap/install-cli-only-shrinkwrap.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-cli-production-nosave.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/install-cli-production-nosave.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-cli-production.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'. -node_modules/npm/test/tap/install-cli-production.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-cli-unicode.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/install-cli-unicode.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-contributors-count.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-contributors-count.js(4,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/install-duplicate-deps-warning.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/install-duplicate-deps-warning.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-from-local.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-into-likenamed-folder.js(6,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-link-scripts.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-local-dep-cycle.js(6,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-man.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-noargs-dev.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/install-noargs-dev.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-noargs-dev.js(56,32): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/install-noargs-dev.js(83,32): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/install-order.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-package-json-order.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-package-lock-only.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-package-lock-only.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/install-package-lock-only.js(6,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/install-package-lock-only.js(9,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/tap/install-parse-error.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-parse-error.js(4,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/install-property-conflicts.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-report-just-installed.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-report-just-installed.js(4,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/install-save-consistent-newlines.js(7,20): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/install-save-consistent-newlines.js(10,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-save-exact.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/install-save-exact.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-save-local.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-save-prefix.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/install-save-prefix.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-save-prefix.js(46,23): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/install-save-prefix.js(78,23): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/install-save-prefix.js(110,23): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/install-save-prefix.js(142,23): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/install-scoped-already-installed.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'. -node_modules/npm/test/tap/install-scoped-already-installed.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-scoped-link.js(4,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'. -node_modules/npm/test/tap/install-scoped-link.js(9,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-scoped-with-bundled-dependency.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-scoped-with-bundled-dependency.js(4,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/install-scoped-with-bundled-dependency.js(7,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/tap/install-scoped-with-peer-dependency.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-shrinkwrapped-git.js(9,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-shrinkwrapped-git.js(56,12): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/install-shrinkwrapped-git.js(60,12): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/install-shrinkwrapped-git.js(65,12): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/install-shrinkwrapped-git.js(106,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/install-test-cli-without-package-lock.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-windows-newlines.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'. -node_modules/npm/test/tap/install-windows-newlines.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/install-with-dev-dep-duplicate.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/install-with-dev-dep-duplicate.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/invalid-cmd-exit-code.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/invalid-dep-version-filtering.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/invalid-dep-version-filtering.js(4,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/invalid-dep-version-filtering.js(6,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/is-fs-access-available.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/is-fs-access-available.js(4,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/is-fs-access-available.js(6,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/tap/is-registry.js(2,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/it.js(6,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/it.js(9,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/legacy-ignore-nested-nm.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/legacy-ignore-nested-nm.js(12,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/legacy-missing-bindir.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/legacy-missing-bindir.js(12,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/legacy-no-auth-leak.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/legacy-no-auth-leak.js(6,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/legacy-platform-all.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/legacy-platform-all.js(10,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/legacy-platform.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/legacy-platform.js(10,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/legacy-private.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/legacy-private.js(10,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/legacy-test-package.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/legacy-test-package.js(11,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/lifecycle-INIT_CWD.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/lifecycle-order.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/link.js(5,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/local-args-relative-to-cwd.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/local-args-relative-to-cwd.js(5,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/locker.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/locker.js(31,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/locker.js(61,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/lockfile-http-deps.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/lockfile-http-deps.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/lockfile-http-deps.js(6,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/lockfile-http-deps.js(9,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/tap/lockfile-http-deps.js(81,35): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/logout-scoped.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/logout-scoped.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/logout.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/logout.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/ls-depth-cli.js(6,37): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/ls-depth-cli.js(9,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/ls-depth-unmet.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/ls-depth-unmet.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/ls-env.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/ls-env.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/ls-l-depth-0.js(6,37): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/ls-l-depth-0.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/ls-no-results.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/ls-production-and-dev.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/ls-production-and-dev.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/ls-top-errors.js(5,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/ls.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/ls.js(9,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/map-to-registry.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/map-to-registry.js(14,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(23,28): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(38,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(39,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(40,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(41,29): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(56,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(57,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(58,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(59,34): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(74,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(75,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(76,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(77,35): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(94,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(95,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(96,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(101,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(123,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(143,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(146,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/nerf-dart.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/nested-extraneous.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/no-global-warns.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/no-scan-full-global-dir.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/no-scan-full-global-dir.js(5,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/no-scan-full-global-dir.js(28,6): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/test/tap/no-scan-full-global-dir.js(34,6): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/test/tap/no-scan-full-global-dir.js(43,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/no-scan-full-global-dir.js(71,8): error TS2339: Property 'loadCurrentTree' does not exist on type 'TestInstaller'. -node_modules/npm/test/tap/no-scan-full-global-dir.js(72,21): error TS2339: Property 'currentTree' does not exist on type 'TestInstaller'. -node_modules/npm/test/tap/no-scan-full-global-dir.js(96,10): error TS2339: Property 'loadCurrentTree' does not exist on type 'TestUninstaller'. -node_modules/npm/test/tap/no-scan-full-global-dir.js(97,23): error TS2339: Property 'currentTree' does not exist on type 'TestUninstaller'. -node_modules/npm/test/tap/noargs-install-config-save.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/noargs-install-config-save.js(8,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/node-modules-path-munge.js(2,17): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/normalize-package-explode.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/normalize-package-explode.js(16,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/npm-api-not-loaded-error.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/npm-api-not-loaded-error.js(16,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/npm-api-not-loaded-error.js(26,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/npm-api-not-loaded-error.js(34,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/npm-api-not-loaded-error.js(37,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/npm-api-not-loaded-error.js(38,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/npm-api-not-loaded-error.js(39,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/onload.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/optional-metadep-rollback-collision.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/optional-metadep-rollback-collision.js(17,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/outdated-bad-read-tree.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/outdated-bad-read-tree.js(3,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/outdated-bad-read-tree.js(7,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/outdated-color.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/outdated-color.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/outdated-depth.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/outdated-depth.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/outdated-depth.js(48,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/outdated-depth.js(54,13): error TS2339: Property 'install' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/outdated-depth.js(56,15): error TS2339: Property 'outdated' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/outdated-git.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/outdated-git.js(35,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/outdated-git.js(36,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/outdated-json.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/outdated-json.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/outdated-long.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/outdated-long.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/outdated-long.js(63,31): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'. - Type 'IArguments' is missing the following properties from type 'any[]': pop, push, concat, join, and 26 more. -node_modules/npm/test/tap/outdated-long.js(66,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/outdated-long.js(74,13): error TS2339: Property 'install' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/outdated-long.js(76,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/outdated-long.js(77,15): error TS2339: Property 'outdated' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/outdated.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/outdated.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/outdated.js(92,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/outdated.js(100,13): error TS2339: Property 'install' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/outdated.js(103,39): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'. -node_modules/npm/test/tap/outdated.js(105,15): error TS2339: Property 'outdated' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/override-bundled.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/owner.js(1,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/owner.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/pack-files-and-ignores.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/pack-files-and-ignores.js(12,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/pack-scoped.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/pack-scoped.js(24,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'Mode | Options'. - Type '(er: any) => void' has no properties in common with type 'Options'. -node_modules/npm/test/tap/pack-scoped.js(25,17): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'Mode | Options'. -node_modules/npm/test/tap/pack-scoped.js(26,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'Mode | Options'. -node_modules/npm/test/tap/pack.js(5,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/peer-deps.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/peer-deps.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/pick-manifest-from-registry-metadata.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/pick-manifest-from-registry-metadata.js(21,11): error TS2532: Object is possibly 'undefined'. -node_modules/npm/test/tap/pick-manifest-from-registry-metadata.js(22,11): error TS2532: Object is possibly 'undefined'. -node_modules/npm/test/tap/pick-manifest-from-registry-metadata.js(24,11): error TS2532: Object is possibly 'undefined'. -node_modules/npm/test/tap/pick-manifest-from-registry-metadata.js(25,11): error TS2532: Object is possibly 'undefined'. -node_modules/npm/test/tap/pick-manifest-from-registry-metadata.js(44,11): error TS2532: Object is possibly 'undefined'. -node_modules/npm/test/tap/pick-manifest-from-registry-metadata.js(45,11): error TS2532: Object is possibly 'undefined'. -node_modules/npm/test/tap/pick-manifest-from-registry-metadata.js(61,11): error TS2532: Object is possibly 'undefined'. -node_modules/npm/test/tap/pick-manifest-from-registry-metadata.js(62,11): error TS2532: Object is possibly 'undefined'. -node_modules/npm/test/tap/pick-manifest-from-registry-metadata.js(78,11): error TS2532: Object is possibly 'undefined'. -node_modules/npm/test/tap/pick-manifest-from-registry-metadata.js(79,11): error TS2532: Object is possibly 'undefined'. -node_modules/npm/test/tap/pick-manifest-from-registry-metadata.js(112,11): error TS2532: Object is possibly 'undefined'. -node_modules/npm/test/tap/pick-manifest-from-registry-metadata.js(113,11): error TS2532: Object is possibly 'undefined'. -node_modules/npm/test/tap/pick-manifest-from-registry-metadata.js(116,11): error TS2532: Object is possibly 'undefined'. -node_modules/npm/test/tap/pick-manifest-from-registry-metadata.js(117,11): error TS2532: Object is possibly 'undefined'. -node_modules/npm/test/tap/pick-manifest-from-registry-metadata.js(136,11): error TS2532: Object is possibly 'undefined'. -node_modules/npm/test/tap/pick-manifest-from-registry-metadata.js(137,11): error TS2532: Object is possibly 'undefined'. -node_modules/npm/test/tap/ping.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/ping.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/prepare.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/prepare.js(16,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'Mode | Options'. - Type '(er: any) => void' has no properties in common with type 'Options'. -node_modules/npm/test/tap/prepare.js(17,17): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'Mode | Options'. -node_modules/npm/test/tap/prepare.js(18,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'Mode | Options'. -node_modules/npm/test/tap/prepublish-only.js(4,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/prepublish-only.js(5,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/prepublish-only.js(6,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/prepublish.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/prepublish.js(16,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'Mode | Options'. - Type '(er: any) => void' has no properties in common with type 'Options'. -node_modules/npm/test/tap/prepublish.js(17,17): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'Mode | Options'. -node_modules/npm/test/tap/prepublish.js(18,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'Mode | Options'. -node_modules/npm/test/tap/process-logger.js(2,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/process-logger.js(7,61): error TS2554: Expected 1-3 arguments, but got 4. -node_modules/npm/test/tap/process-logger.js(8,37): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type '"log"' is not assignable to parameter of type 'Signals'. -node_modules/npm/test/tap/process-logger.js(9,37): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type '"log"' is not assignable to parameter of type 'Signals'. -node_modules/npm/test/tap/process-logger.js(10,37): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type '"log"' is not assignable to parameter of type 'Signals'. -node_modules/npm/test/tap/progress-config.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/progress-config.js(12,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/prune-dev-dep-cycle.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/prune-dev-dep-cycle.js(5,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/prune-dev-dep-with-bins.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/prune-dev-dep-with-bins.js(5,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/prune-with-dev-dep-duplicate.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/prune-with-dev-dep-duplicate.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/prune-with-only-dev-deps.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/prune-with-only-dev-deps.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/prune.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/prune.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/publish-access-scoped.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/publish-access-scoped.js(7,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/publish-access-scoped.js(31,35): error TS2345: Argument of type '() => void' is not assignable to parameter of type 'Mode | Options'. - Type '() => void' has no properties in common with type 'Options'. -node_modules/npm/test/tap/publish-access-unscoped-restricted-fails.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/publish-access-unscoped.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/publish-access-unscoped.js(7,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/publish-access-unscoped.js(31,35): error TS2345: Argument of type '() => void' is not assignable to parameter of type 'Mode | Options'. - Type '() => void' has no properties in common with type 'Options'. -node_modules/npm/test/tap/publish-config.js(4,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/publish-invalid-semver-tag.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/publish-invalid-semver-tag.js(8,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/publish-invalid-semver-tag.js(26,59): error TS2345: Argument of type '{ name: string; version: string; }' is not assignable to parameter of type 'string | ArrayBufferView'. - Type '{ name: string; version: string; }' is missing the following properties from type 'BigUint64Array': BYTES_PER_ELEMENT, buffer, byteLength, byteOffset, and 26 more. -node_modules/npm/test/tap/publish-invalid-semver-tag.js(37,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/publish-invalid-semver-tag.js(53,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/publish-invalid-semver-tag.js(54,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/publish-invalid-semver-tag.js(64,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/publish-invalid-semver-tag.js(65,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/publish-scoped.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/publish-scoped.js(8,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/publish.js(8,33): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/publish.js(11,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/publish.js(56,47): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'number' is not assignable to parameter of type 'string | RegExp'. -node_modules/npm/test/tap/publish.js(117,45): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type 'number' is not assignable to parameter of type 'string | RegExp'. -node_modules/npm/test/tap/pwd-prefix.js(5,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/referer.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/repo.js(2,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/repo.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/retry-on-stale-cache.js(3,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/retry-on-stale-cache.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/retry-on-stale-cache.js(6,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/tap/retry-on-stale-cache.js(7,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/run-script-filter-private.js(6,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/run-script.js(5,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/run-script.js(213,18): error TS2769: No overload matches this call. - Overload 1 of 3, '(pattern: string | RegExp, flags?: string | undefined): RegExp', gave the following error. - Argument of type 'string | undefined' is not assignable to parameter of type 'string | RegExp'. - Type 'undefined' is not assignable to type 'string | RegExp'. - Overload 2 of 3, '(pattern: string | RegExp): RegExp', gave the following error. - Argument of type 'string | undefined' is not assignable to parameter of type 'string | RegExp'. - Overload 3 of 3, '(pattern: string, flags?: string | undefined): RegExp', gave the following error. - Argument of type 'string | undefined' is not assignable to parameter of type 'string'. - Type 'undefined' is not assignable to type 'string'. -node_modules/npm/test/tap/run-script.js(256,18): error TS2769: No overload matches this call. - Overload 1 of 3, '(pattern: string | RegExp, flags?: string | undefined): RegExp', gave the following error. - Argument of type 'string | undefined' is not assignable to parameter of type 'string | RegExp'. - Overload 2 of 3, '(pattern: string | RegExp): RegExp', gave the following error. - Argument of type 'string | undefined' is not assignable to parameter of type 'string | RegExp'. - Overload 3 of 3, '(pattern: string, flags?: string | undefined): RegExp', gave the following error. - Argument of type 'string | undefined' is not assignable to parameter of type 'string'. - Type 'undefined' is not assignable to type 'string'. -node_modules/npm/test/tap/save-optional.js(3,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/save-optional.js(4,20): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/save-optional.js(5,23): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/save-optional.js(70,30): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/scope-header.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/scope-header.js(4,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/scope-header.js(5,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/scripts-whitespace-windows.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/scripts-whitespace-windows.js(38,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/tap/search.all-package-search.js(3,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/search.all-package-search.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/search.all-package-search.js(8,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/search.esearch.js(4,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/search.esearch.js(9,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/search.esearch.js(33,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/search.js(3,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/search.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/search.js(8,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/semver-doc.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shared-linked.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shared-linked.js(4,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/shared-linked.js(9,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/shared-linked.js(10,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/tap/shrinkwrap-_auth.js(12,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-default-dev.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-default-dev.js(5,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-default-dev.js(8,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/tap/shrinkwrap-default-dev.js(85,28): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/shrinkwrap-dev-dependency.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-dev-dependency.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-dev-dependency.js(78,36): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/shrinkwrap-empty-deps.js(6,20): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-empty-deps.js(10,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-empty-deps.js(52,24): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/shrinkwrap-extra-metadata.js(6,20): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-extra-metadata.js(11,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-extra-metadata.js(52,38): error TS2339: Property 'lockfileVersion' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/shrinkwrap-extra-metadata.js(55,24): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/shrinkwrap-global-auth.js(8,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-global-auth.js(12,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-lifecycle-cwd.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-lifecycle-cwd.js(4,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-lifecycle-cwd.js(5,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-lifecycle-cwd.js(8,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/tap/shrinkwrap-lifecycle.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-local-dependency.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-local-dependency.js(6,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-nested.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-nested.js(4,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-optional-dependency.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-optional-dependency.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-optional-platform.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-optional-platform.js(4,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-optional-platform.js(7,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/tap/shrinkwrap-optional-property.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-optional-property.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-prod-dependency-also.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-prod-dependency-also.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-prod-dependency-also.js(43,38): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/shrinkwrap-prod-dependency.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-prod-dependency.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-resolve-conflict.js(9,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-resolve-conflict.js(10,23): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-save-dev-with-existing-deps.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-save-dev-with-existing-deps.js(90,33): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/shrinkwrap-save-with-existing-dev-deps.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-save-with-existing-dev-deps.js(72,33): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/shrinkwrap-scoped-auth.js(8,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-scoped-auth.js(12,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-shared-dev-dependency.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-shared-dev-dependency.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-shared-dev-dependency.js(69,30): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/shrinkwrap-version-match.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/shrinkwrap-version-match.js(3,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/sorted-package-json.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/sorted-package-json.js(10,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/spawn-enoent-help.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/spawn-enoent-help.js(28,20): error TS2339: Property 'cooked' does not exist on type 'Global & typeof globalThis'. -node_modules/npm/test/tap/spawn-enoent.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/spec-local-specifiers.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/spec-local-specifiers.js(6,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/spec-local-specifiers.js(7,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/spec-local-specifiers.js(38,21): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/splat-with-only-prerelease-to-latest.js(4,20): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/splat-with-only-prerelease-to-latest.js(9,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/splat-with-only-prerelease-to-latest.js(62,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/splat-with-only-prerelease-to-latest.js(76,14): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/splat-with-only-prerelease-to-latest.js(85,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/splat-with-only-prerelease-to-latest.js(86,16): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/startstop.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/symlink-cycle.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/tag-version-prefix.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/tag-version-prefix.js(24,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/tagged-version-matching.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/tagged-version-matching.js(4,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/tagged-version-matching.js(8,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/tap/team.js(1,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/team.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/test-run-ls.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/test-run-ls.js(5,26): error TS2732: Cannot find module '../../package.json'. Consider using '--resolveJsonModule' to import module with '.json' extension. -node_modules/npm/test/tap/tree-style.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/umask-lifecycle.js(6,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/uninstall-in-reverse.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/uninstall-in-reverse.js(3,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/uninstall-link-clean.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'PlatformPath'. -node_modules/npm/test/tap/uninstall-link-clean.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/uninstall-package.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/uninstall-package.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/uninstall-save.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/uninstall-save.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/uninstall-save.js(42,21): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/unit-child-path.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/unit-deps-earliestInstallable.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/unit-deps-earliestInstallable.js(3,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/unit-deps-removeObsoleteDep.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/unit-deps-removeObsoleteDep.js(3,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/unit-deps-removeObsoleteDep.js(32,26): error TS2345: Argument of type '{ requires: { requiredBy: never[]; }[]; }' is not assignable to parameter of type 'never'. -node_modules/npm/test/tap/unit-deps-removeObsoleteDep.js(40,26): error TS2345: Argument of type '{ requires: { requiredBy: { isTop: boolean; }[]; }[]; }' is not assignable to parameter of type '{ isTop: boolean; }'. - Property 'isTop' is missing in type '{ requires: { requiredBy: { isTop: boolean; }[]; }[]; }' but required in type '{ isTop: boolean; }'. -node_modules/npm/test/tap/unit-deps-replaceModule.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/unit-deps-replaceModule.js(6,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/unit-module-name.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/unit-package-id.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/unit-token-validate-cidr.js(2,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/unit-token-validate-cidr.js(3,31): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/unpack-foreign-tarball.js(4,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/unpublish-config.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/unsupported.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/update-examples.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/update-examples.js(6,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/update-examples.js(10,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/update-examples.js(127,15): error TS2565: Property 'prototype' is used before being assigned. -node_modules/npm/test/tap/update-path.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/update-path.js(3,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/upgrade-lifecycles.js(3,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/upgrade-lifecycles.js(4,21): error TS2307: Cannot find module 'tacks' or its corresponding type declarations. -node_modules/npm/test/tap/upgrade-lifecycles.js(7,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. -node_modules/npm/test/tap/url-dependencies.js(5,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/url-dependencies.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/verify-no-lifecycle-on-repo.js(6,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/verify-no-lifecycle-on-repo.js(7,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/version-allow-same-version.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/version-allow-same-version.js(24,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-allow-same-version.js(41,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-commit-hooks-default.js(1,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/version-commit-hooks-default.js(9,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-commit-hooks-default.js(10,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-commit-hooks.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/version-commit-hooks.js(19,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-commit-hooks.js(23,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-commit-hooks.js(29,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-commit-hooks.js(30,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-commit-hooks.js(45,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-commit-hooks.js(46,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-consistent-newlines.js(4,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/version-consistent-newlines.js(11,31): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/version-consistent-newlines.js(20,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-consistent-newlines.js(46,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/version-from-git.js(25,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(26,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(54,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(55,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(78,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(79,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(80,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(110,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(111,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(112,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(140,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(141,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(157,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(158,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(173,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(174,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(202,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(213,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-git-not-clean.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/version-git-not-clean.js(17,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-git-not-clean.js(42,17): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-lifecycle.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/version-lifecycle.js(28,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-lifecycle.js(50,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-lifecycle.js(72,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-lifecycle.js(98,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-message-config.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/version-message-config.js(24,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-no-git.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/version-no-git.js(9,29): error TS2307: Cannot find module 'require-inject' or its corresponding type declarations. -node_modules/npm/test/tap/version-no-git.js(17,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-no-package.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/version-no-tags.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/version-no-tags.js(17,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-no-tags.js(34,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-no-tags.js(35,13): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-sub-directory-shrinkwrap.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/version-sub-directory-shrinkwrap.js(25,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-sub-directory-shrinkwrap.js(36,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-sub-directory-shrinkwrap.js(37,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-sub-directory-shrinkwrap.js(41,36): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/version-sub-directory-shrinkwrap.js(43,33): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/test/tap/version-sub-directory.js(8,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/version-sub-directory.js(24,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-sub-directory.js(35,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-sub-directory.js(36,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-update-shrinkwrap.js(7,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/version-update-shrinkwrap.js(17,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-update-shrinkwrap.js(18,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-update-shrinkwrap.js(31,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-update-shrinkwrap.js(42,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-update-shrinkwrap.js(73,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-update-shrinkwrap.js(84,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/view.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. -node_modules/npm/test/tap/view.js(12,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/zz-cleanup.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. +lib/view.js(117,8): error TS2339: Property 'statusCode' does not exist on type 'Error'. +lib/view.js(118,8): error TS2339: Property 'code' does not exist on type 'Error'. +lib/view.js(119,8): error TS2339: Property 'pkgid' does not exist on type 'Error'. +lib/whoami.js(13,44): error TS2554: Expected 0-1 arguments, but got 2. diff --git a/tests/cases/user/npm/index.ts b/tests/cases/user/npm/index.ts deleted file mode 100644 index 15de2c1362..0000000000 --- a/tests/cases/user/npm/index.ts +++ /dev/null @@ -1 +0,0 @@ -import x = require('npm'); \ No newline at end of file diff --git a/tests/cases/user/npm/package.json b/tests/cases/user/npm/package.json deleted file mode 100644 index 4dd45107f1..0000000000 --- a/tests/cases/user/npm/package.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "npm-test", - "version": "1.0.0", - "description": "", - "main": "index.js", - "author": "", - "license": "Apache-2.0", - "dependencies": { - "npm": "^5.7.1" - }, - "devDependencies": { - "@types/node": "latest" - } -} diff --git a/tests/cases/user/npm/test.json b/tests/cases/user/npm/test.json new file mode 100644 index 0000000000..d3056a0803 --- /dev/null +++ b/tests/cases/user/npm/test.json @@ -0,0 +1,4 @@ +{ + "cloneUrl": "https://github.com/npm/cli.git", + "types": ["node"] +} diff --git a/tests/cases/user/npm/tsconfig.json b/tests/cases/user/npm/tsconfig.json index f1bfac4f0d..2752f73ad0 100644 --- a/tests/cases/user/npm/tsconfig.json +++ b/tests/cases/user/npm/tsconfig.json @@ -1,23 +1,18 @@ { "compilerOptions": { + "moduleResolution": "node", + "module": "commonjs", + "resolveJsonModule": true, + "target": "es2019", "noImplicitAny": false, - "noImplicitThis": false, - "maxNodeModuleJsDepth": 0, + "noImplicitThis": true, "strict": true, + "maxNodeModuleJsDepth": 0, "noEmit": true, "allowJs": true, "checkJs": true, - "types": [ - "node" - ], - "lib": [ - "esnext", - "dom", - "scripthost" - ] + "types": ["node"], + "lib": ["esnext"] }, - "include": [ - "node_modules/npm", - "index.ts" - ] -} \ No newline at end of file + "include": ["npm/lib"] +}