output
```
Sending build context to Docker daemon 225.4MB
Step 1/18 : FROM node:16.6.2-alpine3.13 AS base
---> 996519d8e181
Step 2/18 : ENV NODE_ENV=production
---> Using cache
---> 1029467f8a79
Step 3/18 : WORKDIR /misskey
---> Using cache
---> 0d107ddac8b7
Step 4/18 : ENV BUILD_DEPS autoconf automake file g++ gcc libc-dev libtool make nasm pkgconfig python3 zlib-dev git
---> Using cache
---> bcce1dc9733c
Step 5/18 : FROM base AS builder
---> bcce1dc9733c
Step 6/18 : COPY . ./
---> 8f4711c4fae8
Step 7/18 : RUN apk add --no-cache $BUILD_DEPS && git submodule update --init && yarn install && yarn build && rm -rf .git
---> Running in 05edb94d3062
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz
(1/45) Upgrading musl (1.2.2-r0 -> 1.2.2-r1)
(2/45) Installing m4 (1.4.18-r2)
(3/45) Installing libbz2 (1.0.8-r1)
(4/45) Installing perl (5.32.0-r0)
(5/45) Installing autoconf (2.69-r3)
(6/45) Installing automake (1.16.3-r0)
(7/45) Installing libmagic (5.39-r0)
(8/45) Installing file (5.39-r0)
(9/45) Installing binutils (2.35.2-r1)
(10/45) Installing libgomp (10.2.1_pre1-r3)
(11/45) Installing libatomic (10.2.1_pre1-r3)
(12/45) Installing libgphobos (10.2.1_pre1-r3)
(13/45) Installing gmp (6.2.1-r0)
(14/45) Installing isl22 (0.22-r0)
(15/45) Installing mpfr4 (4.1.0-r0)
(16/45) Installing mpc1 (1.2.0-r0)
(17/45) Installing gcc (10.2.1_pre1-r3)
(18/45) Installing musl-dev (1.2.2-r1)
(19/45) Installing libc-dev (0.7.2-r3)
(20/45) Installing g++ (10.2.1_pre1-r3)
(21/45) Installing ca-certificates (20191127-r5)
(22/45) Installing brotli-libs (1.0.9-r3)
(23/45) Installing nghttp2-libs (1.42.0-r1)
(24/45) Installing libcurl (7.79.1-r0)
(25/45) Installing expat (2.2.10-r1)
(26/45) Installing pcre2 (10.36-r0)
(27/45) Installing git (2.30.2-r0)
(28/45) Installing perl-error (0.17029-r1)
(29/45) Installing perl-git (2.30.2-r0)
(30/45) Installing git-perl (2.30.2-r0)
(31/45) Installing ncurses-terminfo-base (6.2_p20210109-r0)
(32/45) Installing ncurses-libs (6.2_p20210109-r0)
(33/45) Installing readline (8.1.0-r0)
(34/45) Installing bash (5.1.0-r0)
Executing bash-5.1.0-r0.post-install
(35/45) Installing libltdl (2.4.6-r7)
(36/45) Installing libtool (2.4.6-r7)
(37/45) Installing make (4.3-r0)
(38/45) Installing nasm (2.15.05-r0)
(39/45) Installing pkgconf (1.7.3-r0)
(40/45) Installing libffi (3.3-r2)
(41/45) Installing gdbm (1.19-r0)
(42/45) Installing xz-libs (5.2.5-r0)
(43/45) Installing sqlite-libs (3.34.1-r0)
(44/45) Installing python3 (3.8.10-r0)
(45/45) Installing zlib-dev (1.2.11-r3)
Executing busybox-1.32.1-r6.trigger
Executing ca-certificates-20191127-r5.trigger
OK: 303 MiB in 60 packages
Submodule path 'misskey-assets': checked out '0179793ec891856d6f37a3be16ba4c22f67a81b5'
yarn install v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@2.1.3: The platform "linux" is incompatible with this module.
info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.13: The platform "linux" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
$ node ./scripts/install-packages.js
installing dependencies of packages/backend ...
yarn install v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@2.1.3: The platform "linux" is incompatible with this module.
info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[91mwarning " > css-loader@6.5.1" has unmet peer dependency "webpack@^5.0.0".
[0m[91mwarning " > cssnano@5.0.10" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default@5.1.6" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > css-declaration-sorter@6.0.3" has unmet peer dependency "postcss@^8.0.9".
[0m[91mwarning "cssnano > cssnano-preset-default > cssnano-utils@2.0.1" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-calc@8.0.0" has unmet peer dependency "postcss@^8.2.2".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-colormin@5.2.1" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-convert-values@5.0.2" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-discard-comments@5.0.1" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-discard-duplicates@5.0.1" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-discard-empty@5.0.1" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-discard-overridden@5.0.1" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-merge-longhand@5.0.3" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-merge-rules@5.0.2" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-minify-font-values@5.0.1" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-minify-gradients@5.0.3" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-minify-params@5.0.1" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-minify-selectors@5.1.0" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-normalize-charset@5.0.1" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-normalize-display-values@5.0.1" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-normalize-positions@5.0.1" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-normalize-repeat-style@5.0.1" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-normalize-string@5.0.1" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-normalize-timing-functions@5.0.1" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-normalize-unicode@5.0.1" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-normalize-url@5.0.2" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-normalize-whitespace@5.0.1" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-ordered-values@5.0.2" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-reduce-initial@5.0.1" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-reduce-transforms@5.0.1" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-svgo@5.0.3" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-unique-selectors@5.0.1" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "cssnano > cssnano-preset-default > postcss-merge-longhand > stylehacks@5.0.1" has unmet peer dependency "postcss@^8.2.15".
[0m[91mwarning "deep-email-validator > ts-jest@25.5.1" has unmet peer dependency "jest@>=25 <26".
[0m[91mwarning "deep-email-validator > ts-jest@25.5.1" has incorrect peer dependency "typescript@>=3.4 <4.0".
[0m[91mwarning " > json5-loader@4.0.1" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[0m[91mwarning " > style-loader@3.3.1" has unmet peer dependency "webpack@^5.0.0".
[0m[91mwarning "summaly > cheerio-httpcli@0.8.2" has incorrect peer dependency "@types/node@^14.17.5".
[0m[91mwarning " > ts-loader@9.2.6" has unmet peer dependency "webpack@^5.0.0".
[0m[4/4] Building fresh packages...
Done in 78.31s.
installing dependencies of packages/client ...
yarn install v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@2.1.3: The platform "linux" is incompatible with this module.
info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 63.62s.
Done in 166.93s.
yarn run v1.22.5
$ node ./scripts/build.js
building packages/backend ...
> build
> tsc -p tsconfig.json || echo done. && tsc-alias -p tsconfig.json
node_modules/@types/express-serve-static-core/index.d.ts(501,18): error TS2430: Interface 'Response' incorrectly extends interface 'ServerResponse'.
Types of property 'req' are incompatible.
Type 'Request | undefined' is not assignable to type 'IncomingMessage'.
Type 'undefined' is not assignable to type 'IncomingMessage'.
node_modules/@types/jsdom/base.d.ts(24,40): error TS2304: Cannot find name 'DocumentFragment'.
node_modules/@types/jsdom/base.d.ts(41,28): error TS2304: Cannot find name 'Node'.
node_modules/@types/jsdom/base.d.ts(172,19): error TS2304: Cannot find name 'HTMLScriptElement'.
node_modules/@types/jsdom/base.d.ts(172,39): error TS2304: Cannot find name 'HTMLLinkElement'.
node_modules/@types/jsdom/base.d.ts(172,57): error TS2304: Cannot find name 'HTMLIFrameElement'.
node_modules/@types/jsdom/base.d.ts(172,77): error TS2304: Cannot find name 'HTMLImageElement'.
node_modules/@types/jsdom/base.d.ts(185,24): error TS2693: 'Window' only refers to a type, but is being used as a value here.
node_modules/@types/jsdom/base.d.ts(250,29): error TS2304: Cannot find name 'WebAssembly'.
node_modules/@types/jsdom/base.d.ts(253,30): error TS2304: Cannot find name 'DOMException'.
node_modules/@types/jsdom/base.d.ts(255,21): error TS2304: Cannot find name 'URL'.
node_modules/@types/jsdom/base.d.ts(256,33): error TS2304: Cannot find name 'URLSearchParams'.
node_modules/@types/jsdom/base.d.ts(258,29): error TS2304: Cannot find name 'EventTarget'.
node_modules/@types/jsdom/base.d.ts(260,30): error TS2304: Cannot find name 'NamedNodeMap'.
node_modules/@types/jsdom/base.d.ts(261,22): error TS2304: Cannot find name 'Node'.
node_modules/@types/jsdom/base.d.ts(262,22): error TS2304: Cannot find name 'Attr'.
node_modules/@types/jsdom/base.d.ts(263,25): error TS2304: Cannot find name 'Element'.
node_modules/@types/jsdom/base.d.ts(264,34): error TS2304: Cannot find name 'DocumentFragment'.
node_modules/@types/jsdom/base.d.ts(265,35): error TS2304: Cannot find name 'DOMImplementation'.
node_modules/@types/jsdom/base.d.ts(266,26): error TS2693: 'Document' only refers to a type, but is being used as a value here.
node_modules/@types/jsdom/base.d.ts(267,30): error TS2304: Cannot find name 'HTMLDocument'.
node_modules/@types/jsdom/base.d.ts(268,29): error TS2304: Cannot find name 'XMLDocument'.
node_modules/@types/jsdom/base.d.ts(269,31): error TS2304: Cannot find name 'CharacterData'.
node_modules/@types/jsdom/base.d.ts(270,22): error TS2304: Cannot find name 'Text'.
node_modules/@types/jsdom/base.d.ts(271,30): error TS2304: Cannot find name 'CDATASection'.
node_modules/@types/jsdom/base.d.ts(272,39): error TS2304: Cannot find name 'ProcessingInstruction'.
node_modules/@types/jsdom/base.d.ts(273,25): error TS2304: Cannot find name 'Comment'.
node_modules/@types/jsdom/base.d.ts(274,30): error TS2304: Cannot find name 'DocumentType'.
node_modules/@types/jsdom/base.d.ts(275,26): error TS2304: Cannot find name 'NodeList'.
node_modules/@types/jsdom/base.d.ts(276,32): error TS2304: Cannot find name 'HTMLCollection'.
node_modules/@types/jsdom/base.d.ts(277,39): error TS2304: Cannot find name 'HTMLOptionsCollection'.
node_modules/@types/jsdom/base.d.ts(278,30): error TS2304: Cannot find name 'DOMStringMap'.
node_modules/@types/jsdom/base.d.ts(279,30): error TS2304: Cannot find name 'DOMTokenList'.
node_modules/@types/jsdom/base.d.ts(281,32): error TS2304: Cannot find name 'StyleSheetList'.
node_modules/@types/jsdom/base.d.ts(283,29): error TS2304: Cannot find name 'HTMLElement'.
node_modules/@types/jsdom/base.d.ts(284,33): error TS2304: Cannot find name 'HTMLHeadElement'.
node_modules/@types/jsdom/base.d.ts(285,34): error TS2304: Cannot find name 'HTMLTitleElement'.
node_modules/@types/jsdom/base.d.ts(286,33): error TS2304: Cannot find name 'HTMLBaseElement'.
node_modules/@types/jsdom/base.d.ts(287,33): error TS2304: Cannot find name 'HTMLLinkElement'.
node_modules/@types/jsdom/base.d.ts(288,33): error TS2304: Cannot find name 'HTMLMetaElement'.
node_modules/@types/jsdom/base.d.ts(289,34): error TS2304: Cannot find name 'HTMLStyleElement'.
node_modules/@types/jsdom/base.d.ts(290,33): error TS2304: Cannot find name 'HTMLBodyElement'.
node_modules/@types/jsdom/base.d.ts(291,36): error TS2304: Cannot find name 'HTMLHeadingElement'.
node_modules/@types/jsdom/base.d.ts(292,38): error TS2304: Cannot find name 'HTMLParagraphElement'.
node_modules/@types/jsdom/base.d.ts(293,31): error TS2304: Cannot find name 'HTMLHRElement'.
node_modules/@types/jsdom/base.d.ts(294,32): error TS2304: Cannot find name 'HTMLPreElement'.
node_modules/@types/jsdom/base.d.ts(295,34): error TS2304: Cannot find name 'HTMLUListElement'.
node_modules/@types/jsdom/base.d.ts(296,34): error TS2304: Cannot find name 'HTMLOListElement'.
node_modules/@types/jsdom/base.d.ts(297,31): error TS2693: 'HTMLLIElement' only refers to a type, but is being used as a value here.
node_modules/@types/jsdom/base.d.ts(298,33): error TS2304: Cannot find name 'HTMLMenuElement'.
node_modules/@types/jsdom/base.d.ts(299,34): error TS2304: Cannot find name 'HTMLDListElement'.
node_modules/@types/jsdom/base.d.ts(300,32): error TS2304: Cannot find name 'HTMLDivElement'.
node_modules/@types/jsdom/base.d.ts(301,35): error TS2304: Cannot find name 'HTMLAnchorElement'.
node_modules/@types/jsdom/base.d.ts(302,33): error TS2304: Cannot find name 'HTMLAreaElement'.
node_modules/@types/jsdom/base.d.ts(303,31): error TS2304: Cannot find name 'HTMLBRElement'.
node_modules/@types/jsdom/base.d.ts(304,35): error TS2304: Cannot find name 'HTMLButtonElement'.
node_modules/@types/jsdom/base.d.ts(305,35): error TS2304: Cannot find name 'HTMLCanvasElement'.
node_modules/@types/jsdom/base.d.ts(306,33): error TS2304: Cannot find name 'HTMLDataElement'.
node_modules/@types/jsdom/base.d.ts(307,37): error TS2304: Cannot find name 'HTMLDataListElement'.
node_modules/@types/jsdom/base.d.ts(308,36): error TS2304: Cannot find name 'HTMLDetailsElement'.
node_modules/@types/jsdom/base.d.ts(310,20): error TS2304: Cannot find name 'HTMLDialogElement'.
node_modules/@types/jsdom/base.d.ts(311,33): error TS2304: Cannot find name 'HTMLDialogElement'.
node_modules/@types/jsdom/base.d.ts(313,38): error TS2304: Cannot find name 'HTMLDirectoryElement'.
node_modules/@types/jsdom/base.d.ts(314,37): error TS2304: Cannot find name 'HTMLFieldSetElement'.
node_modules/@types/jsdom/base.d.ts(315,33): error TS2304: Cannot find name 'HTMLFontElement'.
node_modules/@types/jsdom/base.d.ts(316,33): error TS2304: Cannot find name 'HTMLFormElement'.
node_modules/@types/jsdom/base.d.ts(317,33): error TS2304: Cannot find name 'HTMLHtmlElement'.
node_modules/@types/jsdom/base.d.ts(318,34): error TS2304: Cannot find name 'HTMLImageElement'.
node_modules/@types/jsdom/base.d.ts(319,34): error TS2304: Cannot find name 'HTMLInputElement'.
node_modules/@types/jsdom/base.d.ts(320,34): error TS2304: Cannot find name 'HTMLLabelElement'.
node_modules/@types/jsdom/base.d.ts(321,35): error TS2304: Cannot find name 'HTMLLegendElement'.
node_modules/@types/jsdom/base.d.ts(322,32): error TS2304: Cannot find name 'HTMLMapElement'.
node_modules/@types/jsdom/base.d.ts(323,36): error TS2304: Cannot find name 'HTMLMarqueeElement'.
node_modules/@types/jsdom/base.d.ts(324,34): error TS2304: Cannot find name 'HTMLMediaElement'.
node_modules/@types/jsdom/base.d.ts(325,34): error TS2304: Cannot find name 'HTMLMeterElement'.
node_modules/@types/jsdom/base.d.ts(326,32): error TS2304: Cannot find name 'HTMLModElement'.
node_modules/@types/jsdom/base.d.ts(327,37): error TS2304: Cannot find name 'HTMLOptGroupElement'.
node_modules/@types/jsdom/base.d.ts(328,35): error TS2304: Cannot find name 'HTMLOptionElement'.
node_modules/@types/jsdom/base.d.ts(329,35): error TS2304: Cannot find name 'HTMLOutputElement'.
node_modules/@types/jsdom/base.d.ts(330,36): error TS2304: Cannot find name 'HTMLPictureElement'.
node_modules/@types/jsdom/base.d.ts(331,37): error TS2304: Cannot find name 'HTMLProgressElement'.
node_modules/@types/jsdom/base.d.ts(332,34): error TS2304: Cannot find name 'HTMLQuoteElement'.
node_modules/@types/jsdom/base.d.ts(333,35): error TS2304: Cannot find name 'HTMLScriptElement'.
node_modules/@types/jsdom/base.d.ts(334,35): error TS2304: Cannot find name 'HTMLSelectElement'.
node_modules/@types/jsdom/base.d.ts(335,33): error TS2304: Cannot find name 'HTMLSlotElement'.
node_modules/@types/jsdom/base.d.ts(336,35): error TS2304: Cannot find name 'HTMLSourceElement'.
node_modules/@types/jsdom/base.d.ts(337,33): error TS2304: Cannot find name 'HTMLSpanElement'.
node_modules/@types/jsdom/base.d.ts(338,41): error TS2304: Cannot find name 'HTMLTableCaptionElement'.
node_modules/@types/jsdom/base.d.ts(339,38): error TS2304: Cannot find name 'HTMLTableCellElement'.
node_modules/@types/jsdom/base.d.ts(340,37): error TS2304: Cannot find name 'HTMLTableColElement'.
node_modules/@types/jsdom/base.d.ts(341,34): error TS2304: Cannot find name 'HTMLTableElement'.
node_modules/@types/jsdom/base.d.ts(342,33): error TS2304: Cannot find name 'HTMLTimeElement'.
node_modules/@types/jsdom/base.d.ts(343,37): error TS2304: Cannot find name 'HTMLTableRowElement'.
node_modules/@types/jsdom/base.d.ts(344,41): error TS2304: Cannot find name 'HTMLTableSectionElement'.
node_modules/@types/jsdom/base.d.ts(345,37): error TS2304: Cannot find name 'HTMLTemplateElement'.
node_modules/@types/jsdom/base.d.ts(346,37): error TS2304: Cannot find name 'HTMLTextAreaElement'.
node_modules/@types/jsdom/base.d.ts(347,36): error TS2304: Cannot find name 'HTMLUnknownElement'.
node_modules/@types/jsdom/base.d.ts(348,34): error TS2304: Cannot find name 'HTMLFrameElement'.
node_modules/@types/jsdom/base.d.ts(349,37): error TS2304: Cannot find name 'HTMLFrameSetElement'.
node_modules/@types/jsdom/base.d.ts(350,35): error TS2304: Cannot find name 'HTMLIFrameElement'.
node_modules/@types/jsdom/base.d.ts(351,34): error TS2304: Cannot find name 'HTMLEmbedElement'.
node_modules/@types/jsdom/base.d.ts(352,35): error TS2304: Cannot find name 'HTMLObjectElement'.
node_modules/@types/jsdom/base.d.ts(353,34): error TS2304: Cannot find name 'HTMLParamElement'.
node_modules/@types/jsdom/base.d.ts(354,34): error TS2304: Cannot find name 'HTMLVideoElement'.
node_modules/@types/jsdom/base.d.ts(355,34): error TS2304: Cannot find name 'HTMLAudioElement'.
node_modules/@types/jsdom/base.d.ts(356,34): error TS2304: Cannot find name 'HTMLTrackElement'.
node_modules/@types/jsdom/base.d.ts(358,28): error TS2304: Cannot find name 'SVGElement'.
node_modules/@types/jsdom/base.d.ts(359,36): error TS2304: Cannot find name 'SVGGraphicsElement'.
node_modules/@types/jsdom/base.d.ts(360,31): error TS2304: Cannot find name 'SVGSVGElement'.
node_modules/@types/jsdom/base.d.ts(361,33): error TS2304: Cannot find name 'SVGTitleElement'.
node_modules/@types/jsdom/base.d.ts(362,35): error TS2304: Cannot find name 'SVGAnimatedString'.
node_modules/@types/jsdom/base.d.ts(363,27): error TS2304: Cannot find name 'SVGNumber'.
node_modules/@types/jsdom/base.d.ts(364,31): error TS2304: Cannot find name 'SVGStringList'.
node_modules/@types/jsdom/base.d.ts(366,23): error TS2304: Cannot find name 'Event'.
node_modules/@types/jsdom/base.d.ts(367,28): error TS2304: Cannot find name 'CloseEvent'.
node_modules/@types/jsdom/base.d.ts(368,29): error TS2304: Cannot find name 'CustomEvent'.
node_modules/@types/jsdom/base.d.ts(369,30): error TS2304: Cannot find name 'MessageEvent'.
node_modules/@types/jsdom/base.d.ts(370,28): error TS2304: Cannot find name 'ErrorEvent'.
node_modules/@types/jsdom/base.d.ts(371,33): error TS2304: Cannot find name 'HashChangeEvent'.
node_modules/@types/jsdom/base.d.ts(372,31): error TS2304: Cannot find name 'PopStateEvent'.
node_modules/@types/jsdom/base.d.ts(373,30): error TS2304: Cannot find name 'StorageEvent'.
node_modules/@types/jsdom/base.d.ts(374,31): error TS2304: Cannot find name 'ProgressEvent'.
node_modules/@types/jsdom/base.d.ts(375,37): error TS2304: Cannot find name 'PageTransitionEvent'.
node_modules/@types/jsdom/base.d.ts(377,25): error TS2304: Cannot find name 'UIEvent'.
node_modules/@types/jsdom/base.d.ts(378,28): error TS2304: Cannot find name 'FocusEvent'.
node_modules/@types/jsdom/base.d.ts(379,28): error TS2304: Cannot find name 'MouseEvent'.
node_modules/@types/jsdom/base.d.ts(380,31): error TS2304: Cannot find name 'KeyboardEvent'.
node_modules/@types/jsdom/base.d.ts(381,28): error TS2304: Cannot find name 'TouchEvent'.
node_modules/@types/jsdom/base.d.ts(382,34): error TS2304: Cannot find name 'CompositionEvent'.
node_modules/@types/jsdom/base.d.ts(383,28): error TS2304: Cannot find name 'WheelEvent'.
node_modules/@types/jsdom/base.d.ts(385,25): error TS2304: Cannot find name 'BarProp'.
node_modules/@types/jsdom/base.d.ts(386,26): error TS2304: Cannot find name 'Location'.
node_modules/@types/jsdom/base.d.ts(387,25): error TS2304: Cannot find name 'History'.
node_modules/@types/jsdom/base.d.ts(388,24): error TS2304: Cannot find name 'Screen'.
node_modules/@types/jsdom/base.d.ts(389,29): error TS2304: Cannot find name 'Performance'.
node_modules/@types/jsdom/base.d.ts(390,27): error TS2304: Cannot find name 'Navigator'.
node_modules/@types/jsdom/base.d.ts(392,29): error TS2304: Cannot find name 'PluginArray'.
node_modules/@types/jsdom/base.d.ts(393,31): error TS2304: Cannot find name 'MimeTypeArray'.
node_modules/@types/jsdom/base.d.ts(394,24): error TS2304: Cannot find name 'Plugin'.
node_modules/@types/jsdom/base.d.ts(395,26): error TS2304: Cannot find name 'MimeType'.
node_modules/@types/jsdom/base.d.ts(397,28): error TS2304: Cannot find name 'FileReader'.
node_modules/@types/jsdom/base.d.ts(398,22): error TS2693: 'Blob' only refers to a type, but is being used as a value here.
node_modules/@types/jsdom/base.d.ts(399,22): error TS2304: Cannot find name 'File'.
node_modules/@types/jsdom/base.d.ts(400,26): error TS2304: Cannot find name 'FileList'.
node_modules/@types/jsdom/base.d.ts(401,31): error TS2304: Cannot find name 'ValidityState'.
node_modules/@types/jsdom/base.d.ts(403,27): error TS2304: Cannot find name 'DOMParser'.
node_modules/@types/jsdom/base.d.ts(404,31): error TS2304: Cannot find name 'XMLSerializer'.
node_modules/@types/jsdom/base.d.ts(406,26): error TS2304: Cannot find name 'FormData'.
node_modules/@types/jsdom/base.d.ts(407,43): error TS2304: Cannot find name 'XMLHttpRequestEventTarget'.
node_modules/@types/jsdom/base.d.ts(408,38): error TS2304: Cannot find name 'XMLHttpRequestUpload'.
node_modules/@types/jsdom/base.d.ts(409,32): error TS2304: Cannot find name 'XMLHttpRequest'.
node_modules/@types/jsdom/base.d.ts(410,27): error TS2304: Cannot find name 'WebSocket'.
node_modules/@types/jsdom/base.d.ts(412,28): error TS2304: Cannot find name 'NodeFilter'.
node_modules/@types/jsdom/base.d.ts(413,30): error TS2304: Cannot find name 'NodeIterator'.
node_modules/@types/jsdom/base.d.ts(414,28): error TS2304: Cannot find name 'TreeWalker'.
node_modules/@types/jsdom/base.d.ts(416,31): error TS2304: Cannot find name 'AbstractRange'.
node_modules/@types/jsdom/base.d.ts(417,23): error TS2304: Cannot find name 'Range'.
node_modules/@types/jsdom/base.d.ts(418,29): error TS2304: Cannot find name 'StaticRange'.
node_modules/@types/jsdom/base.d.ts(419,27): error TS2304: Cannot find name 'Selection'.
node_modules/@types/jsdom/base.d.ts(421,25): error TS2304: Cannot find name 'Storage'.
node_modules/@types/jsdom/base.d.ts(423,39): error TS2304: Cannot find name 'CustomElementRegistry'.
node_modules/@types/jsdom/base.d.ts(424,28): error TS2304: Cannot find name 'ShadowRoot'.
node_modules/@types/jsdom/base.d.ts(426,34): error TS2304: Cannot find name 'MutationObserver'.
node_modules/@types/jsdom/base.d.ts(427,32): error TS2304: Cannot find name 'MutationRecord'.
node_modules/@types/jsdom/base.d.ts(429,25): error TS2304: Cannot find name 'Headers'.
node_modules/@types/jsdom/base.d.ts(434,28): error TS2304: Cannot find name 'StyleSheet'.
node_modules/@types/jsdom/base.d.ts(435,27): error TS2304: Cannot find name 'MediaList'.
node_modules/@types/jsdom/base.d.ts(436,31): error TS2304: Cannot find name 'CSSStyleSheet'.
node_modules/@types/jsdom/base.d.ts(437,25): error TS2304: Cannot find name 'CSSRule'.
node_modules/@types/jsdom/base.d.ts(438,30): error TS2304: Cannot find name 'CSSStyleRule'.
node_modules/@types/jsdom/base.d.ts(439,30): error TS2304: Cannot find name 'CSSMediaRule'.
node_modules/@types/jsdom/base.d.ts(440,31): error TS2304: Cannot find name 'CSSImportRule'.
node_modules/@types/jsdom/base.d.ts(441,37): error TS2304: Cannot find name 'CSSStyleDeclaration'.
node_modules/@types/jsdom/base.d.ts(445,33): error TS2304: Cannot find name 'XPathExpression'.
node_modules/@types/jsdom/base.d.ts(446,29): error TS2304: Cannot find name 'XPathResult'.
node_modules/@types/jsdom/base.d.ts(447,32): error TS2304: Cannot find name 'XPathEvaluator'.
node_modules/@types/jsdom/ts4.0/index.d.ts(7,28): error TS2304: Cannot find name 'InputEvent'.
node_modules/@types/jsdom/ts4.0/index.d.ts(8,26): error TS2304: Cannot find name 'External'.
node_modules/@types/nprogress/index.d.ts(37,38): error TS2304: Cannot find name 'HTMLDivElement'.
node_modules/@types/qrcode/index.d.ts(183,20): error TS2304: Cannot find name 'HTMLCanvasElement'.
node_modules/@types/qrcode/index.d.ts(191,20): error TS2304: Cannot find name 'HTMLCanvasElement'.
node_modules/@types/qrcode/index.d.ts(199,20): error TS2304: Cannot find name 'HTMLCanvasElement'.
node_modules/@types/qrcode/index.d.ts(209,38): error TS2304: Cannot find name 'HTMLCanvasElement'.
node_modules/@types/qrcode/index.d.ts(221,38): error TS2304: Cannot find name 'HTMLCanvasElement'.
node_modules/@types/qrcode/index.d.ts(245,20): error TS2304: Cannot find name 'HTMLCanvasElement'.
node_modules/@types/qrcode/index.d.ts(253,20): error TS2304: Cannot find name 'HTMLCanvasElement'.
node_modules/@types/qrcode/index.d.ts(261,20): error TS2304: Cannot find name 'HTMLCanvasElement'.
node_modules/@types/readable-stream/index.d.ts(19,15): error TS2417: Class static side 'typeof _Readable' incorrectly extends base class static side 'typeof Readable'.
The types of 'Stream.Readable.Duplex' are incompatible between these types.
Property 'isDisturbed' is missing in type 'typeof _Readable.Duplex' but required in type 'typeof import("stream").Duplex'.
node_modules/@types/readable-stream/index.d.ts(68,11): error TS2720: Class 'Duplex' incorrectly implements class '_Readable'. Did you mean to extend '_Readable' and inherit its members as a subclass?
Type 'Duplex' is missing the following properties from type '_Readable': readableAborted, readableDidRead
node_modules/@types/readable-stream/index.d.ts(68,11): error TS2720: Class '_Readable.Duplex' incorrectly implements class 'import("stream").Duplex'. Did you mean to extend 'import("stream").Duplex' and inherit its members as a subclass?
Type 'Duplex' is missing the following properties from type 'Duplex': readableAborted, readableDidRead
node_modules/@types/readable-stream/index.d.ts(111,11): error TS2720: Class '_Readable.PassThrough' incorrectly implements class 'import("stream").PassThrough'. Did you mean to extend 'import("stream").PassThrough' and inherit its members as a subclass?
Type 'PassThrough' is missing the following properties from type 'Transform': readableAborted, readableDidRead
node_modules/@types/readable-stream/index.d.ts(173,11): error TS2720: Class '_Readable.Transform' incorrectly implements class 'import("stream").Transform'. Did you mean to extend 'import("stream").Transform' and inherit its members as a subclass?
Type 'Transform' is missing the following properties from type 'Transform': readableAborted, readableDidRead
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(32,3): error TS2305: Module '"tapable"' has no exported member 'Tapable'.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1062,23): error TS2707: Generic type 'SyncWaterfallHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1063,22): error TS2707: Generic type 'SyncWaterfallHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1064,28): error TS2707: Generic type 'AsyncSeriesWaterfallHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1065,27): error TS2707: Generic type 'AsyncSeriesWaterfallHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1066,27): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1067,21): error TS2707: Generic type 'SyncWaterfallHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1068,27): error TS2314: Generic type 'HookMap' requires 1 type argument(s).
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1070,30): error TS2314: Generic type 'HookMap' requires 1 type argument(s).
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1071,24): error TS2314: Generic type 'HookMap' requires 1 type argument(s).
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1080,33): error TS2314: Generic type 'HookMap' requires 1 type argument(s).
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1081,27): error TS2314: Generic type 'HookMap' requires 1 type argument(s).
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1082,37): error TS2314: Generic type 'HookMap' requires 1 type argument(s).
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1083,44): error TS2314: Generic type 'HookMap' requires 1 type argument(s).
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1084,47): error TS2314: Generic type 'HookMap' requires 1 type argument(s).
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1085,28): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1086,30): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1087,24): error TS2314: Generic type 'HookMap' requires 1 type argument(s).
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1088,25): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1089,34): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1090,25): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1091,31): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1092,36): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1093,35): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1094,34): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1095,40): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1096,33): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1097,36): error TS2314: Generic type 'HookMap' requires 1 type argument(s).
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1098,38): error TS2314: Generic type 'HookMap' requires 1 type argument(s).
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1099,36): error TS2314: Generic type 'HookMap' requires 1 type argument(s).
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1100,28): error TS2314: Generic type 'HookMap' requires 1 type argument(s).
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1101,25): error TS2314: Generic type 'HookMap' requires 1 type argument(s).
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1102,27): error TS2314: Generic type 'HookMap' requires 1 type argument(s).
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1103,25): error TS2314: Generic type 'HookMap' requires 1 type argument(s).
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1104,29): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1105,23): error TS2314: Generic type 'HookMap' requires 1 type argument(s).
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1106,32): error TS2314: Generic type 'HookMap' requires 1 type argument(s).
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1107,22): error TS2314: Generic type 'HookMap' requires 1 type argument(s).
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1108,29): error TS2314: Generic type 'HookMap' requires 1 type argument(s).
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1109,38): error TS2314: Generic type 'HookMap' requires 1 type argument(s).
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1110,48): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1111,44): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1112,26): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1121,28): error TS2707: Generic type 'AsyncSeriesWaterfallHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1122,27): error TS2707: Generic type 'AsyncSeriesWaterfallHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1123,33): error TS2707: Generic type 'SyncWaterfallHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1124,27): error TS2707: Generic type 'AsyncSeriesWaterfallHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1144,21): error TS2707: Generic type 'SyncHook' requires between 1 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1145,19): error TS2707: Generic type 'SyncHook' requires between 1 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1147,40): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1148,35): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1149,43): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1152,23): error TS2707: Generic type 'SyncHook' requires between 1 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1154,35): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1155,30): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1156,38): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1171,27): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1190,25): error TS2707: Generic type 'SyncHook' requires between 1 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1191,24): error TS2707: Generic type 'SyncHook' requires between 1 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1197,33): error TS2707: Generic type 'SyncHook' requires between 1 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1198,40): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1199,32): error TS2707: Generic type 'SyncHook' requires between 1 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1204,31): error TS2707: Generic type 'AsyncSeriesHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1210,33): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1211,24): error TS2707: Generic type 'AsyncSeriesHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1219,33): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1220,28): error TS2707: Generic type 'SyncHook' requires between 1 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1224,43): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1225,38): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1226,46): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1239,27): error TS2707: Generic type 'SyncWaterfallHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1240,22): error TS2707: Generic type 'SyncWaterfallHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1241,32): error TS2707: Generic type 'SyncWaterfallHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1242,28): error TS2707: Generic type 'SyncWaterfallHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1243,24): error TS2707: Generic type 'SyncWaterfallHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1244,27): error TS2707: Generic type 'SyncWaterfallHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1258,22): error TS2707: Generic type 'SyncWaterfallHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1259,21): error TS2707: Generic type 'SyncWaterfallHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1260,21): error TS2707: Generic type 'SyncWaterfallHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1261,22): error TS2707: Generic type 'SyncWaterfallHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1262,19): error TS2707: Generic type 'SyncHook' requires between 1 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1356,25): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1358,29): error TS2707: Generic type 'AsyncSeriesHook' requires between 1 and 2 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1374,25): error TS2707: Generic type 'SyncHook' requires between 1 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1375,26): error TS2707: Generic type 'SyncHook' requires between 1 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1376,31): error TS2707: Generic type 'SyncHook' requires between 1 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1379,26): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1399,25): error TS2707: Generic type 'SyncHook' requires between 1 and 3 type arguments.
node_modules/@types/webpack-stream/node_modules/@types/webpack/index.d.ts(1466,24): error TS2707: Generic type 'SyncBailHook' requires between 2 and 3 type arguments.
node_modules/cbor/types/lib/encoder.d.ts(102,40): error TS2304: Cannot find name 'URL'.
node_modules/htmlparser2/node_modules/domelementtype/lib/index.d.ts(20,29): error TS2748: Cannot access ambient const enums when the '--isolatedModules' flag is provided.
node_modules/htmlparser2/node_modules/domelementtype/lib/index.d.ts(21,34): error TS2748: Cannot access ambient const enums when the '--isolatedModules' flag is provided.
node_modules/htmlparser2/node_modules/domelementtype/lib/index.d.ts(22,32): error TS2748: Cannot access ambient const enums when the '--isolatedModules' flag is provided.
node_modules/htmlparser2/node_modules/domelementtype/lib/index.d.ts(23,31): error TS2748: Cannot access ambient const enums when the '--isolatedModules' flag is provided.
node_modules/htmlparser2/node_modules/domelementtype/lib/index.d.ts(24,30): error TS2748: Cannot access ambient const enums when the '--isolatedModules' flag is provided.
node_modules/htmlparser2/node_modules/domelementtype/lib/index.d.ts(25,28): error TS2748: Cannot access ambient const enums when the '--isolatedModules' flag is provided.
node_modules/htmlparser2/node_modules/domelementtype/lib/index.d.ts(26,30): error TS2748: Cannot access ambient const enums when the '--isolatedModules' flag is provided.
node_modules/htmlparser2/node_modules/domelementtype/lib/index.d.ts(27,32): error TS2748: Cannot access ambient const enums when the '--isolatedModules' flag is provided.
node_modules/ip-address/dist/lib/ipv4.d.ts(2,28): error TS7016: Could not find a declaration file for module 'jsbn'. '/misskey/packages/backend/node_modules/ip-address/node_modules/jsbn/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/jsbn` if it exists or add a new declaration (.d.ts) file containing `declare module 'jsbn';`
node_modules/ip-address/dist/lib/ipv6.d.ts(3,28): error TS7016: Could not find a declaration file for module 'jsbn'. '/misskey/packages/backend/node_modules/ip-address/node_modules/jsbn/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/jsbn` if it exists or add a new declaration (.d.ts) file containing `declare module 'jsbn';`
node_modules/ip-cidr/index.d.ts(2,28): error TS7016: Could not find a declaration file for module 'jsbn'. '/misskey/packages/backend/node_modules/ip-cidr/node_modules/jsbn/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/jsbn` if it exists or add a new declaration (.d.ts) file containing `declare module 'jsbn';`
node_modules/pureimage/types/text.d.ts(1,27): error TS7016: Could not find a declaration file for module 'opentype.js'. '/misskey/packages/backend/node_modules/opentype.js/src/opentype.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/opentype.js` if it exists or add a new declaration (.d.ts) file containing `declare module 'opentype.js';`
src/boot/index.ts(21,38): error TS2339: Property 'isPrimary' does not exist on type 'typeof import("cluster")'.
src/boot/index.ts(23,14): error TS2339: Property 'isPrimary' does not exist on type 'typeof import("cluster")'.
src/boot/index.ts(26,15): error TS2339: Property 'isPrimary' does not exist on type 'typeof import("cluster")'.
src/boot/index.ts(31,14): error TS2551: Property 'isWorker' does not exist on type 'typeof import("cluster")'. Did you mean 'Worker'?
src/boot/index.ts(45,9): error TS2339: Property 'on' does not exist on type 'typeof import("cluster")'.
src/boot/index.ts(45,20): error TS7006: Parameter 'worker' implicitly has an 'any' type.
src/boot/index.ts(50,9): error TS2339: Property 'on' does not exist on type 'typeof import("cluster")'.
src/boot/index.ts(50,22): error TS7006: Parameter 'worker' implicitly has an 'any' type.
src/boot/index.ts(55,9): error TS2339: Property 'on' does not exist on type 'typeof import("cluster")'.
src/boot/index.ts(55,20): error TS7006: Parameter 'worker' implicitly has an 'any' type.
src/boot/index.ts(59,10): error TS2339: Property 'fork' does not exist on type 'typeof import("cluster")'.
src/boot/master.ts(128,7): error TS2571: Object is of type 'unknown'.
src/boot/master.ts(151,18): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | Error'.
Type 'unknown' is not assignable to type 'Error'.
src/boot/master.ts(188,26): error TS2339: Property 'fork' does not exist on type 'typeof import("cluster")'.
src/boot/master.ts(189,24): error TS7006: Parameter 'message' implicitly has an 'any' type.
src/boot/worker.ts(16,14): error TS2551: Property 'isWorker' does not exist on type 'typeof import("cluster")'. Did you mean 'Worker'?
src/config/load.ts(57,14): error TS2552: Cannot find name 'URL'. Did you mean 'url'?
src/daemons/server-stats.ts(3,26): error TS7016: Could not find a declaration file for module 'os-utils'. '/misskey/packages/backend/node_modules/os-utils/lib/osutils.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/os-utils` if it exists or add a new declaration (.d.ts) file containing `declare module 'os-utils';`
src/daemons/server-stats.ts(29,18): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'number'.
src/db/postgre.ts(225,32): error TS7006: Parameter 't' implicitly has an 'any' type.
src/db/postgre.ts(225,50): error TS7006: Parameter 'x' implicitly has an 'any' type.
src/misc/app-lock.ts(3,28): error TS7016: Could not find a declaration file for module 'redis-lock'. '/misskey/packages/backend/node_modules/redis-lock/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/redis-lock` if it exists or add a new declaration (.d.ts) file containing `declare module 'redis-lock';`
src/misc/before-shutdown.ts(27,7): error TS7034: Variable 'shutdownListeners' implicitly has type 'any[]' in some locations where its type cannot be determined.
src/misc/before-shutdown.ts(34,22): error TS7006: Parameter 'signals' implicitly has an 'any' type.
src/misc/before-shutdown.ts(34,31): error TS7006: Parameter 'fn' implicitly has an 'any' type.
src/misc/before-shutdown.ts(44,24): error TS7006: Parameter 'timeout' implicitly has an 'any' type.
src/misc/before-shutdown.ts(58,32): error TS7006: Parameter 'signalOrEvent' implicitly has an 'any' type.
src/misc/before-shutdown.ts(63,25): error TS7005: Variable 'shutdownListeners' implicitly has an 'any[]' type.
src/misc/before-shutdown.ts(67,70): error TS2571: Object is of type 'unknown'.
src/misc/before-shutdown.ts(81,32): error TS7006: Parameter 'listener' implicitly has an 'any' type.
src/misc/extract-custom-emojis-from-mfm.ts(9,36): error TS2532: Object is possibly 'undefined'.
src/misc/extract-custom-emojis-from-mfm.ts(9,44): error TS2339: Property 'name' does not exist on type 'Record | { query: string; content: string; } | { code: string; lang: string | null; } | { formula: string; } | { emoji: string; } | { name: string; } | { code: string; } | { formula: string; } | ... 5 more ... | { ...; }'.
Property 'name' does not exist on type '{ query: string; content: string; }'.
src/misc/extract-hashtags.ts(6,48): error TS2532: Object is possibly 'undefined'.
src/misc/extract-hashtags.ts(6,56): error TS2339: Property 'hashtag' does not exist on type 'Record | { query: string; content: string; } | { code: string; lang: string | null; } | { formula: string; } | { emoji: string; } | { name: string; } | { code: string; } | { formula: string; } | ... 5 more ... | { ...; }'.
Property 'hashtag' does not exist on type '{ query: string; content: string; }'.
src/misc/extract-mentions.ts(10,2): error TS2322: Type '(Record | { query: string; content: string; } | { code: string; lang: string | null; } | { formula: string; } | { emoji: string; } | { name: string; } | { code: string; } | { formula: string; } | ... 6 more ... | undefined)[]' is not assignable to type '{ username: string; host: string | null; acct: string; }[]'.
Type 'Record | { query: string; content: string; } | { code: string; lang: string | null; } | { formula: string; } | { emoji: string; } | { name: string; } | { code: string; } | { formula: string; } | ... 6 more ... | undefined' is not assignable to type '{ username: string; host: string | null; acct: string; }'.
Type 'undefined' is not assignable to type '{ username: string; host: string | null; acct: string; }'.
src/misc/fetch.ts(52,3): error TS2739: Type 'AbortSignal' is missing the following properties from type 'AbortSignal': addEventListener, removeEventListener, dispatchEvent, onabort
src/misc/gen-avatar.ts(41,19): error TS2554: Expected 3 arguments, but got 2.
src/misc/get-file-info.ts(7,33): error TS7016: Could not find a declaration file for module 'probe-image-size'. '/misskey/packages/backend/node_modules/probe-image-size/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/probe-image-size` if it exists or add a new declaration (.d.ts) file containing `declare module 'probe-image-size';`
src/misc/get-note-summary.ts(8,11): error TS2339: Property 'deletedAt' does not exist on type 'Packed<"Note">'.
src/misc/i18n.ts(16,14): error TS2352: Conversion of type 'T' to type 'string' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Type 'Record' is not comparable to type 'string'.
src/models/repositories/app.ts(33,25): error TS2769: No overload matches this call.
Overload 1 of 2, '(options?: FindManyOptions | undefined): Promise', gave the following error.
Argument of type '{ appId: string; userId: { id: string; }; }' is not assignable to parameter of type 'FindManyOptions'.
Object literal may only specify known properties, and 'appId' does not exist in type 'FindManyOptions'.
Overload 2 of 2, '(conditions?: FindConditions | undefined): Promise', gave the following error.
Type '{ id: string; }' is not assignable to type 'string | FindOperator | undefined'.
Type '{ id: string; }' is missing the following properties from type 'FindOperator': _type, _value, _objectLiteralParameters, _useParameter, and 9 more.
src/models/repositories/drive-file.ts(142,60): error TS2769: No overload matches this call.
Overload 1 of 2, '(src: string, options?: PackOptions | undefined): Promise | null>', gave the following error.
Argument of type 'string | DriveFile' is not assignable to parameter of type 'string'.
Type 'DriveFile' is not assignable to type 'string'.
Overload 2 of 2, '(src: DriveFile, options?: PackOptions | undefined): Promise>', gave the following error.
Argument of type 'string | DriveFile' is not assignable to parameter of type 'DriveFile'.
Type 'string' is not assignable to type 'DriveFile'.
src/models/repositories/page.ts(77,39): error TS2345: Argument of type '(DriveFile | undefined)[]' is not assignable to parameter of type '(string | DriveFile)[]'.
Type 'DriveFile | undefined' is not assignable to type 'string | DriveFile'.
Type 'undefined' is not assignable to type 'string | DriveFile'.
src/queue/index.ts(1,32): error TS7016: Could not find a declaration file for module 'http-signature'. '/misskey/packages/backend/node_modules/http-signature/lib/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/http-signature` if it exists or add a new declaration (.d.ts) file containing `declare module 'http-signature';`
src/queue/processors/db/delete-account.ts(25,10): error TS7022: 'notes' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
src/queue/processors/db/delete-account.ts(42,33): error TS7006: Parameter 'note' implicitly has an 'any' type.
src/queue/processors/db/delete-account.ts(52,10): error TS7022: 'files' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
src/queue/processors/db/export-notes.ts(52,9): error TS7022: 'notes' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
src/queue/processors/inbox.ts(3,32): error TS7016: Could not find a declaration file for module 'http-signature'. '/misskey/packages/backend/node_modules/http-signature/lib/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/http-signature` if it exists or add a new declaration (.d.ts) file containing `declare module 'http-signature';`
src/queue/processors/inbox.ts(60,48): error TS2571: Object is of type 'unknown'.
src/queue/types.ts(4,32): error TS7016: Could not find a declaration file for module 'http-signature'. '/misskey/packages/backend/node_modules/http-signature/lib/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/http-signature` if it exists or add a new declaration (.d.ts) file containing `declare module 'http-signature';`
src/remote/activitypub/kernel/announce/note.ts(49,59): error TS2571: Object is of type 'unknown'.
src/remote/activitypub/kernel/flag/index.ts(14,22): error TS2769: No overload matches this call.
Overload 1 of 2, '(options?: FindManyOptions | undefined): Promise', gave the following error.
Argument of type '{ id: FindOperator; }' is not assignable to parameter of type 'FindManyOptions'.
Object literal may only specify known properties, and 'id' does not exist in type 'FindManyOptions'.
Overload 2 of 2, '(conditions?: FindConditions | undefined): Promise', gave the following error.
Type 'FindOperator' is not assignable to type 'string | FindOperator | undefined'.
Type 'FindOperator' is not assignable to type 'FindOperator'.
Type 'string | undefined' is not assignable to type 'string'.
Type 'undefined' is not assignable to type 'string'.
src/remote/activitypub/kernel/index.ts(29,20): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | Error'.
Type 'unknown' is not assignable to type 'Error'.
src/remote/activitypub/kernel/move/index.ts(1,1): error TS1208: 'index.ts' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module.
src/remote/activitypub/kernel/update/index.ts(26,44): error TS2345: Argument of type 'IActor' is not assignable to parameter of type 'Record'.
Index signature for type 'string' is missing in type 'IActor'.
src/remote/activitypub/misc/ld-signature.ts(33,11): error TS2790: The operand of a 'delete' operator must be optional.
src/remote/activitypub/models/image.ts(33,100): error TS2345: Argument of type 'string' is not assignable to parameter of type 'null | undefined'.
src/remote/activitypub/models/person.ts(189,32): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
src/remote/activitypub/models/person.ts(201,17): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | Error'.
Type 'unknown' is not assignable to type 'Error'.
src/remote/activitypub/models/person.ts(446,6): error TS2322: Type 'string | null' is not assignable to type 'string'.
Type 'null' is not assignable to type 'string'.
src/server/activitypub.ts(2,23): error TS7016: Could not find a declaration file for module 'koa-json-body'. '/misskey/packages/backend/node_modules/koa-json-body/lib/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/koa-json-body` if it exists or add a new declaration (.d.ts) file containing `declare module 'koa-json-body';`
src/server/activitypub.ts(3,32): error TS7016: Could not find a declaration file for module 'http-signature'. '/misskey/packages/backend/node_modules/http-signature/lib/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/http-signature` if it exists or add a new declaration (.d.ts) file containing `declare module 'http-signature';`
src/server/activitypub.ts(68,21): error TS2769: No overload matches this call.
Overload 1 of 3, '(id?: string | number | Date | ObjectID | undefined, options?: FindOneOptions | undefined): Promise', gave the following error.
Argument of type '{ id: string; visibility: FindOperator; localOnly: boolean; }' is not assignable to parameter of type 'string | number | Date | ObjectID | undefined'.
Object literal may only specify known properties, and 'id' does not exist in type 'Date | ObjectID'.
Overload 2 of 3, '(options?: FindOneOptions | undefined): Promise', gave the following error.
Argument of type '{ id: string; visibility: FindOperator; localOnly: boolean; }' is not assignable to parameter of type 'FindOneOptions'.
Object literal may only specify known properties, and 'id' does not exist in type 'FindOneOptions'.
Overload 3 of 3, '(conditions?: FindConditions | undefined, options?: FindOneOptions | undefined): Promise', gave the following error.
Type 'FindOperator' is not assignable to type 'FindConditions<"public" | "home" | "followers" | "specified"> | FindOperator> | undefined'.
Type 'FindOperator' is not assignable to type 'FindOperator>'.
Type 'string' is not assignable to type 'FindConditions<"public" | "home" | "followers" | "specified">'.
src/server/activitypub.ts(96,21): error TS2769: No overload matches this call.
Overload 1 of 3, '(id?: string | number | Date | ObjectID | undefined, options?: FindOneOptions | undefined): Promise', gave the following error.
Argument of type '{ id: string; userHost: null; visibility: FindOperator; localOnly: boolean; }' is not assignable to parameter of type 'string | number | Date | ObjectID | undefined'.
Object literal may only specify known properties, and 'id' does not exist in type 'Date | ObjectID'.
Overload 2 of 3, '(options?: FindOneOptions | undefined): Promise', gave the following error.
Argument of type '{ id: string; userHost: null; visibility: FindOperator; localOnly: boolean; }' is not assignable to parameter of type 'FindOneOptions'.
Object literal may only specify known properties, and 'id' does not exist in type 'FindOneOptions'.
Overload 3 of 3, '(conditions?: FindConditions | undefined, options?: FindOneOptions | undefined): Promise', gave the following error.
Type 'FindOperator' is not assignable to type 'FindConditions<"public" | "home" | "followers" | "specified"> | FindOperator> | undefined'.
src/server/activitypub/featured.ts(35,47): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'Record'.
Index signature for type 'string' is missing in type 'any[]'.
src/server/api/2fa.ts(3,28): error TS7016: Could not find a declaration file for module 'jsrsasign'. '/misskey/packages/backend/node_modules/jsrsasign/lib/jsrsasign.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/jsrsasign` if it exists or add a new declaration (.d.ts) file containing `declare module 'jsrsasign';`
src/server/api/api-handler.ts(9,27): error TS2339: Property 'body' does not exist on type 'Request'.
src/server/api/api-handler.ts(29,3): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
src/server/api/authenticate.ts(13,73): error TS2304: Cannot find name 'App'.
src/server/api/common/read-messaging-message.ts(115,85): error TS2345: Argument of type '{ type: string; actor: string; object: string | null; }[]' is not assignable to parameter of type 'Record'.
Index signature for type 'string' is missing in type '{ type: string; actor: string; object: string | null; }[]'.
src/server/api/common/signin.ts(12,26): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
Type 'null' is not assignable to type 'string'.
src/server/api/define.ts(34,62): error TS2344: Type 'NonNullable' does not satisfy the constraint 'Schema'.
Type 'T["res"]' is not assignable to type 'Schema'.
Type 'SimpleSchema | undefined' is not assignable to type 'Schema'.
Type 'undefined' is not assignable to type 'Schema'.
Type 'SimpleSchema' is not assignable to type 'Schema'.
Types of property 'ref' are incompatible.
Type 'string | undefined' is not assignable to type '"Note" | "Page" | "User" | "DriveFile" | "UserGroup" | "DriveFolder" | "UserList" | "App" | "MessagingMessage" | "NoteReaction" | "NoteFavorite" | "Notification" | "Following" | ... 12 more ... | undefined'.
Type 'string' is not assignable to type '"Note" | "Page" | "User" | "DriveFile" | "UserGroup" | "DriveFolder" | "UserList" | "App" | "MessagingMessage" | "NoteReaction" | "NoteFavorite" | "Notification" | "Following" | ... 12 more ... | undefined'.
src/server/api/endpoints/admin/accounts/create.ts(31,29): error TS2345: Argument of type '(ps: Params<{ tags: string[]; params: { username: { validator: StringContext; }; password: { validator: StringContext; }; }; res: { type: "object"; optional: false; nullable: false; ref: string; properties: { ...; }; }; }>, _me: SimpleUserInfo | null) => Promise<...>' is not assignable to parameter of type 'executor<{ tags: string[]; params: { username: { validator: StringContext; }; password: { validator: StringContext; }; }; res: { type: "object"; optional: false; nullable: false; ref: string; properties: { ...; }; }; }>'.
Type 'Promise>' is not assignable to type 'Promise>'.
Type 'Packed<"User">' is not assignable to type 'ObjType<{ token: { type: "string"; optional: false; nullable: false; }; }>'.
Property 'token' is missing in type 'Packed<"User">' but required in type '{ token: string; }'.
src/server/api/endpoints/admin/announcements/create.ts(60,29): error TS2345: Argument of type '(ps: Params<{ tags: string[]; requireCredential: true; requireModerator: boolean; params: { title: { validator: StringContext; }; text: { validator: StringContext; }; imageUrl: { ...; }; }; res: { ...; }; }>) => Promise<...>' is not assignable to parameter of type 'executor<{ tags: string[]; requireCredential: true; requireModerator: boolean; params: { title: { validator: StringContext; }; text: { validator: StringContext; }; imageUrl: { ...; }; }; res: { ...; }; }>'.
Type 'Promise<{ id: string; createdAt: Date; updatedAt: null; title: string; text: string; imageUrl: string | null; } & Announcement>' is not assignable to type 'Promise; default: number; }; sinceId: { validator: ID; }; untilId: { ...; }; }; res: { ...; }; }>) => Promise<...>' is not assignable to parameter of type 'executor<{ tags: string[]; requireCredential: true; requireModerator: boolean; params: { limit: { validator: NumberContext; default: number; }; sinceId: { validator: ID; }; untilId: { ...; }; }; res: { ...; }; }>'.
Type 'Promise' is not assignable to type 'Promise; }; url: { validator: StringContext; }; }; errors: { ...; }; res: { ...; }; }>, me: SimpleUserInfo) => Promise<...>' is not assignable to parameter of type 'executor<{ tags: string[]; requireCredential: true; requireModerator: boolean; params: { fileId: { validator: ID; }; url: { validator: StringContext; }; }; errors: { ...; }; res: { ...; }; }>'.
Type 'Promise' is not assignable to type 'Promise'.
Type 'DriveFile' is not assignable to type '{ type: string; name: string; comment: string | null; id: string; createdAt: string; userId: string | null; folderId: string | null; userHost: string | null; md5: string; size: number; blurhash: string | null; ... 11 more ...; isLink: boolean; }'.
Types of property 'createdAt' are incompatible.
Type 'Date' is not assignable to type 'string'.
src/server/api/endpoints/admin/emoji/copy.ts(69,3): error TS2345: Argument of type '{ id: string; updatedAt: Date; name: string; host: null; aliases: never[]; url: string; type: string; fileId: string; }' is not assignable to parameter of type 'QueryDeepPartialEntity | QueryDeepPartialEntity[]'.
Object literal may only specify known properties, and 'fileId' does not exist in type 'QueryDeepPartialEntity | QueryDeepPartialEntity[]'.
src/server/api/endpoints/admin/promo/create.ts(53,3): error TS2345: Argument of type '{ noteId: string; createdAt: Date; expiresAt: Date; userId: string; }' is not assignable to parameter of type 'QueryDeepPartialEntity | QueryDeepPartialEntity[]'.
Object literal may only specify known properties, and 'createdAt' does not exist in type 'QueryDeepPartialEntity | QueryDeepPartialEntity[]'.
src/server/api/endpoints/admin/queue/deliver-delayed.ts(38,23): error TS2345: Argument of type '{ tags: string[]; requireCredential: true; requireModerator: boolean; params: {}; res: { type: "array"; optional: false; nullable: false; items: { type: "array"; optional: false; nullable: false; items: { ...; }; }; example: (string | number)[][]; }; }' is not assignable to parameter of type 'IEndpointMeta'.
The types of 'res.items.items' are incompatible between these types.
Type '{ anyOf: ({ type: "string"; } | { type: "number"; })[]; }' is missing the following properties from type 'SimpleSchema': type, nullable, optional
src/server/api/endpoints/admin/queue/inbox-delayed.ts(38,23): error TS2345: Argument of type '{ tags: string[]; requireCredential: true; requireModerator: boolean; params: {}; res: { type: "array"; optional: false; nullable: false; items: { type: "array"; optional: false; nullable: false; items: { ...; }; }; example: (string | number)[][]; }; }' is not assignable to parameter of type 'IEndpointMeta'.
The types of 'res.items.items' are incompatible between these types.
Type '{ anyOf: ({ type: "string"; } | { type: "number"; })[]; }' is missing the following properties from type 'SimpleSchema': type, nullable, optional
src/server/api/endpoints/admin/queue/jobs.ts(59,29): error TS2345: Argument of type '(ps: Params<{ tags: string[]; requireCredential: true; requireModerator: boolean; params: { domain: { validator: StringContext; }; state: { validator: StringContext; }; limit: { ...; }; }; res: { ...; }; }>) => Promise<...>' is not assignable to parameter of type 'executor<{ tags: string[]; requireCredential: true; requireModerator: boolean; params: { domain: { validator: StringContext; }; state: { validator: StringContext; }; limit: { ...; }; }; res: { ...; }; }>'.
Type 'Promise<{ id: JobId; data: ObjectStorageJobData; attempts: number; maxAttempts: number | undefined; timestamp: number; }[]>' is not assignable to type 'Promise[]>'.
Type '{ id: JobId; data: ObjectStorageJobData; attempts: number; maxAttempts: number | undefined; timestamp: number; }[]' is not assignable to type 'ObjType<{ id: { type: "string"; optional: false; nullable: false; format: string; }; data: { type: "object"; optional: false; nullable: false; }; attempts: { type: "number"; optional: false; nullable: false; }; maxAttempts: { ...; }; timestamp: { ...; }; }>[]'.
Type '{ id: Bull.JobId; data: ObjectStorageJobData; attempts: number; maxAttempts: number | undefined; timestamp: number; }' is not assignable to type 'ObjType<{ id: { type: "string"; optional: false; nullable: false; format: string; }; data: { type: "object"; optional: false; nullable: false; }; attempts: { type: "number"; optional: false; nullable: false; }; maxAttempts: { ...; }; timestamp: { ...; }; }>'.
Type '{ id: Bull.JobId; data: ObjectStorageJobData; attempts: number; maxAttempts: number | undefined; timestamp: number; }' is not assignable to type '{ data: ObjType; timestamp: number; id: string; attempts: number; maxAttempts: number; }'.
Types of property 'id' are incompatible.
Type 'JobId' is not assignable to type 'string'.
Type 'number' is not assignable to type 'string'.
src/server/api/endpoints/admin/queue/jobs.ts(67,36): error TS2322: Type 'string' is not assignable to type 'JobStatus'.
src/server/api/endpoints/admin/queue/jobs.ts(71,15): error TS2339: Property 'content' does not exist on type 'ObjectStorageJobData'.
Property 'content' does not exist on type 'ObjectStorageFileJobData'.
src/server/api/endpoints/admin/queue/jobs.ts(72,15): error TS2339: Property 'user' does not exist on type 'ObjectStorageJobData'.
Property 'user' does not exist on type 'ObjectStorageFileJobData'.
src/server/api/endpoints/admin/queue/stats.ts(32,23): error TS2345: Argument of type '{ tags: string[]; requireCredential: true; requireModerator: boolean; params: {}; res: { type: "object"; optional: false; nullable: false; properties: { deliver: { ref: string; }; inbox: { ref: string; }; db: { ...; }; objectStorage: { ...; }; }; }; }' is not assignable to parameter of type 'IEndpointMeta'.
The types of 'res.properties' are incompatible between these types.
Type '{ deliver: { ref: string; }; inbox: { ref: string; }; db: { ref: string; }; objectStorage: { ref: string; }; }' is not assignable to type 'SimpleObj'.
Property 'deliver' is incompatible with index signature.
Type '{ ref: string; }' is missing the following properties from type 'SimpleSchema': type, nullable, optional
src/server/api/endpoints/admin/relays/add.ts(55,23): error TS2345: Argument of type '{ tags: string[]; requireCredential: true; requireModerator: true; params: { inbox: { validator: StringContext; }; }; errors: { invalidUrl: { message: string; code: string; id: string; }; }; res: { ...; }; }' is not assignable to parameter of type 'IEndpointMeta'.
The types of 'res.properties' are incompatible between these types.
Type '{ id: { type: "string"; optional: false; nullable: false; format: string; }; inbox: { type: "string"; optional: false; nullable: false; format: string; }; status: { type: "string"; optional: false; nullable: false; default: string; enum: string[]; }; }' is not assignable to type 'SimpleObj'.
Property 'status' is incompatible with index signature.
Type '{ type: "string"; optional: false; nullable: false; default: string; enum: string[]; }' is not assignable to type 'SimpleSchema'.
Types of property 'default' are incompatible.
Type 'string' is not assignable to type 'boolean | null | undefined'.
src/server/api/endpoints/admin/relays/add.ts(57,18): error TS2339: Property 'inbox' does not exist on type 'Params'.
src/server/api/endpoints/admin/relays/add.ts(62,27): error TS2339: Property 'inbox' does not exist on type 'Params'.
src/server/api/endpoints/admin/relays/list.ts(45,23): error TS2345: Argument of type '{ tags: string[]; requireCredential: true; requireModerator: true; params: {}; res: { type: "array"; optional: false; nullable: false; items: { type: "object"; optional: false; nullable: false; properties: { ...; }; }; }; }' is not assignable to parameter of type 'IEndpointMeta'.
The types of 'res.items.properties' are incompatible between these types.
Type '{ id: { type: "string"; optional: false; nullable: false; format: string; }; inbox: { type: "string"; optional: false; nullable: false; format: string; }; status: { type: "string"; optional: false; nullable: false; default: string; enum: string[]; }; }' is not assignable to type 'SimpleObj'.
Property 'status' is incompatible with index signature.
Type '{ type: "string"; optional: false; nullable: false; default: string; enum: string[]; }' is not assignable to type 'SimpleSchema'.
Types of property 'default' are incompatible.
Type 'string' is not assignable to type 'boolean | null | undefined'.
src/server/api/endpoints/admin/show-user.ts(162,23): error TS2345: Argument of type '{ tags: string[]; requireCredential: true; requireModerator: boolean; params: { userId: { validator: ID; }; }; res: { type: "object"; nullable: false; optional: false; properties: { id: { type: "string"; nullable: false; optional: false; format: string; }; ... 28 more ...; token: { ...; }; }; }; }' is not assignable to parameter of type 'IEndpointMeta'.
The types of 'res.properties' are incompatible between these types.
Type '{ id: { type: "string"; nullable: false; optional: false; format: string; }; createdAt: { type: "string"; nullable: false; optional: false; format: string; }; updatedAt: { type: "string"; nullable: true; optional: false; format: string; }; ... 26 more ...; token: { ...; }; }' is not assignable to type 'SimpleObj'.
Property 'token' is incompatible with index signature.
Type '{ type: "string"; nullable: false; optional: false; default: string; }' is not assignable to type 'SimpleSchema'.
Types of property 'default' are incompatible.
Type 'string' is not assignable to type 'boolean | null | undefined'.
src/server/api/endpoints/admin/show-user.ts(163,38): error TS2339: Property 'userId' does not exist on type 'Params'.
src/server/api/endpoints/admin/show-user.ts(169,7): error TS2531: Object is possibly 'null'.
src/server/api/endpoints/admin/show-user.ts(169,26): error TS2531: Object is possibly 'null'.
src/server/api/endpoints/announcements.ts(76,29): error TS2345: Argument of type '(ps: Params<{ tags: string[]; requireCredential: false; params: { limit: { validator: NumberContext; default: number; }; withUnreads: { validator: BooleanContext; default: boolean; }; sinceId: { ...; }; untilId: { ...; }; }; res: { ...; }; }>, user: SimpleUserInfo | null) => Promise<...>' is not assignable to parameter of type 'executor<{ tags: string[]; requireCredential: false; params: { limit: { validator: NumberContext; default: number; }; withUnreads: { validator: BooleanContext; default: boolean; }; sinceId: { ...; }; untilId: { ...; }; }; res: { ...; }; }>'.
Type 'Promise' is not assignable to type 'Promise string) | QueryDeepPartialEntity<"group" | "all" | "home" | "users" | "list"> | undefined'.
src/server/api/endpoints/antennas/update.ts(128,3): error TS2322: Type 'string' is not assignable to type '(() => string) | QueryDeepPartialEntity<"group" | "all" | "home" | "users" | "list"> | undefined'.
src/server/api/endpoints/app/show.ts(30,2): error TS1117: An object literal cannot have multiple properties with the same name in strict mode.
src/server/api/endpoints/app/show.ts(30,2): error TS2300: Duplicate identifier 'res'.
src/server/api/endpoints/drive/files/create.ts(81,76): error TS2345: Argument of type 'string | boolean | undefined' is not assignable to parameter of type 'boolean | undefined'.
Type 'string' is not assignable to type 'boolean | undefined'.
src/server/api/endpoints/drive/files/create.ts(84,19): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | Error'.
Type 'unknown' is not assignable to type 'Error'.
src/server/api/endpoints/drive/files/upload-from-url.ts(56,82): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'null | undefined'.
Type 'string' is not assignable to type 'null | undefined'.
src/server/api/endpoints/federation/show-instance.ts(24,29): error TS2345: Argument of type '(ps: Params<{ tags: string[]; requireCredential: false; params: { host: { validator: StringContext; }; }; res: { type: "object"; optional: false; nullable: false; ref: string; }; }>, me: SimpleUserInfo | null) => Promise<...>' is not assignable to parameter of type 'executor<{ tags: string[]; requireCredential: false; params: { host: { validator: StringContext; }; }; res: { type: "object"; optional: false; nullable: false; ref: string; }; }>'.
Type 'Promise' is not assignable to type 'Promise>'.
Type 'Instance | undefined' is not assignable to type 'ObjType'.
Type 'undefined' is not assignable to type 'ObjType'.
Type 'undefined' is not assignable to type '{}'.
src/server/api/endpoints/following/create.ts(94,7): error TS2571: Object is of type 'unknown'.
src/server/api/endpoints/following/create.ts(95,7): error TS2571: Object is of type 'unknown'.
src/server/api/endpoints/following/requests/cancel.ts(53,7): error TS2571: Object is of type 'unknown'.
src/server/api/endpoints/games/reversi/games/show.ts(145,29): error TS2345: Argument of type '(ps: Params<{ tags: string[]; params: { gameId: { validator: ID; }; }; errors: { noSuchGame: { message: string; code: string; id: string; }; }; res: { type: "array"; optional: false; nullable: false; items: { ...; }; }; }>, user: SimpleUserInfo | null) => Promise<...>' is not assignable to parameter of type 'executor<{ tags: string[]; params: { gameId: { validator: ID; }; }; errors: { noSuchGame: { message: string; code: string; id: string; }; }; res: { type: "array"; optional: false; nullable: false; items: { ...; }; }; }>'.
Type 'Promise<{ board: (boolean | null | undefined)[]; turn: boolean | null; } & { map?: string[] | undefined; logs?: (ObjType<{ at: { type: "string"; optional: false; nullable: false; format: string; }; color: { type: "boolean"; optional: false; nullable: false; }; pos: { ...; }; }> | undefined)[] | undefined; } & { ...;...' is not assignable to type 'Promise'.
Type '{ board: (boolean | null | undefined)[]; turn: boolean | null; } & { map?: string[] | undefined; logs?: (ObjType<{ at: { type: "string"; optional: false; nullable: false; format: string; }; color: { type: "boolean"; optional: false; nullable: false; }; pos: { ...; }; }> | undefined)[] | undefined; } & { ...; }' is missing the following properties from type 'any[]': length, pop, push, concat, and 28 more.
src/server/api/endpoints/i/authorized-apps.ts(41,57): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string | App'.
Type 'null' is not assignable to type 'string | App'.
src/server/api/endpoints/i/gallery/likes.ts(47,29): error TS2345: Argument of type '(ps: Params<{ tags: string[]; requireCredential: true; kind: string; params: { limit: { validator: NumberContext; default: number; }; sinceId: { validator: ID; }; untilId: { ...; }; }; res: { ...; }; }>, user: SimpleUserInfo) => Promise<...>' is not assignable to parameter of type 'executor<{ tags: string[]; requireCredential: true; kind: string; params: { limit: { validator: NumberContext; default: number; }; sinceId: { validator: ID; }; untilId: { ...; }; }; res: { ...; }; }>'.
Type 'Promise<{ id: string; post: Packed<"GalleryPost">; }[]>' is not assignable to type 'Promise>'.
Type '{ id: string; post: Packed<"GalleryPost">; }[]' is not assignable to type 'ObjType<{ id: { type: "string"; optional: false; nullable: false; format: string; }; page: { type: "object"; optional: false; nullable: false; ref: string; }; }>'.
Type '{ id: string; post: Packed<"GalleryPost">; }[]' is missing the following properties from type '{ id: string; page: ObjType; }': id, page
src/server/api/endpoints/i/page-likes.ts(47,29): error TS2345: Argument of type '(ps: Params<{ tags: string[]; requireCredential: true; kind: string; params: { limit: { validator: NumberContext; default: number; }; sinceId: { validator: ID; }; untilId: { ...; }; }; res: { ...; }; }>, user: SimpleUserInfo) => Promise<...>' is not assignable to parameter of type 'executor<{ tags: string[]; requireCredential: true; kind: string; params: { limit: { validator: NumberContext; default: number; }; sinceId: { validator: ID; }; untilId: { ...; }; }; res: { ...; }; }>'.
Type 'Promise<{ id: string; page: Packed<"Page">; }[]>' is not assignable to type 'Promise>'.
Type '{ id: string; page: Packed<"Page">; }[]' is not assignable to type 'ObjType<{ id: { type: "string"; optional: false; nullable: false; format: string; }; page: { type: "object"; optional: false; nullable: false; ref: string; }; }>'.
Type '{ id: string; page: Packed<"Page">; }[]' is missing the following properties from type '{ id: string; page: ObjType; }': id, page
src/server/api/endpoints/i/update.ts(10,26): error TS7016: Could not find a declaration file for module 'langmap'. '/misskey/packages/backend/node_modules/langmap/language-mapping-list.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/langmap` if it exists or add a new declaration (.d.ts) file containing `declare module 'langmap';`
src/server/api/endpoints/i/update.ts(181,37): error TS2322: Type 'string' is not assignable to type '"public" | "private" | "followers" | undefined'.
src/server/api/endpoints/meta.ts(451,23): error TS2345: Argument of type '{ tags: string[]; requireCredential: false; params: { detail: { validator: BooleanContext; default: boolean; }; }; res: { type: "object"; optional: false; nullable: false; properties: { ...; }; }; }' is not assignable to parameter of type 'IEndpointMeta'.
The types of 'res.properties' are incompatible between these types.
Type '{ maintainerName: { type: "string"; optional: false; nullable: true; }; maintainerEmail: { type: "string"; optional: false; nullable: true; }; version: { type: "string"; optional: false; nullable: false; example: string; }; ... 69 more ...; objectStorageSetPublicRead: { ...; }; }' is not assignable to type 'SimpleObj'.
Property 'repositoryUrl' is incompatible with index signature.
Type '{ type: "string"; optional: false; nullable: false; default: string; }' is not assignable to type 'SimpleSchema'.
Types of property 'default' are incompatible.
Type 'string' is not assignable to type 'boolean | null | undefined'.
src/server/api/endpoints/meta.ts(526,10): error TS2339: Property 'detail' does not exist on type 'Params'.
src/server/api/endpoints/meta.ts(537,9): error TS2339: Property 'detail' does not exist on type 'Params'.
src/server/api/endpoints/my/apps.ts(72,29): error TS2345: Argument of type '(ps: Params<{ tags: string[]; requireCredential: true; params: { limit: { validator: NumberContext; default: number; }; offset: { validator: NumberContext; default: number; }; }; res: { ...; }; }>, user: SimpleUserInfo) => Promise<...>' is not assignable to parameter of type 'executor<{ tags: string[]; requireCredential: true; params: { limit: { validator: NumberContext; default: number; }; offset: { validator: NumberContext; default: number; }; }; res: { ...; }; }>'.
Type 'Promise[]>' is not assignable to type 'Promise[]>'.
Type 'Packed<"App">[]' is not assignable to type 'ObjType<{ id: { type: "string"; optional: false; nullable: false; }; name: { type: "string"; optional: false; nullable: false; }; callbackUrl: { type: "string"; optional: false; nullable: false; }; permission: { ...; }; secret: { ...; }; isAuthorized: { ...; }; }>[]'.
Type 'Packed<"App">' is not assignable to type 'ObjType<{ id: { type: "string"; optional: false; nullable: false; }; name: { type: "string"; optional: false; nullable: false; }; callbackUrl: { type: "string"; optional: false; nullable: false; }; permission: { ...; }; secret: { ...; }; isAuthorized: { ...; }; }>'.
Type 'Packed<"App">' is not assignable to type '{ secret?: string | undefined; isAuthorized?: ObjType<{ appId: { type: "string"; optional: false; nullable: false; }; userId: { type: "string"; optional: false; nullable: false; }; }> | undefined; }'.
Types of property 'isAuthorized' are incompatible.
Type 'boolean | undefined' is not assignable to type 'ObjType<{ appId: { type: "string"; optional: false; nullable: false; }; userId: { type: "string"; optional: false; nullable: false; }; }> | undefined'.
Type 'false' is not assignable to type 'ObjType<{ appId: { type: "string"; optional: false; nullable: false; }; userId: { type: "string"; optional: false; nullable: false; }; }> | undefined'.
src/server/api/endpoints/notes/search.ts(118,14): error TS2339: Property 'offset' does not exist on type 'Params<{ tags: string[]; requireCredential: false; params: { query: { validator: StringContext; }; sinceId: { validator: ID; }; untilId: { validator: ID; }; limit: { ...; }; host: { ...; }; userId: { ...; }; channelId: { ...; }; }; res: { ...; }; errors: {}; }>'.
src/server/api/endpoints/room/show.ts(112,29): error TS2345: Argument of type '(ps: Params<{ tags: string[]; requireCredential: false; params: { userId: { validator: ID; }; username: { validator: StringContext; }; host: { validator: StringContext; }; }; errors: { ...; }; res: { ...; }; }>, me: SimpleUserInfo | null) => Promise<...>' is not assignable to parameter of type 'executor<{ tags: string[]; requireCredential: false; params: { userId: { validator: ID; }; username: { validator: StringContext; }; host: { validator: StringContext; }; }; errors: { ...; }; res: { ...; }; }>'.
Type 'Promise>' is not assignable to type 'Promise>'.
Type 'Record' is not assignable to type 'ObjType<{ roomType: { type: "string"; optional: false; nullable: false; enum: string[]; }; furnitures: { type: "array"; optional: false; nullable: false; items: { type: "object"; optional: false; nullable: false; properties: { ...; }; }; }; carpetColor: { ...; }; }>'.
Type 'Record' is missing the following properties from type '{ roomType: string; furnitures: ObjType<{ id: { type: "string"; optional: false; nullable: false; }; type: { type: "string"; optional: false; nullable: false; }; props: { type: "object"; optional: true; nullable: false; }; position: { ...; }; rotation: { ...; }; }>[]; carpetColor: string; }': roomType, furnitures, carpetColor
src/server/api/endpoints/sw/register.ts(43,29): error TS2345: Argument of type '(ps: Params<{ tags: string[]; requireCredential: true; params: { endpoint: { validator: StringContext; }; auth: { validator: StringContext; }; publickey: { ...; }; }; res: { ...; }; }>, user: SimpleUserInfo) => Promise<...>' is not assignable to parameter of type 'executor<{ tags: string[]; requireCredential: true; params: { endpoint: { validator: StringContext; }; auth: { validator: StringContext; }; publickey: { ...; }; }; res: { ...; }; }>'.
Type 'Promise<{ state: string; key: string | null; }>' is not assignable to type 'Promise>'.
Type '{ state: string; key: string | null; }' is not assignable to type 'ObjType<{ state: { type: "string"; optional: false; nullable: false; enum: string[]; }; key: { type: "string"; optional: false; nullable: false; }; }>'.
Type '{ state: string; key: string | null; }' is not assignable to type '{ key: string; state: string; }'.
Types of property 'key' are incompatible.
Type 'string | null' is not assignable to type 'string'.
Type 'null' is not assignable to type 'string'.
src/server/api/endpoints/users/relation.ts(105,23): error TS2345: Argument of type '{ tags: string[]; requireCredential: true; params: { userId: { validator: EitherContext, ArrayContext, string[]>, string>; }; }; res: { ...; }; }' is not assignable to parameter of type 'IEndpointMeta'.
Types of property 'res' are incompatible.
Type '{ oneOf: ({ type: "object"; optional: false; nullable: false; properties: { id: { type: "string"; optional: false; nullable: false; format: string; }; isFollowing: { type: "boolean"; optional: false; nullable: false; }; ... 5 more ...; isMuted: { ...; }; }; items?: undefined; } | { ...; })[]; }' is missing the following properties from type 'SimpleSchema': type, nullable, optional
src/server/api/endpoints/users/relation.ts(106,31): error TS2339: Property 'userId' does not exist on type 'Params'.
src/server/api/endpoints/users/relation.ts(106,44): error TS2339: Property 'userId' does not exist on type 'Params'.
src/server/api/endpoints/users/relation.ts(106,57): error TS2339: Property 'userId' does not exist on type 'Params'.
src/server/api/endpoints/users/relation.ts(108,46): error TS7006: Parameter 'id' implicitly has an 'any' type.
src/server/api/endpoints/users/relation.ts(108,70): error TS2531: Object is possibly 'null'.
src/server/api/endpoints/users/relation.ts(110,26): error TS2339: Property 'userId' does not exist on type 'Params'.
src/server/api/endpoints/users/search-by-username-and-host.ts(44,29): error TS2345: Argument of type '(ps: Params<{ tags: string[]; requireCredential: false; params: { username: { validator: StringContext; }; host: { validator: StringContext; }; limit: { ...; }; detail: { ...; }; }; res: { ...; }; }>, me: SimpleUserInfo | null) => Promise<...>' is not assignable to parameter of type 'executor<{ tags: string[]; requireCredential: false; params: { username: { validator: StringContext; }; host: { validator: StringContext; }; limit: { ...; }; detail: { ...; }; }; res: { ...; }; }>'.
Type 'Promise
đĄ Summary
Upgrade to 12.96.1 results in broken site. There are many reports of broken upgrades.
đ Expected Behavior
Working Misskey
âšī¸ Actual Behavior
Broken Misskey
đ Steps to Reproduce
đ Environment
12.96.1 / PostgreSQL 13.4 / nginx