Can't install (Mac OSX Catalina 10.15.7)
altomator opened this issue · 3 comments
Dear Raffaele,
I'm trying to install archiviiify to use in a TNA (The National Archives, UK) project.
I get a lot of Deno errors (but 'brew install deno' worked well)...
All the best,
jp
MBP-de-jp:archiviiify bnf$ docker-compose up
[+] Building 14.9s (13/20)
=> [archiviiify-iiif-search-api internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 31B 0.0s
=> [archiviiify-iipsrv internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 124B 0.0s
=> [archiviiify-iiif-search-api internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [archiviiify-iipsrv internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [archiviiify-iiif-search-api internal] load metadata for docker.io/hayd/alpine-deno:latest 1.5s
=> [archiviiify-iipsrv internal] load metadata for docker.io/library/debian:latest 1.4s
=> CACHED [archiviiify-iipsrv 1/9] FROM docker.io/library/debian@sha256:bfe6615d017d1eebe19f349669de58cda36c668ef916e618be78 0.0s
=> CANCELED [archiviiify-iipsrv 2/9] RUN apt update && apt install -y build-essential git libtiff-dev autoconf libtool pkg- 13.2s
=> [archiviiify-iiif-search-api 1/4] FROM docker.io/hayd/alpine-deno@sha256:01eafb80f4c32d977a78d1c57422f8ad3d19bab6805b148d 0.0s
=> [archiviiify-iiif-search-api internal] load build context 0.0s
=> => transferring context: 172B 0.0s
=> CACHED [archiviiify-iiif-search-api 2/4] WORKDIR /app 0.0s
=> CACHED [archiviiify-iiif-search-api 3/4] ADD . . 0.0s
=> ERROR [archiviiify-iiif-search-api 4/4] RUN deno cache main.js 13.1s
[archiviiify-iiif-search-api 4/4] RUN deno cache main.js:
#0 0.715 Download https://deno.land/x/oak/mod.ts
#0 0.716 Download https://deno.land/x/oak/helpers.ts
#0 0.717 Download https://deno.land/x/cors/mod.ts
#0 0.717 Download https://cdn.jsdelivr.net/npm/short-unique-id@latest/short_uuid/mod.ts
#0 0.868 Download https://cdn.jsdelivr.net/npm/short-unique-id@latest/short_uuid/version.ts
#0 1.157 Warning Implicitly using latest version (v11.1.0) for https://deno.land/x/oak/helpers.ts
#0 1.161 Download https://deno.land/x/oak@v11.1.0/helpers.ts
#0 1.161 Warning Implicitly using latest version (v11.1.0) for https://deno.land/x/oak/mod.ts
#0 1.162 Download https://deno.land/x/oak@v11.1.0/mod.ts
#0 1.194 Download https://deno.land/x/oak@v11.1.0/router.ts
#0 1.194 Download https://deno.land/x/oak@v11.1.0/util.ts
#0 1.194 Download https://deno.land/x/oak@v11.1.0/context.ts
#0 1.206 Download https://deno.land/x/oak@v11.1.0/range.ts
#0 1.206 Download https://deno.land/x/oak@v11.1.0/etag.ts
#0 1.207 Download https://deno.land/x/oak@v11.1.0/testing.ts
#0 1.209 Download https://deno.land/x/oak@v11.1.0/application.ts
#0 1.210 Download https://deno.land/x/oak@v11.1.0/send.ts
#0 1.211 Download https://deno.land/x/oak@v11.1.0/types.d.ts
#0 1.214 Download https://deno.land/x/oak@v11.1.0/server_sent_event.ts
#0 1.215 Download https://deno.land/x/oak@v11.1.0/deps.ts
#0 1.216 Download https://deno.land/x/oak@v11.1.0/middleware/proxy.ts
#0 1.217 Download https://deno.land/x/oak@v11.1.0/cookies.ts
#0 1.219 Download https://deno.land/x/oak@v11.1.0/middleware.ts
#0 1.222 Download https://deno.land/x/oak@v11.1.0/body.ts
#0 1.222 Download https://deno.land/x/oak@v11.1.0/multipart.ts
#0 1.222 Download https://deno.land/x/oak@v11.1.0/http_server_flash.ts
#0 1.222 Download https://deno.land/x/oak@v11.1.0/http_server_native.ts
#0 1.223 Download https://deno.land/x/oak@v11.1.0/http_request.ts
#0 1.223 Download https://deno.land/x/oak@v11.1.0/http_server_native_request.ts
#0 1.225 Download https://deno.land/x/oak@v11.1.0/response.ts
#0 1.226 Download https://deno.land/x/oak@v11.1.0/request.ts
#0 1.228 Warning Implicitly using latest version (v1.2.2) for https://deno.land/x/cors/mod.ts
#0 1.235 Download https://deno.land/x/cors@v1.2.2/mod.ts
#0 1.265 Download https://deno.land/x/oak@v11.1.0/keyStack.ts
#0 1.281 Download https://deno.land/std@0.152.0/io/readers.ts
#0 1.282 Download https://deno.land/std@0.152.0/bytes/mod.ts
#0 1.284 Download https://deno.land/std@0.152.0/encoding/base64.ts
#0 1.285 Download https://deno.land/std@0.152.0/http/http_errors.ts
#0 1.286 Download https://deno.land/std@0.152.0/http/http_status.ts
#0 1.287 Download https://deno.land/std@0.152.0/crypto/timing_safe_equal.ts
#0 1.288 Download https://deno.land/std@0.152.0/http/negotiation.ts
#0 1.290 Download https://deno.land/std@0.152.0/async/deferred.ts
#0 1.291 Download https://deno.land/std@0.152.0/media_types/mod.ts
#0 1.293 Download https://deno.land/std@0.152.0/streams/conversion.ts
#0 1.294 Download https://deno.land/std@0.152.0/path/mod.ts
#0 1.297 Download https://deno.land/x/path_to_regexp@v6.2.1/index.ts
#0 1.319 Download https://deno.land/x/oak@v11.1.0/structured_clone.ts
#0 1.387 Download https://deno.land/x/oak@v11.1.0/isMediaType.ts
#0 1.388 Download https://deno.land/x/oak@v11.1.0/content_disposition.ts
#0 1.389 Download https://deno.land/x/oak@v11.1.0/buf_reader.ts
#0 1.389 Download https://deno.land/x/oak@v11.1.0/headers.ts
#0 1.390 Download https://deno.land/x/cors@v1.2.2/oakCors.ts
#0 1.390 Download https://deno.land/x/cors@v1.2.2/abcCors.ts
#0 1.391 Download https://deno.land/x/cors@v1.2.2/opineCors.ts
#0 1.392 Download https://deno.land/x/cors@v1.2.2/types.ts
#0 1.393 Download https://deno.land/x/cors@v1.2.2/attainCors.ts
#0 1.393 Download https://deno.land/x/cors@v1.2.2/mithCors.ts
#0 1.480 Download https://deno.land/std@0.152.0/io/buffer.ts
#0 1.481 Download https://deno.land/std@0.152.0/bytes/equals.ts
#0 1.482 Download https://deno.land/std@0.152.0/http/_negotiation/media_type.ts
#0 1.483 Download https://deno.land/std@0.152.0/http/_negotiation/encoding.ts
#0 1.484 Download https://deno.land/std@0.152.0/http/_negotiation/language.ts
#0 1.485 Download https://deno.land/std@0.152.0/testing/asserts.ts
#0 1.485 Download https://deno.land/std@0.152.0/path/separator.ts
#0 1.485 Download https://deno.land/std@0.152.0/path/_interface.ts
#0 1.486 Download https://deno.land/std@0.152.0/path/glob.ts
#0 1.487 Download https://deno.land/std@0.152.0/path/posix.ts
#0 1.487 Download https://deno.land/std@0.152.0/_util/os.ts
#0 1.487 Download https://deno.land/std@0.152.0/path/win32.ts
#0 1.488 Download https://deno.land/std@0.152.0/path/common.ts
#0 1.489 Download https://deno.land/std@0.152.0/media_types/vendor/mime-db.v1.52.0.ts
#0 1.489 Download https://deno.land/std@0.152.0/media_types/_util.ts
#0 1.537 Download https://deno.land/x/oak@v11.1.0/mediaTyper.ts
#0 1.537 Download https://deno.land/x/cors@v1.2.2/cors.ts
#0 1.555 Download https://deno.land/std@0.152.0/http/_negotiation/common.ts
#0 1.575 Download https://deno.land/std@0.152.0/_util/assert.ts
#0 1.576 Download https://deno.land/std@0.152.0/bytes/bytes_list.ts
#0 1.578 Download https://deno.land/std@0.152.0/io/types.d.ts
#0 1.655 Download https://deno.land/std@0.152.0/path/_constants.ts
#0 1.658 Download https://deno.land/std@0.152.0/path/_util.ts
#0 1.663 Download https://deno.land/std@0.152.0/testing/_format.ts
#0 1.663 Download https://deno.land/std@0.152.0/fmt/colors.ts
#0 1.663 Download https://deno.land/std@0.152.0/testing/_diff.ts
#0 1.801 Check file:///app/main.js
#0 12.91 error: TS1005 [ERROR]: ',' expected.
#0 12.91 type ErrorStatus,
#0 12.91 ~~~~~~~~~~~
#0 12.91 at https://deno.land/std@0.152.0/http/http_errors.ts:49:8
#0 12.91
#0 12.91 TS1005 [ERROR]: ';' expected.
#0 12.91 override get status() {
#0 12.91 ~~~
#0 12.91 at https://deno.land/std@0.152.0/http/http_errors.ts:155:14
#0 12.91
#0 12.91 TS1005 [ERROR]: ';' expected.
#0 12.91 override name = "BufferFullError";
#0 12.91 ~~~~
#0 12.91 at https://deno.land/std@0.152.0/io/buffer.ts:257:12
#0 12.91
#0 12.91 TS1005 [ERROR]: ';' expected.
#0 12.91 override name = "PartialReadError";
#0 12.91 ~~~~
#0 12.91 at https://deno.land/std@0.152.0/io/buffer.ts:264:12
#0 12.91
#0 12.91 TS1005 [ERROR]: ';' expected.
#0 12.91 override name = "AssertionError";
#0 12.91 ~~~~
#0 12.91 at https://deno.land/std@0.152.0/testing/asserts.ts:18:12
#0 12.91
#0 12.91 TS1005 [ERROR]: ',' expected.
#0 12.91 type Deferred,
#0 12.91 ~~~~~~~~
#0 12.91 at https://deno.land/x/oak@v11.1.0/deps.ts:8:8
#0 12.91
#0 12.91 TS1005 [ERROR]: ',' expected.
#0 12.91 type Key,
#0 12.91 ~~~
#0 12.91 at https://deno.land/x/oak@v11.1.0/deps.ts:58:8
#0 12.91
#0 12.91 TS1005 [ERROR]: ',' expected.
#0 12.91 type ParseOptions,
#0 12.91 ~~~~~~~~~~~~
#0 12.91 at https://deno.land/x/oak@v11.1.0/deps.ts:61:8
#0 12.91
#0 12.91 TS1005 [ERROR]: ',' expected.
#0 12.91 type TokensToRegexpOptions,
#0 12.91 ~~~~~~~~~~~~~~~~~~~~~
#0 12.91 at https://deno.land/x/oak@v11.1.0/deps.ts:63:8
#0 12.91
#0 12.91 TS1005 [ERROR]: ',' expected.
#0 12.91 import { type Deferred } from "./deps.ts";
#0 12.91 ~~~~~~~~
#0 12.91 at https://deno.land/x/oak@v11.1.0/http_request.ts:3:15
#0 12.91
#0 12.91 TS1005 [ERROR]: ',' expected.
#0 12.91 import { type Application } from "./application.ts";
#0 12.91 ~~~~~~~~~~~
#0 12.91 at https://deno.land/x/oak@v11.1.0/http_server_flash.ts:3:15
#0 12.91
#0 12.91 TS1005 [ERROR]: ',' expected.
#0 12.91 export { Context, type ContextSendOptions } from "./context.ts";
#0 12.91 ~~~~~~~~~~~~~~~~~~
#0 12.91 at https://deno.land/x/oak@v11.1.0/mod.ts:82:24
#0 12.91
#0 12.91 TS1005 [ERROR]: ',' expected.
#0 12.91 type CookiesGetOptions,
#0 12.91 ~~~~~~~~~~~~~~~~~
#0 12.91 at https://deno.land/x/oak@v11.1.0/mod.ts:86:8
#0 12.91
#0 12.91 TS1005 [ERROR]: ',' expected.
#0 12.91 type CookiesSetDeleteOptions,
#0 12.91 ~~~~~~~~~~~~~~~~~~~~~~~
#0 12.91 at https://deno.land/x/oak@v11.1.0/mod.ts:87:8
#0 12.91
#0 12.92 TS1005 [ERROR]: ',' expected.
#0 12.92 export { type NativeRequest } from "./http_server_native_request.ts";
#0 12.92 ~~~~~~~~~~~~~
#0 12.92 at https://deno.land/x/oak@v11.1.0/mod.ts:93:15
#0 12.92
#0 12.92 TS7008 [ERROR]: Member 'override' implicitly has an 'any' type.
#0 12.92 override name = "AssertionError";
#0 12.92 ~~~~~~~~
#0 12.92 at https://deno.land/std@0.152.0/testing/asserts.ts:18:3
#0 12.92
#0 12.92 TS2352 [ERROR]: 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.
#0 12.92 ? diffstr(actual as string, expected as string)
#0 12.92 ~~~~~~~~~~~~~~~~
#0 12.92 at https://deno.land/std@0.152.0/testing/asserts.ts:173:17
#0 12.92
#0 12.92 TS2352 [ERROR]: 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.
#0 12.92 ? diffstr(actual as string, expected as string)
#0 12.92 ~~~~~~~~~~~~~~~~~~
#0 12.92 at https://deno.land/std@0.152.0/testing/asserts.ts:173:35
#0 12.92
#0 12.92 TS2352 [ERROR]: 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.
#0 12.92 ? diffstr(actual as string, expected as string)
#0 12.92 ~~~~~~~~~~~~~~~~~~
#0 12.92 at https://deno.land/std@0.152.0/testing/asserts.ts:261:39
#0 12.92
#0 12.92 TS2531 [ERROR]: Object is possibly 'null'.
#0 12.92 actualTypeStr = actual.constructor?.name ?? "Object";
#0 12.92 ~~~~~~
#0 12.92 at https://deno.land/std@0.152.0/testing/asserts.ts:359:23
#0 12.92
#0 12.92 TS2305 [ERROR]: Module '"https://deno.land/std@0.152.0/http/http_status.ts"' has no exported member 'type'.
#0 12.92 type ErrorStatus,
#0 12.92 ~~~~
#0 12.92 at https://deno.land/std@0.152.0/http/http_errors.ts:49:3
#0 12.92
#0 12.92 TS2304 [ERROR]: Cannot find name 'ErrorOptions'.
#0 12.92 export interface HttpErrorOptions extends ErrorOptions {
#0 12.92 ~~~~~~~~~~~~
#0 12.92 at https://deno.land/std@0.152.0/http/http_errors.ts:99:43
#0 12.92
#0 12.92 TS2554 [ERROR]: Expected 0-1 arguments, but got 2.
#0 12.92 super(message, options);
#0 12.92 ~~~~~~~
#0 12.92 at https://deno.land/std@0.152.0/http/http_errors.ts:114:20
#0 12.92
#0 12.92 TS7008 [ERROR]: Member 'override' implicitly has an 'any' type.
#0 12.92 override get status() {
#0 12.92 ~~~~~~~~
#0 12.92 at https://deno.land/std@0.152.0/http/http_errors.ts:155:5
#0 12.92
#0 12.92 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.92 #tryGrowByReslice(n: number) {
#0 12.92 ~~~~~~~~~~~~~~~~~
#0 12.92 at https://deno.land/std@0.152.0/io/buffer.ts:86:3
#0 12.92
#0 12.92 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.92 #reslice(len: number) {
#0 12.92 ~~~~~~~~
#0 12.92 at https://deno.land/std@0.152.0/io/buffer.ts:95:3
#0 12.92
#0 12.92 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.92 #grow(n: number) {
#0 12.92 ~~~~~
#0 12.92 at https://deno.land/std@0.152.0/io/buffer.ts:142:3
#0 12.92
#0 12.92 TS7008 [ERROR]: Member 'override' implicitly has an 'any' type.
#0 12.92 override name = "BufferFullError";
#0 12.92 ~~~~~~~~
#0 12.92 at https://deno.land/std@0.152.0/io/buffer.ts:257:3
#0 12.92
#0 12.92 TS7008 [ERROR]: Member 'override' implicitly has an 'any' type.
#0 12.92 override name = "PartialReadError";
#0 12.92 ~~~~~~~~
#0 12.92 at https://deno.land/std@0.152.0/io/buffer.ts:264:3
#0 12.92
#0 12.92 TS2339 [ERROR]: Property 'cause' does not exist on type 'PartialReadError'.
#0 12.92 e.cause = err.cause;
#0 12.92 ~~~~~
#0 12.92 at https://deno.land/std@0.152.0/io/buffer.ts:432:13
#0 12.92
#0 12.92 TS2339 [ERROR]: Property 'cause' does not exist on type 'Error'.
#0 12.92 e.cause = err.cause;
#0 12.92 ~~~~~
#0 12.92 at https://deno.land/std@0.152.0/io/buffer.ts:432:25
#0 12.92
#0 12.92 TS2339 [ERROR]: Property 'cause' does not exist on type 'PartialReadError'.
#0 12.92 e.cause = err.cause;
#0 12.92 ~~~~~
#0 12.92 at https://deno.land/std@0.152.0/io/buffer.ts:618:13
#0 12.92
#0 12.92 TS2339 [ERROR]: Property 'cause' does not exist on type 'Error'.
#0 12.92 e.cause = err.cause;
#0 12.92 ~~~~~
#0 12.92 at https://deno.land/std@0.152.0/io/buffer.ts:618:25
#0 12.92
#0 12.92 TS2339 [ERROR]: Property 'cause' does not exist on type 'PartialReadError'.
#0 12.92 e.cause = err.cause;
#0 12.92 ~~~~~
#0 12.92 at https://deno.land/std@0.152.0/io/buffer.ts:663:13
#0 12.92
#0 12.92 TS2339 [ERROR]: Property 'cause' does not exist on type 'Error'.
#0 12.92 e.cause = err.cause;
#0 12.92 ~~~~~
#0 12.92 at https://deno.land/std@0.152.0/io/buffer.ts:663:25
#0 12.92
#0 12.92 TS2322 [ERROR]: Type 'string' is not assignable to type 'Lowercase extends KnownExtensionOrType ? string : string | undefined'.
#0 12.92 return formatMediaType(mediaType, params);
#0 12.92 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#0 12.92 at https://deno.land/std@0.152.0/media_types/mod.ts:126:5
#0 12.92
#0 12.92 TS2300 [ERROR]: Duplicate identifier 'type'.
#0 12.92 type Deferred,
#0 12.92 ~~~~
#0 12.92 at https://deno.land/x/oak@v11.1.0/deps.ts:8:3
#0 12.92
#0 12.92 TS2300 [ERROR]: Duplicate identifier 'type'.
#0 12.92 type Key,
#0 12.92 ~~~~
#0 12.92 at https://deno.land/x/oak@v11.1.0/deps.ts:58:3
#0 12.92
#0 12.92 TS2300 [ERROR]: Duplicate identifier 'type'.
#0 12.92 type Deferred,
#0 12.92 ~~~~
#0 12.92 at https://deno.land/x/oak@v11.1.0/deps.ts:8:3
#0 12.92
#0 12.92 TS2300 [ERROR]: Duplicate identifier 'type'.
#0 12.92 type ParseOptions,
#0 12.92 ~~~~
#0 12.92 at https://deno.land/x/oak@v11.1.0/deps.ts:61:3
#0 12.92
#0 12.92 TS2300 [ERROR]: Duplicate identifier 'type'.
#0 12.92 type Deferred,
#0 12.92 ~~~~
#0 12.92 at https://deno.land/x/oak@v11.1.0/deps.ts:8:3
#0 12.92
#0 12.92 TS2300 [ERROR]: Duplicate identifier 'type'.
#0 12.92 type TokensToRegexpOptions,
#0 12.92 ~~~~
#0 12.92 at https://deno.land/x/oak@v11.1.0/deps.ts:63:3
#0 12.92
#0 12.92 TS2305 [ERROR]: Module '"https://deno.land/std@0.152.0/async/deferred.ts"' has no exported member 'type'.
#0 12.92 type Deferred,
#0 12.92 ~~~~
#0 12.92 at https://deno.land/x/oak@v11.1.0/deps.ts:8:3
#0 12.92
#0 12.92 TS1205 [ERROR]: Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'.
#0 12.92 type Deferred,
#0 12.92 ~~~~~~~~
#0 12.92 at https://deno.land/x/oak@v11.1.0/deps.ts:8:8
#0 12.92
#0 12.92 TS2305 [ERROR]: Module '"https://deno.land/x/path_to_regexp@v6.2.1/index.ts"' has no exported member 'type'.
#0 12.92 type Key,
#0 12.92 ~~~~
#0 12.92 at https://deno.land/x/oak@v11.1.0/deps.ts:58:3
#0 12.92
#0 12.92 TS1205 [ERROR]: Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'.
#0 12.92 type Key,
#0 12.92 ~~~
#0 12.92 at https://deno.land/x/oak@v11.1.0/deps.ts:58:8
#0 12.92
#0 12.92 TS2305 [ERROR]: Module '"https://deno.land/x/path_to_regexp@v6.2.1/index.ts"' has no exported member 'type'.
#0 12.92 type ParseOptions,
#0 12.92 ~~~~
#0 12.92 at https://deno.land/x/oak@v11.1.0/deps.ts:61:3
#0 12.93
#0 12.93 TS1205 [ERROR]: Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'.
#0 12.93 type ParseOptions,
#0 12.93 ~~~~~~~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/deps.ts:61:8
#0 12.93
#0 12.93 TS2305 [ERROR]: Module '"https://deno.land/x/path_to_regexp@v6.2.1/index.ts"' has no exported member 'type'.
#0 12.93 type TokensToRegexpOptions,
#0 12.93 ~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/deps.ts:63:3
#0 12.93
#0 12.93 TS1205 [ERROR]: Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'.
#0 12.93 type TokensToRegexpOptions,
#0 12.93 ~~~~~~~~~~~~~~~~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/deps.ts:63:8
#0 12.93
#0 12.93 TS2304 [ERROR]: Cannot find name 'CryptoKey'.
#0 12.93 #cryptoKeys = new Map<Key, CryptoKey>();
#0 12.93 ~~~~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/keyStack.ts:31:30
#0 12.93
#0 12.93 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.93 async #toCryptoKey(key: Key): Promise {
#0 12.93 ~~~~~~~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/keyStack.ts:34:9
#0 12.93
#0 12.93 TS2304 [ERROR]: Cannot find name 'CryptoKey'.
#0 12.93 async #toCryptoKey(key: Key): Promise {
#0 12.93 ~~~~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/keyStack.ts:34:41
#0 12.93
#0 12.93 TS2724 [ERROR]: 'Deno' has no exported member named 'FsFile'. Did you mean 'File'?
#0 12.93 async function getFile(contentType: string): Promise<[string, Deno.FsFile]> {
#0 12.93 ~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/multipart.ts:185:70
#0 12.93
#0 12.93 TS2724 [ERROR]: 'Deno' has no exported member named 'FsFile'. Did you mean 'File'?
#0 12.93 let file: Deno.FsFile | undefined;
#0 12.93 ~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/multipart.ts:226:22
#0 12.93
#0 12.93 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.93 #exceedsLimit(limit: number): boolean {
#0 12.93 ~~~~~~~~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/body.ts:195:3
#0 12.93
#0 12.93 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.93 #parse(type: BodyType, limit: number): BodyValueGetter {
#0 12.93 ~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/body.ts:213:3
#0 12.93
#0 12.93 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.93 #validateGetArgs(
#0 12.93 ~~~~~~~~~~~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/body.ts:269:3
#0 12.93
#0 12.93 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.93 #valuePromise() {
#0 12.93 ~~~~~~~~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/body.ts:310:3
#0 12.93
#0 12.93 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.93 #getRemoteAddr(): string {
#0 12.93 ~~~~~~~~~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/request.ts:39:3
#0 12.93
#0 12.93 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.93 async #getBodyInit(): Promise<globalThis.BodyInit | undefined> {
#0 12.93 ~~~~~~~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/response.ts:116:9
#0 12.93
#0 12.93 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.93 #setContentType(): void {
#0 12.93 ~~~~~~~~~~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/response.ts:126:3
#0 12.93
#0 12.93 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.93 #requestKeys(): string[] {
#0 12.93 ~~~~~~~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/cookies.ts:182:3
#0 12.93
#0 12.93 TS2531 [ERROR]: Object is possibly 'null'.
#0 12.93 const hash = base64.encode(await crypto.subtle.digest("SHA-1", entity))
#0 12.93 ~~~~~~~~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/etag.ts:54:36
#0 12.93
#0 12.93 TS2724 [ERROR]: 'Deno' has no exported member named 'FsFile'. Did you mean 'File'?
#0 12.93 function fstat(file: Deno.FsFile): Promise<Deno.FileInfo | undefined> {
#0 12.93 ~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/etag.ts:60:27
#0 12.93
#0 12.93 TS2551 [ERROR]: Property 'FsFile' does not exist on type 'typeof Deno'. Did you mean 'File'?
#0 12.93 if (body instanceof Deno.FsFile) {
#0 12.93 ~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/etag.ts:75:28
#0 12.93
#0 12.93 'File' is declared here.
#0 12.93 export class File
#0 12.93 ~~~~
#0 12.93 at asset:///lib.deno.ns.d.ts:780:16
#0 12.93
#0 12.93 TS2724 [ERROR]: 'Deno' has no exported member named 'FsFile'. Did you mean 'File'?
#0 12.93 ): Promise<[Uint8Array | Deno.FsFile, Uint8Array | FileInfo]> {
#0 12.93 ~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/send.ts:124:31
#0 12.93
#0 12.93 TS2724 [ERROR]: 'Deno' has no exported member named 'FsFile'. Did you mean 'File'?
#0 12.93 let body: Uint8Array | Deno.FsFile;
#0 12.93 ~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/send.ts:125:31
#0 12.93
#0 12.93 TS2724 [ERROR]: 'Deno' has no exported member named 'FsFile'. Did you mean 'File'?
#0 12.93 body: Uint8Array | Deno.FsFile,
#0 12.93 ~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/send.ts:145:27
#0 12.93
#0 12.93 TS2724 [ERROR]: 'Deno' has no exported member named 'FsFile'. Did you mean 'File'?
#0 12.93 let body: Uint8Array | Deno.FsFile | null = null;
#0 12.93 ~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/send.ts:315:31
#0 12.93
#0 12.93 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.93 #error(error: any) {
#0 12.93 ~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/server_sent_event.ts:226:3
#0 12.93
#0 12.93 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.93 #push(payload: string) {
#0 12.93 ~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/server_sent_event.ts:234:3
#0 12.93
#0 12.93 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.93 #wrapReviverReplacer(
#0 12.93 ~~~~~~~~~~~~~~~~~~~~
#0 12.93 at https://deno.land/x/oak@v11.1.0/context.ts:88:3
#0 12.93
#0 12.94 TS2305 [ERROR]: Module '"https://deno.land/x/oak@v11.1.0/application.ts"' has no exported member 'type'.
#0 12.94 import { type Application } from "./application.ts";
#0 12.94 ~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/http_server_flash.ts:3:10
#0 12.94
#0 12.94 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.94 #trackHttpConnection(httpConn: HttpConn): void {
#0 12.94 ~~~~~~~~~~~~~~~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/http_server_native.ts:92:3
#0 12.94
#0 12.94 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.94 #untrackHttpConnection(httpConn: HttpConn): void {
#0 12.94 ~~~~~~~~~~~~~~~~~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/http_server_native.ts:96:3
#0 12.94
#0 12.94 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.94 #getComposed(): (context: Context<AS, AS>) => Promise {
#0 12.94 ~~~~~~~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/application.ts:369:3
#0 12.94
#0 12.94 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.94 #getContextState(): AS {
#0 12.94 ~~~~~~~~~~~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/application.ts:376:3
#0 12.94
#0 12.94 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.94 #handleError(context: Context, error: any): void {
#0 12.94 ~~~~~~~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/application.ts:392:3
#0 12.94
#0 12.94 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.94 async #handleRequest(
#0 12.94 ~~~~~~~~~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/application.ts:420:9
#0 12.94
#0 12.94 TS2536 [ERROR]: Type 'number' cannot be used to index type 'RouteParams'.
#0 12.94 params[this.#paramNames[i].name] = c ? decodeComponent(c) : c;
#0 12.94 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/router.ts:307:9
#0 12.94
#0 12.94 TS2536 [ERROR]: Type 'string' cannot be used to index type 'RouteParams'.
#0 12.94 params[this.#paramNames[i].name] = c ? decodeComponent(c) : c;
#0 12.94 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/router.ts:307:9
#0 12.94
#0 12.94 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.94 #match(path: string, method: HTTPMethods): Matches {
#0 12.94 ~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/router.ts:461:3
#0 12.94
#0 12.94 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.94 #register(
#0 12.94 ~~~~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/router.ts:483:3
#0 12.94
#0 12.94 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.94 #addLayer(
#0 12.94 ~~~~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/router.ts:530:3
#0 12.94
#0 12.94 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.94 #route(name: string): Layer | undefined {
#0 12.94 ~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/router.ts:562:3
#0 12.94
#0 12.94 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.94 #useVerb(
#0 12.94 ~~~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/router.ts:570:3
#0 12.94
#0 12.94 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.94 #clone(): Router {
#0 12.94 ~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/router.ts:589:3
#0 12.94
#0 12.94 TS2531 [ERROR]: Object is possibly 'null'.
#0 12.94 const buffer = await crypto.subtle.digest(
#0 12.94 ~~~~~~~~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/util.ts:64:24
#0 12.94
#0 12.94 TS2531 [ERROR]: Object is possibly 'null'.
#0 12.94 const buffer = await crypto.subtle.digest(
#0 12.94 ~~~~~~~~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/util.ts:72:24
#0 12.94
#0 12.94 TS2304 [ERROR]: Cannot find name 'CryptoKey'.
#0 12.94 export function importKey(key: Key): Promise {
#0 12.94 ~~~~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/util.ts:447:46
#0 12.94
#0 12.94 TS2531 [ERROR]: Object is possibly 'null'.
#0 12.94 return crypto.subtle.importKey(
#0 12.94 ~~~~~~~~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/util.ts:453:10
#0 12.94
#0 12.94 TS2304 [ERROR]: Cannot find name 'CryptoKey'.
#0 12.94 export function sign(data: Data, key: CryptoKey): Promise {
#0 12.94 ~~~~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/util.ts:465:39
#0 12.94
#0 12.94 TS2531 [ERROR]: Object is possibly 'null'.
#0 12.94 return crypto.subtle.sign("HMAC", key, data);
#0 12.94 ~~~~~~~~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/util.ts:471:10
#0 12.94
#0 12.94 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.94 async #fill(): Promise {
#0 12.94 ~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/buf_reader.ts:32:9
#0 12.94
#0 12.94 TS18022 [ERROR]: A method cannot be named with a private identifier.
#0 12.94 #reset(buffer: Uint8Array, reader: Deno.Reader): void {
#0 12.94 ~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/buf_reader.ts:63:3
#0 12.94
#0 12.94 TS2300 [ERROR]: Duplicate identifier 'type'.
#0 12.94 export { Context, type ContextSendOptions } from "./context.ts";
#0 12.94 ~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/mod.ts:82:19
#0 12.94
#0 12.94 TS2300 [ERROR]: Duplicate identifier 'type'.
#0 12.94 type CookiesGetOptions,
#0 12.94 ~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/mod.ts:86:3
#0 12.94
#0 12.94 TS2300 [ERROR]: Duplicate identifier 'type'.
#0 12.94 export { Context, type ContextSendOptions } from "./context.ts";
#0 12.94 ~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/mod.ts:82:19
#0 12.94
#0 12.94 TS2300 [ERROR]: Duplicate identifier 'type'.
#0 12.94 type CookiesSetDeleteOptions,
#0 12.94 ~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/mod.ts:87:3
#0 12.94
#0 12.94 TS2300 [ERROR]: Duplicate identifier 'type'.
#0 12.94 export { Context, type ContextSendOptions } from "./context.ts";
#0 12.94 ~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/mod.ts:82:19
#0 12.94
#0 12.94 TS2300 [ERROR]: Duplicate identifier 'type'.
#0 12.94 export { type NativeRequest } from "./http_server_native_request.ts";
#0 12.94 ~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/mod.ts:93:10
#0 12.94
#0 12.94 TS2305 [ERROR]: Module '"https://deno.land/x/oak@v11.1.0/context.ts"' has no exported member 'type'.
#0 12.94 export { Context, type ContextSendOptions } from "./context.ts";
#0 12.94 ~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/mod.ts:82:19
#0 12.94
#0 12.94 TS1205 [ERROR]: Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'.
#0 12.94 export { Context, type ContextSendOptions } from "./context.ts";
#0 12.94 ~~~~~~~~~~~~~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/mod.ts:82:24
#0 12.94
#0 12.94 TS2305 [ERROR]: Module '"https://deno.land/x/oak@v11.1.0/cookies.ts"' has no exported member 'type'.
#0 12.94 type CookiesGetOptions,
#0 12.94 ~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/mod.ts:86:3
#0 12.94
#0 12.94 TS1205 [ERROR]: Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'.
#0 12.94 type CookiesGetOptions,
#0 12.94 ~~~~~~~~~~~~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/mod.ts:86:8
#0 12.94
#0 12.94 TS2305 [ERROR]: Module '"https://deno.land/x/oak@v11.1.0/cookies.ts"' has no exported member 'type'.
#0 12.94 type CookiesSetDeleteOptions,
#0 12.94 ~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/mod.ts:87:3
#0 12.94
#0 12.94 TS1205 [ERROR]: Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'.
#0 12.94 type CookiesSetDeleteOptions,
#0 12.94 ~~~~~~~~~~~~~~~~~~~~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/mod.ts:87:8
#0 12.94
#0 12.94 TS2305 [ERROR]: Module '"https://deno.land/x/oak@v11.1.0/http_server_native_request.ts"' has no exported member 'type'.
#0 12.94 export { type NativeRequest } from "./http_server_native_request.ts";
#0 12.94 ~~~~
#0 12.94 at https://deno.land/x/oak@v11.1.0/mod.ts:93:10
#0 12.94
#0 12.94 Found 109 errors.
failed to solve: executor failed running [/bin/sh -c deno cache main.js]: exit code: 1
ciao Altomator.
I haven't touched this code since 2020, Deno was very young then (1.0 just releases) and a lot of things i guess that are changed. All errors you are reporting are related to lacks of locked versions of dependencies (probably they were not ready at that time).
On my home NAS I've a still running installation with the docker image i built in 2020, and never upgraded.
Let me see what I can do to upgrade a bit of things, this was just a toy prototype (that I've actually used a lot for personal research)
I finally rewrote everything. Now it's a single cli and a ready docker image. You can download or build https://github.com/atomotic/archiviiify (not yet tested on Windows).
Full-text search not yet completed, at the moment only downloading and manifest creation.
Feel free to test, is not bug free, I will improve some things.