{"action":"opened","issue":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/4422","repository_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown","labels_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/4422/labels{/name}","comments_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/4422/comments","events_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/4422/events","html_url":"https://github.com/Zarel/Pokemon-Showdown/issues/4422","id":298030950,"number":4422,"title":"Build fails in fresh Windows install (TSC)","user":{"login":"Slayer95","id":4925744,"avatar_url":"https://avatars1.githubusercontent.com/u/4925744?v=4","gravatar_id":"","url":"https://api.github.com/users/Slayer95","html_url":"https://github.com/Slayer95","followers_url":"https://api.github.com/users/Slayer95/followers","following_url":"https://api.github.com/users/Slayer95/following{/other_user}","gists_url":"https://api.github.com/users/Slayer95/gists{/gist_id}","starred_url":"https://api.github.com/users/Slayer95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Slayer95/subscriptions","organizations_url":"https://api.github.com/users/Slayer95/orgs","repos_url":"https://api.github.com/users/Slayer95/repos","events_url":"https://api.github.com/users/Slayer95/events{/privacy}","received_events_url":"https://api.github.com/users/Slayer95/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-17T19:44:49Z","updated_at":"2018-02-17T19:44:49Z","closed_at":null,"author_association":"COLLABORATOR","body":"```\r\nC:\\Users\\Ivo\\Desktop\\Pokemon-Showdown>npm install\r\n\r\n> gc-stats@1.1.0 install C:\\Users\\Ivo\\Desktop\\Pokemon-Showdown\\node_modules\\gc-s\r\ntats\r\n> node-pre-gyp install --fallback-to-build\r\n\r\n[gc-stats] Success: \"C:\\Users\\Ivo\\Desktop\\Pokemon-Showdown\\node_modules\\gc-stats\r\n\\build\\gcstats\\v1.1.0\\Release\\node-v57-win32-x64\\gcstats.node\" is installed via\r\nremote\r\nadded 255 packages in 116.534s\r\n\r\nC:\\Users\\Ivo\\Desktop\\Pokemon-Showdown>npm test\r\n\r\n> pokemon-showdown@0.11.2 test C:\\Users\\Ivo\\Desktop\\Pokemon-Showdown\r\n> eslint --cache . && tsc && mocha\r\n\r\npunishments.js(67,2): error TS2416: Property 'forEach' in type 'PunishmentMap' i\r\ns not assignable to the same property in base type 'Map<string, [string, string,\r\n number, string]>'.\r\n  Type '(callback: (punishment: [string, string, number, string], id: string) =>\r\n void) => void' is not assignable to type '(callbackfn: (value: [string, string,\r\n number, string], key: string, map: Map<string, [string, str...'.\r\n    Types of parameters 'callback' and 'callbackfn' are incompatible.\r\nnpm ERR! Test failed.  See above for more details.\r\n```\r\nEnvironment:\r\nWindows 7 Professional SP1\r\n```\r\nC:\\Users\\Ivo\\Desktop\\Pokemon-Showdown>node -v\r\nv8.9.4\r\n\r\nC:\\Users\\Ivo\\Desktop\\Pokemon-Showdown>npm -v\r\n5.6.0\r\n\r\nC:\\Users\\Ivo\\Desktop\\Pokemon-Showdown>npm ls\r\npokemon-showdown@0.11.2 C:\\Users\\Ivo\\Desktop\\Pokemon-Showdown\r\n+-- @types/node@8.9.4\r\n+-- @types/nodemailer@4.3.4\r\n| +-- @types/events@1.1.0\r\n| `-- @types/node@8.9.4 deduped\r\n+-- cloud-env@0.2.2\r\n+-- eslint@4.18.0\r\n| +-- ajv@5.5.2\r\n| | +-- co@4.6.0\r\n| | +-- fast-deep-equal@1.0.0\r\n| | +-- fast-json-stable-stringify@2.0.0\r\n| | `-- json-schema-traverse@0.3.1\r\n| +-- babel-code-frame@6.26.0\r\n| | +-- chalk@1.1.3\r\n| | | +-- ansi-styles@2.2.1\r\n| | | +-- escape-string-regexp@1.0.5 deduped\r\n| | | +-- has-ansi@2.0.0\r\n| | | | `-- ansi-regex@2.1.1\r\n| | | +-- strip-ansi@3.0.1\r\n| | | | `-- ansi-regex@2.1.1 deduped\r\n| | | `-- supports-color@2.0.0\r\n| | +-- esutils@2.0.2 deduped\r\n| | `-- js-tokens@3.0.2\r\n| +-- chalk@2.3.1\r\n| | +-- ansi-styles@3.2.0\r\n| | | `-- color-convert@1.9.1\r\n| | |   `-- color-name@1.1.3\r\n| | +-- escape-string-regexp@1.0.5 deduped\r\n| | `-- supports-color@5.2.0\r\n| |   `-- has-flag@3.0.0\r\n| +-- concat-stream@1.6.0\r\n| | +-- inherits@2.0.3\r\n| | +-- readable-stream@2.3.4\r\n| | | +-- core-util-is@1.0.2\r\n| | | +-- inherits@2.0.3 deduped\r\n| | | +-- isarray@1.0.0\r\n| | | +-- process-nextick-args@2.0.0\r\n| | | +-- safe-buffer@5.1.1 deduped\r\n| | | +-- string_decoder@1.0.3\r\n| | | | `-- safe-buffer@5.1.1 deduped\r\n| | | `-- util-deprecate@1.0.2\r\n| | `-- typedarray@0.0.6\r\n| +-- cross-spawn@5.1.0\r\n| | +-- lru-cache@4.1.1\r\n| | | +-- pseudomap@1.0.2\r\n| | | `-- yallist@2.1.2\r\n| | +-- shebang-command@1.2.0\r\n| | | `-- shebang-regex@1.0.0\r\n| | `-- which@1.3.0\r\n| |   `-- isexe@2.0.0\r\n| +-- debug@3.1.0\r\n| | `-- ms@2.0.0\r\n| +-- doctrine@2.1.0\r\n| | `-- esutils@2.0.2 deduped\r\n| +-- eslint-scope@3.7.1\r\n| | +-- esrecurse@4.2.0\r\n| | | +-- estraverse@4.2.0 deduped\r\n| | | `-- object-assign@4.1.1 deduped\r\n| | `-- estraverse@4.2.0\r\n| +-- eslint-visitor-keys@1.0.0\r\n| +-- espree@3.5.3\r\n| | +-- acorn@5.4.1\r\n| | `-- acorn-jsx@3.0.1\r\n| |   `-- acorn@3.3.0\r\n| +-- esquery@1.0.0\r\n| | `-- estraverse@4.2.0 deduped\r\n| +-- esutils@2.0.2\r\n| +-- file-entry-cache@2.0.0\r\n| | +-- flat-cache@1.3.0\r\n| | | +-- circular-json@0.3.3\r\n| | | +-- del@2.2.2\r\n| | | | +-- globby@5.0.0\r\n| | | | | +-- array-union@1.0.2\r\n| | | | | | `-- array-uniq@1.0.3\r\n| | | | | +-- arrify@1.0.1\r\n| | | | | +-- glob@7.1.2 deduped\r\n| | | | | +-- object-assign@4.1.1 deduped\r\n| | | | | +-- pify@2.3.0 deduped\r\n| | | | | `-- pinkie-promise@2.0.1 deduped\r\n| | | | +-- is-path-cwd@1.0.0\r\n| | | | +-- is-path-in-cwd@1.0.0\r\n| | | | | `-- is-path-inside@1.0.1\r\n| | | | |   `-- path-is-inside@1.0.2 deduped\r\n| | | | +-- object-assign@4.1.1 deduped\r\n| | | | +-- pify@2.3.0\r\n| | | | +-- pinkie-promise@2.0.1\r\n| | | | | `-- pinkie@2.0.4\r\n| | | | `-- rimraf@2.6.2 deduped\r\n| | | +-- graceful-fs@4.1.11\r\n| | | `-- write@0.2.1\r\n| | |   `-- mkdirp@0.5.1 deduped\r\n| | `-- object-assign@4.1.1\r\n| +-- functional-red-black-tree@1.0.1\r\n| +-- glob@7.1.2\r\n| | +-- fs.realpath@1.0.0\r\n| | +-- inflight@1.0.6\r\n| | | +-- once@1.4.0 deduped\r\n| | | `-- wrappy@1.0.2\r\n| | +-- inherits@2.0.3 deduped\r\n| | +-- minimatch@3.0.4 deduped\r\n| | +-- once@1.4.0\r\n| | | `-- wrappy@1.0.2 deduped\r\n| | `-- path-is-absolute@1.0.1\r\n| +-- globals@11.3.0\r\n| +-- ignore@3.3.7\r\n| +-- imurmurhash@0.1.4\r\n| +-- inquirer@3.3.0\r\n| | +-- ansi-escapes@3.0.0\r\n| | +-- chalk@2.3.1 deduped\r\n| | +-- cli-cursor@2.1.0\r\n| | | `-- restore-cursor@2.0.0\r\n| | |   +-- onetime@2.0.1\r\n| | |   | `-- mimic-fn@1.2.0\r\n| | |   `-- signal-exit@3.0.2\r\n| | +-- cli-width@2.2.0\r\n| | +-- external-editor@2.1.0\r\n| | | +-- chardet@0.4.2\r\n| | | +-- iconv-lite@0.4.19\r\n| | | `-- tmp@0.0.33\r\n| | |   `-- os-tmpdir@1.0.2\r\n| | +-- figures@2.0.0\r\n| | | `-- escape-string-regexp@1.0.5 deduped\r\n| | +-- lodash@4.17.5 deduped\r\n| | +-- mute-stream@0.0.7\r\n| | +-- run-async@2.3.0\r\n| | | `-- is-promise@2.1.0\r\n| | +-- rx-lite@4.0.8\r\n| | +-- rx-lite-aggregates@4.0.8\r\n| | | `-- rx-lite@4.0.8 deduped\r\n| | +-- string-width@2.1.1\r\n| | | +-- is-fullwidth-code-point@2.0.0\r\n| | | `-- strip-ansi@4.0.0 deduped\r\n| | +-- strip-ansi@4.0.0\r\n| | | `-- ansi-regex@3.0.0\r\n| | `-- through@2.3.8\r\n| +-- is-resolvable@1.1.0\r\n| +-- js-yaml@3.10.0\r\n| | +-- argparse@1.0.10\r\n| | | `-- sprintf-js@1.0.3\r\n| | `-- esprima@4.0.0\r\n| +-- json-stable-stringify-without-jsonify@1.0.1\r\n| +-- levn@0.3.0\r\n| | +-- prelude-ls@1.1.2\r\n| | `-- type-check@0.3.2\r\n| |   `-- prelude-ls@1.1.2 deduped\r\n| +-- lodash@4.17.5\r\n| +-- minimatch@3.0.4\r\n| | `-- brace-expansion@1.1.11\r\n| |   +-- balanced-match@1.0.0\r\n| |   `-- concat-map@0.0.1\r\n| +-- mkdirp@0.5.1\r\n| | `-- minimist@0.0.8\r\n| +-- natural-compare@1.4.0\r\n| +-- optionator@0.8.2\r\n| | +-- deep-is@0.1.3\r\n| | +-- fast-levenshtein@2.0.6\r\n| | +-- levn@0.3.0 deduped\r\n| | +-- prelude-ls@1.1.2 deduped\r\n| | +-- type-check@0.3.2 deduped\r\n| | `-- wordwrap@1.0.0\r\n| +-- path-is-inside@1.0.2\r\n| +-- pluralize@7.0.0\r\n| +-- progress@2.0.0\r\n| +-- require-uncached@1.0.3\r\n| | +-- caller-path@0.1.0\r\n| | | `-- callsites@0.2.0\r\n| | `-- resolve-from@1.0.1\r\n| +-- semver@5.5.0\r\n| +-- strip-ansi@4.0.0\r\n| | `-- ansi-regex@3.0.0\r\n| +-- strip-json-comments@2.0.1\r\n| +-- table@4.0.2\r\n| | +-- ajv@5.5.2 deduped\r\n| | +-- ajv-keywords@2.1.1\r\n| | +-- chalk@2.3.1 deduped\r\n| | +-- lodash@4.17.5 deduped\r\n| | +-- slice-ansi@1.0.0\r\n| | | `-- is-fullwidth-code-point@2.0.0\r\n| | `-- string-width@2.1.1\r\n| |   +-- is-fullwidth-code-point@2.0.0\r\n| |   `-- strip-ansi@4.0.0\r\n| |     `-- ansi-regex@3.0.0\r\n| `-- text-table@0.2.0\r\n+-- mocha@4.1.0\r\n| +-- browser-stdout@1.3.0\r\n| +-- commander@2.11.0\r\n| +-- debug@3.1.0\r\n| | `-- ms@2.0.0 deduped\r\n| +-- diff@3.3.1\r\n| +-- escape-string-regexp@1.0.5\r\n| +-- glob@7.1.2 deduped\r\n| +-- growl@1.10.3\r\n| +-- he@1.1.1\r\n| +-- mkdirp@0.5.1 deduped\r\n| `-- supports-color@4.4.0\r\n|   `-- has-flag@2.0.0\r\n+-- node-oom-heapdump@1.0.12\r\n| +-- chrome-remote-interface@0.25.5\r\n| | +-- commander@2.11.0 deduped\r\n| | `-- ws@3.3.3\r\n| |   +-- async-limiter@1.0.0 deduped\r\n| |   +-- safe-buffer@5.1.1 deduped\r\n| |   `-- ultron@1.1.1 deduped\r\n| +-- gc-stats@1.1.0\r\n| | +-- nan@2.8.0\r\n| | `-- node-pre-gyp@0.6.36\r\n| |   +-- mkdirp@0.5.1 deduped\r\n| |   +-- nopt@4.0.1\r\n| |   | +-- abbrev@1.1.1\r\n| |   | `-- osenv@0.1.5\r\n| |   |   +-- os-homedir@1.0.2\r\n| |   |   `-- os-tmpdir@1.0.2 deduped\r\n| |   +-- npmlog@4.1.2\r\n| |   | +-- are-we-there-yet@1.1.4\r\n| |   | | +-- delegates@1.0.0\r\n| |   | | `-- readable-stream@2.3.4 deduped\r\n| |   | +-- console-control-strings@1.1.0\r\n| |   | +-- gauge@2.7.4\r\n| |   | | +-- aproba@1.2.0\r\n| |   | | +-- console-control-strings@1.1.0 deduped\r\n| |   | | +-- has-unicode@2.0.1\r\n| |   | | +-- object-assign@4.1.1 deduped\r\n| |   | | +-- signal-exit@3.0.2 deduped\r\n| |   | | +-- string-width@1.0.2\r\n| |   | | | +-- code-point-at@1.1.0\r\n| |   | | | +-- is-fullwidth-code-point@1.0.0\r\n| |   | | | | `-- number-is-nan@1.0.1\r\n| |   | | | `-- strip-ansi@3.0.1 deduped\r\n| |   | | +-- strip-ansi@3.0.1 deduped\r\n| |   | | `-- wide-align@1.1.2\r\n| |   | |   `-- string-width@1.0.2 deduped\r\n| |   | `-- set-blocking@2.0.0\r\n| |   +-- rc@1.2.5\r\n| |   | +-- deep-extend@0.4.2\r\n| |   | +-- ini@1.3.5\r\n| |   | +-- minimist@1.2.0\r\n| |   | `-- strip-json-comments@2.0.1 deduped\r\n| |   +-- request@2.83.0\r\n| |   | +-- aws-sign2@0.7.0\r\n| |   | +-- aws4@1.6.0\r\n| |   | +-- caseless@0.12.0\r\n| |   | +-- combined-stream@1.0.6\r\n| |   | | `-- delayed-stream@1.0.0\r\n| |   | +-- extend@3.0.1\r\n| |   | +-- forever-agent@0.6.1\r\n| |   | +-- form-data@2.3.2\r\n| |   | | +-- asynckit@0.4.0\r\n| |   | | +-- combined-stream@1.0.6 deduped\r\n| |   | | `-- mime-types@2.1.18 deduped\r\n| |   | +-- har-validator@5.0.3\r\n| |   | | +-- ajv@5.5.2 deduped\r\n| |   | | `-- har-schema@2.0.0\r\n| |   | +-- hawk@6.0.2\r\n| |   | | +-- boom@4.3.1\r\n| |   | | | `-- hoek@4.2.1 deduped\r\n| |   | | +-- cryptiles@3.1.2\r\n| |   | | | `-- boom@5.2.0\r\n| |   | | |   `-- hoek@4.2.1 deduped\r\n| |   | | +-- hoek@4.2.1\r\n| |   | | `-- sntp@2.1.0\r\n| |   | |   `-- hoek@4.2.1 deduped\r\n| |   | +-- http-signature@1.2.0\r\n| |   | | +-- assert-plus@1.0.0\r\n| |   | | +-- jsprim@1.4.1\r\n| |   | | | +-- assert-plus@1.0.0 deduped\r\n| |   | | | +-- extsprintf@1.3.0\r\n| |   | | | +-- json-schema@0.2.3\r\n| |   | | | `-- verror@1.10.0\r\n| |   | | |   +-- assert-plus@1.0.0 deduped\r\n| |   | | |   +-- core-util-is@1.0.2 deduped\r\n| |   | | |   `-- extsprintf@1.3.0 deduped\r\n| |   | | `-- sshpk@1.13.1\r\n| |   | |   +-- asn1@0.2.3\r\n| |   | |   +-- assert-plus@1.0.0 deduped\r\n| |   | |   +-- bcrypt-pbkdf@1.0.1\r\n| |   | |   | `-- tweetnacl@0.14.5 deduped\r\n| |   | |   +-- dashdash@1.14.1\r\n| |   | |   | `-- assert-plus@1.0.0 deduped\r\n| |   | |   +-- ecc-jsbn@0.1.1\r\n| |   | |   | `-- jsbn@0.1.1 deduped\r\n| |   | |   +-- getpass@0.1.7\r\n| |   | |   | `-- assert-plus@1.0.0 deduped\r\n| |   | |   +-- jsbn@0.1.1\r\n| |   | |   `-- tweetnacl@0.14.5\r\n| |   | +-- is-typedarray@1.0.0\r\n| |   | +-- isstream@0.1.2\r\n| |   | +-- json-stringify-safe@5.0.1\r\n| |   | +-- mime-types@2.1.18\r\n| |   | | `-- mime-db@1.33.0\r\n| |   | +-- oauth-sign@0.8.2\r\n| |   | +-- performance-now@2.1.0\r\n| |   | +-- qs@6.5.1\r\n| |   | +-- safe-buffer@5.1.1 deduped\r\n| |   | +-- stringstream@0.0.5\r\n| |   | +-- tough-cookie@2.3.3\r\n| |   | | `-- punycode@1.4.1\r\n| |   | +-- tunnel-agent@0.6.0\r\n| |   | | `-- safe-buffer@5.1.1 deduped\r\n| |   | `-- uuid@3.2.1\r\n| |   +-- rimraf@2.6.2\r\n| |   | `-- glob@7.1.2 deduped\r\n| |   +-- semver@5.5.0 deduped\r\n| |   +-- tar@2.2.1\r\n| |   | +-- block-stream@0.0.9\r\n| |   | | `-- inherits@2.0.3 deduped\r\n| |   | +-- fstream@1.0.11\r\n| |   | | +-- graceful-fs@4.1.11 deduped\r\n| |   | | +-- inherits@2.0.3 deduped\r\n| |   | | +-- mkdirp@0.5.1 deduped\r\n| |   | | `-- rimraf@2.6.2 deduped\r\n| |   | `-- inherits@2.0.3 deduped\r\n| |   `-- tar-pack@3.4.1\r\n| |     +-- debug@2.6.9\r\n| |     | `-- ms@2.0.0 deduped\r\n| |     +-- fstream@1.0.11 deduped\r\n| |     +-- fstream-ignore@1.0.5\r\n| |     | +-- fstream@1.0.11 deduped\r\n| |     | +-- inherits@2.0.3 deduped\r\n| |     | `-- minimatch@3.0.4 deduped\r\n| |     +-- once@1.4.0 deduped\r\n| |     +-- readable-stream@2.3.4 deduped\r\n| |     +-- rimraf@2.6.2 deduped\r\n| |     +-- tar@2.2.1 deduped\r\n| |     `-- uid-number@0.0.6\r\n| +-- require-main-filename@1.0.1\r\n| `-- ws@4.0.0\r\n|   +-- async-limiter@1.0.0\r\n|   +-- safe-buffer@5.1.1\r\n|   `-- ultron@1.1.1\r\n+-- node-static@0.7.10\r\n| +-- colors@1.1.2\r\n| +-- mime@1.6.0\r\n| `-- optimist@0.6.1\r\n|   +-- minimist@0.0.8 deduped\r\n|   `-- wordwrap@0.0.3\r\n+-- nodemailer@4.4.0\r\n+-- permessage-deflate@0.1.6\r\n+-- sockjs@0.3.18\r\n| +-- faye-websocket@0.10.0\r\n| | `-- websocket-driver@0.7.0\r\n| |   +-- http-parser-js@0.4.10\r\n| |   `-- websocket-extensions@0.1.3\r\n| `-- uuid@2.0.3\r\n`-- typescript@2.7.2\r\n```"}}
{"actor":{"display_login":"Slayer95"}}