Skip to content

When trying to import in deno, a lot of missing dependency errors are thrown #2075

@zingi

Description

@zingi

What happened?

I wanted to import Octokit in deno as described here.

// index.js
import { Octokit } from "https://cdn.skypack.dev/octokit?dts";
console.log(Octokit)
deno run --reload index.js

but a lot of missing dependency errors were thrown:

Error Output
❯ deno run --reload index.js
Download https://cdn.skypack.dev/octokit?dts
Download https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports/optimized/octokit.js
Download https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=types/dist-types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=imports/optimized/@octokit/plugin-throttling.js
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=imports/optimized/@octokit/plugin-paginate-rest.js
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=imports/optimized/@octokit/plugin-rest-endpoint-methods.js
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=imports/optimized/@octokit/core.js
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=imports/optimized/@octokit/plugin-retry.js
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=imports/optimized/@octokit/app.js
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=imports/optimized/@octokit/oauth-app.js
Download https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=types/dist-types/app.d.ts
Download https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=types/dist-types/octokit.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=imports/optimized/@octokit/webhooks.js
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=imports/optimized/@octokit/auth-unauthenticated.js
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=imports/optimized/@octokit/auth-app.js
Download https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports/optimized/universal-user-agent.js
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=imports/optimized/@octokit/auth-oauth-app.js
Download https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports/optimized/fromentries.js
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=imports/optimized/@octokit/oauth-methods.js
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=imports/optimized/@octokit/auth-oauth-user.js
Download https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports/unoptimized/light.js
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=imports/optimized/@octokit/graphql.js
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=imports/optimized/@octokit/auth-token.js
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=imports/optimized/@octokit/request.js
Download https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports/optimized/before-after-hook.js
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/types.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=imports/optimized/@octokit/auth-oauth-device.js
Download https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports/optimized/btoa-lite.js
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=imports/optimized/@octokit/endpoint.js
Download https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports/optimized/is-plain-object.js
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=imports/optimized/@octokit/request-error.js
Download https://deno.land/std/node/crypto.ts
Download https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports/optimized/aggregate-error.js
Download https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports/optimized/universal-github-app-jwt.js
Download https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports/optimized/lru-cache.js
Download https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports/optimized/deprecation.js
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=imports/optimized/@octokit/oauth-authorization-url.js
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/index.d.ts
Download https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports/optimized/once.js
Download https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports/optimized/indent-string.js
Download https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports/optimized/clean-stack.js
Download https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports/optimized/yallist.js
Download https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=imports/optimized/wrappy.js
Download https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/index.d.ts
Warning Implicitly using latest version (0.92.0) for https://deno.land/std/node/crypto.ts
Download https://deno.land/[email protected]/node/crypto.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/types.d.ts
Download https://deno.land/[email protected]/node/_crypto/randomBytes.ts
Download https://deno.land/[email protected]/node/buffer.ts
Download https://deno.land/[email protected]/hash/mod.ts
Download https://deno.land/[email protected]/encoding/hex.ts
Download https://deno.land/[email protected]/node/_crypto/pbkdf2.ts
Download https://deno.land/[email protected]/node/_stream/transform.ts
Download https://deno.land/[email protected]/node/stream.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/RequestParameters.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/AuthInterface.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/Url.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/Fetch.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/RequestOptions.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/RequestHeaders.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/EndpointOptions.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/RequestError.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/Route.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/EndpointInterface.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/GetResponseTypeFromEndpointMethod.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/EndpointDefaults.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/RequestInterface.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/RequestMethod.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/Signal.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/RequestRequestOptions.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/VERSION.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/ResponseHeaders.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/OctokitResponse.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/StrategyInterface.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/generated/Endpoints.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/types.d.ts
Download https://deno.land/[email protected]/node/_utils.ts
Download https://deno.land/[email protected]/encoding/base64.ts
Download https://deno.land/[email protected]/node/_stream/stream.ts
Download https://deno.land/[email protected]/node/_stream/passthrough.ts
Download https://deno.land/[email protected]/node/_stream/promises.ts
Download https://deno.land/[email protected]/node/_stream/end_of_stream.ts
Download https://deno.land/[email protected]/node/_stream/readable.ts
Download https://deno.land/[email protected]/node/_stream/writable.ts
Download https://deno.land/[email protected]/node/_stream/pipeline.ts
Download https://deno.land/[email protected]/node/_stream/duplex.ts
Download https://deno.land/[email protected]/node/_crypto/constants.ts
Download https://deno.land/[email protected]/node/_crypto/types.ts
Download https://deno.land/[email protected]/hash/hasher.ts
Download https://deno.land/[email protected]/hash/_wasm/hash.ts
Download https://deno.land/[email protected]/node/_errors.ts
Download https://deno.land/[email protected]/node/_stream/writable_internal.ts
Download https://deno.land/[email protected]/testing/asserts.ts
Download https://deno.land/[email protected]/io/util.ts
Download https://deno.land/[email protected]/async/mod.ts
Download https://deno.land/[email protected]/node/util.ts
Download https://deno.land/[email protected]/node/events.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/index.d.ts
Download https://deno.land/[email protected]/node/_stream/symbols.ts
Download https://deno.land/[email protected]/hash/_wasm/wasm.js
Download https://deno.land/[email protected]/node/_stream/from.ts
Download https://deno.land/[email protected]/node/_stream/buffer_list.ts
Download https://deno.land/[email protected]/node/_stream/readable_internal.ts
Download https://deno.land/[email protected]/node/string_decoder.ts
Download https://deno.land/[email protected]/node/_stream/async_iterator.ts
Download https://deno.land/[email protected]/node/_stream/destroy.ts
Download https://deno.land/[email protected]/node/_stream/duplex_internal.ts
Download https://deno.land/[email protected]/io/buffer.ts
Download https://deno.land/[email protected]/fmt/colors.ts
Download https://deno.land/[email protected]/testing/_diff.ts
Download https://deno.land/[email protected]/async/deferred.ts
Download https://deno.land/[email protected]/async/pool.ts
Download https://deno.land/[email protected]/async/mux_async_iterator.ts
Download https://deno.land/[email protected]/async/delay.ts
Download https://deno.land/[email protected]/_util/assert.ts
Download https://deno.land/[email protected]/node/_util/_util_callbackify.ts
Download https://deno.land/[email protected]/node/_util/_util_promisify.ts
Download https://deno.land/[email protected]/node/_util/_util_types.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/methods/delete-authorization.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/types.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/types.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/methods/check-token.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/types.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/methods/get-web-flow-authorization-url.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/methods/create-token.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/methods/reset-token.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/methods/refresh-token.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/methods/delete-token.d.ts
Download https://cdn.skypack.dev/error/unknown:@octokit/webhooks?from=octokit
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/methods/get-user-octokit.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/methods/scope-token.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/generated/method-types.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/oauth-app-octokit.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/version.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/generated/types.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/middleware/node/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/types.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/middleware/...d.ts
Download https://cdn.skypack.dev/error/http?from=@octokit/app
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/middleware/node/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/compose-paginate.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/paginating-endpoints.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/types.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/refresh-token.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/version.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/exchange-device-code.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/exchange-web-flow-code.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/get-web-flow-authorization-url.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/delete-token.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/scope-token.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/delete-authorization.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/types.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/check-token.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/create-device-code.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/reset-token.d.ts
Download https://cdn.skypack.dev/error/http?from=@octokit/oauth-app
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/middleware/node/types.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/generated/paginating-endpoints.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/requires-basic-auth.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/types.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/event-handler/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/verify/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/types.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/sign/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/middleware/node/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/generated/webhook-names.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/schema.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/createLogger.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/generated/parameters-and-response-types.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/types.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/index.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/types.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/middleware/node/get-payload.d.ts
Download https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/middleware/node/types.d.ts
Download https://cdn.skypack.dev/error/unknown:node?from=@octokit/webhooks
Download https://cdn.skypack.dev/error/http?from=@octokit/webhooks
Check file:///Users/aaron/Downloads/deno_test/index.ts
error: TS2694 [ERROR]: Namespace '__' has no exported member 'Api'.
} & import("/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/types.d.ts").Api>;
                                                                                                                                ~~~
    at https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=types/dist-types/octokit.d.ts:4:129

TS2305 [ERROR]: Module '"deno:///missing_dependency.d.ts"' has no exported member 'IncomingMessage'.
import { IncomingMessage, ServerResponse } from "/error/http?from=@octokit/oauth-app";
         ~~~~~~~~~~~~~~~
    at https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/middleware/node/types.d.ts:2:10

TS2305 [ERROR]: Module '"deno:///missing_dependency.d.ts"' has no exported member 'ServerResponse'.
import { IncomingMessage, ServerResponse } from "/error/http?from=@octokit/oauth-app";
                          ~~~~~~~~~~~~~~
    at https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/middleware/node/types.d.ts:2:27

TS2694 [ERROR]: Namespace '__' has no exported member 'IncomingMessage'.
    at https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/middleware/node/index.d.ts:5:196

TS2694 [ERROR]: Namespace '__' has no exported member 'ServerResponse'.
    at https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/middleware/node/index.d.ts:5:269

TS2305 [ERROR]: Module '"deno:///missing_dependency.d.ts"' has no exported member 'IncomingMessage'.
import { IncomingMessage } from "/error/http?from=@octokit/webhooks";
         ~~~~~~~~~~~~~~~
    at https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/middleware/node/get-payload.d.ts:2:10

TS2671 [ERROR]: Cannot augment module 'http' because it resolves to a non-module entity.
declare module 'http' {
               ~~~~~~
    at https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/middleware/node/get-payload.d.ts:3:16

TS2305 [ERROR]: Module '"deno:///missing_dependency.d.ts"' has no exported member 'IncomingMessage'.
import { IncomingMessage, ServerResponse } from "/error/http?from=@octokit/webhooks";
         ~~~~~~~~~~~~~~~
    at https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/middleware/node/types.d.ts:2:10

TS2305 [ERROR]: Module '"deno:///missing_dependency.d.ts"' has no exported member 'ServerResponse'.
import { IncomingMessage, ServerResponse } from "/error/http?from=@octokit/webhooks";
                          ~~~~~~~~~~~~~~
    at https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/middleware/node/types.d.ts:2:27

TS2694 [ERROR]: Namespace '__' has no exported member 'IncomingMessage'.
    at https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/middleware/node/index.d.ts:6:178

TS2694 [ERROR]: Namespace '__' has no exported member 'ServerResponse'.
    at https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/middleware/node/index.d.ts:6:250

TS2688 [ERROR]: Cannot find type definition file for '/error/unknown:node?from=@octokit/webhooks'.
/// <reference types="/error/unknown:node?from=@octokit/webhooks" />
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    at https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/middleware/node/index.d.ts:3:23

TS2305 [ERROR]: Module '"deno:///missing_dependency.d.ts"' has no exported member 'IncomingMessage'.
import { IncomingMessage, ServerResponse } from "/error/http?from=@octokit/app";
         ~~~~~~~~~~~~~~~
    at https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/middleware/node/index.d.ts:2:10

TS2305 [ERROR]: Module '"deno:///missing_dependency.d.ts"' has no exported member 'ServerResponse'.
import { IncomingMessage, ServerResponse } from "/error/http?from=@octokit/app";
                          ~~~~~~~~~~~~~~
    at https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/middleware/node/index.d.ts:2:27

TS2305 [ERROR]: Module '"deno:///missing_dependency.d.ts"' has no exported member 'App'.
import { App } from "../...d.ts";
         ~~~
    at https://cdn.skypack.dev/-/@octokit/[email protected]/dist=es2020,mode=types/dist-types/middleware/node/index.d.ts:3:10

TS2694 [ERROR]: Namespace '"https://cdn.skypack.dev/error/unknown:@octokit/webhooks?from=octokit"' has no exported member 'Webhooks'.
    webhooks: import("/error/unknown:@octokit/webhooks?from=octokit").Webhooks<{
                                                                      ~~~~~~~~
    at https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=types/dist-types/app.d.ts:7:71

TS2305 [ERROR]: Module '"https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=types/dist-types/index.d.ts"' has no exported member 'Action'.
import { Octokit, App, Action } from "https://cdn.skypack.dev/octokit?dts";
                       ~~~~~~
    at file:///Users/aaron/Downloads/deno_test/index.ts:1:24

Found 17 errors.

What am I doing wrong?

What did you expect to happen?

no missing dependency errors

Environment

❯ deno --version            
deno 1.8.3 (release, x86_64-apple-darwin)
v8 9.0.257.3
typescript 4.2.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Up for grabsIssues that are ready to be worked on by anyoneType: BugSomething isn't working as documenteddeno

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions