Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error to cache the deps inside a docker container #15174

Closed
slim-hmidi opened this issue Jul 12, 2022 · 8 comments
Closed

Error to cache the deps inside a docker container #15174

slim-hmidi opened this issue Jul 12, 2022 · 8 comments
Labels
invalid what appeared to be an issue with Deno wasn't

Comments

@slim-hmidi
Copy link

I'm using Deno v 1.21.3 and I'm trying to build a docker image for my application:

FROM ubuntu:20.04

# install curl
RUN apt-get update && apt-get install -y curl unzip sudo nginx

# install deno v1.21.3
RUN curl -fsSL https://deno.land/install.sh | sh -s v1.21.3

ENV DENO_INSTALL="/root/.deno"
ENV PATH="${DENO_INSTALL}/bin:${PATH}"


# The working directory of the project
WORKDIR /app


# Copy the backend directory
RUN mkdir backend
COPY backend/deps.ts ./backend/deps.ts 
RUN cd ./backend && deno cache --unstable deps.ts

....

my deps.ts:

// fmt
export {
  bold,
  cyan,
  green,
  red,
} from "https://deno.land/[email protected]/fmt/colors.ts";

// flags
export { parse } from "https://deno.land/[email protected]/flags/mod.ts";

// oak
export { Application } from "https://deno.land/x/[email protected]/mod.ts";
export {
  Context,
  helpers,
  isHttpError,
  Router,
  Status,
} from "https://deno.land/x/[email protected]/mod.ts";
export type { ErrorStatus } from "https://deno.land/x/[email protected]/mod.ts";

// computed_types
export {
  number,
  Schema,
  string,
  unknown,
} from "https://denoporter.sirjosh.workers.dev/v1.1.0/deno.land/x/computed_types/src/index.ts";
export type { ResolvedValue } from "https://denoporter.sirjosh.workers.dev/v1.1.0/deno.land/x/computed_types/src/index.ts";
export type { ValidationError } from "https://denoporter.sirjosh.workers.dev/v1.1.0/deno.land/x/computed_types/src/index.ts";

// inject
export {
  bootstrap,
  Bootstrapped,
  Injectable,
} from "https://deno.land/x/[email protected]/mod.ts";

// denodb
export {
  Database,
  DataTypes,
  Model,
  PostgresConnector,
  Relationships,
} from "https://deno.land/x/[email protected]/mod.ts";
export type { Connector } from "https://deno.land/x/[email protected]/mod.ts";
export type { Values } from "https://deno.land/x/[email protected]/lib/data-types.ts";

//bcrypt
export * as bcrypt from "https://deno.land/x/[email protected]/mod.ts";

//djwt
export {
  create as sign,
  getNumericDate,
  verify,
} from "https://deno.land/x/[email protected]/mod.ts";
export type { Header } from "https://deno.land/x/[email protected]/mod.ts";
export { OAuth2Client } from "https://deno.land/x/[email protected]/mod.ts";
// dotenv
export { config as env } from "https://deno.land/x/[email protected]/mod.ts";

// dotenv
export { expect } from "https://deno.land/x/[email protected]/mod.ts";

// superoak
export { superoak } from "https://deno.land/x/[email protected]/mod.ts";

// oak_cors
export { CORS } from "https://deno.land/x/[email protected]/mod.ts";

I got this error, while the build reach this instruction RUN cd ./backend && deno cache --unstable deps.ts:

#18 6.801 error: Import 'https://dev.jspm.io/npm:@jspm/core@1/nodelibs/timers.js' failed: 500 Internal Server Error
#18 6.801     at https://dev.jspm.io/tarn@3:9:8
------
executor failed running [/bin/sh -c cd ./backend && deno cache --unstable deps.ts]: exit code: 1

How can I fix that?

@kitsonk kitsonk added the invalid what appeared to be an issue with Deno wasn't label Jul 12, 2022
@kitsonk
Copy link
Contributor

kitsonk commented Jul 12, 2022

Fetching https://dev.jspm.io/npm:@jspm/core@1/nodelibs/timers.js returns a 500 error from JSPM.io. This is not an issue with Deno.

@bcordeirodev
Copy link

i have the same problem, and i cant find the solution, in my local application "--reload" not working too.
image

@slim-hmidi
Copy link
Author

@bcordeirodev it is related to one of the deps you are using. In my case I found the issue in the djwt dependency, it has a dep that is outdated.
Try to check which dep throws the error.

@bcordeirodev
Copy link

thanks, i have djwt in my project, and is in the latest version, did you remove dwjt from your project?

@slim-hmidi
Copy link
Author

slim-hmidi commented Aug 11, 2022

Sorry it is denodb not djwt which has the error. It's outdated and not maintained since december 2021.

@bcordeirodev
Copy link

Thank you very much, I've been trying to solve it for two days. Now I need to find a solution to rewrite 15 models. ='(

@bcordeirodev
Copy link

I resolved my problem changing url from denodb to other repository.
eveningkid/denodb#348

@airtonix
Copy link

airtonix commented Oct 10, 2024

x deno --version
deno 2.0.0 (stable, release, x86_64-unknown-linux-gnu)
v8 12.9.202.13-rusty
typescript 5.6.2

x uname -a
Linux brass 6.10.11-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Sep 18 21:09:58 UTC 2024 x86_64 GNU/Linux

> docker --version
Docker version 27.3.1, build ce12230

> cat ./Dockerfile
FROM denoland/deno:1.38.3

ARG GIT_REVISION
ENV DENO_DEPLOYMENT_ID=${GIT_REVISION}

WORKDIR /app

COPY . .
RUN deno cache main.ts

EXPOSE 8000

CMD ["run", "-A", "main.ts"]
Details


x docker build --build-arg GIT_REVISION=$(git rev-parse HEAD) -t my-fresh-app .
[+] Building 12.8s (8/8) FINISHED                                                                                                                         docker:default
 => [internal] load build definition from Dockerfile                                                                                                                0.1s
 => => transferring dockerfile: 271B                                                                                                                                0.0s
 => [internal] load metadata for docker.io/denoland/deno:1.38.3                                                                                                     0.8s
 => [internal] load .dockerignore                                                                                                                                   0.1s
 => => transferring context: 2B                                                                                                                                     0.0s
 => [1/4] FROM docker.io/denoland/deno:1.38.3@sha256:df24055e5773ec0e9edcf33e4d592faf3b0cedb098cd0180ccb38dd534ce7eff                                               0.0s
 => [internal] load build context                                                                                                                                   0.3s
 => => transferring context: 1.02MB                                                                                                                                 0.2s
 => CACHED [2/4] WORKDIR /app                                                                                                                                       0.0s
 => [3/4] COPY . .                                                                                                                                                  1.2s
 => ERROR [4/4] RUN deno cache main.ts                                                                                                                             10.1s
------                                                                                                                                                                   
 > [4/4] RUN deno cache main.ts:                                                                                                                                         
0.468 Download https://deno.land/[email protected]/dotenv/load.ts
0.468 Download https://deno.land/x/[email protected]/server.ts
0.669 Download https://deno.land/[email protected]/dotenv/mod.ts
0.708 Download https://deno.land/x/[email protected]/src/types.ts
0.708 Download https://deno.land/x/[email protected]/src/server/mod.ts
0.708 Download https://deno.land/x/[email protected]/plugins/tailwind.ts
0.725 Download https://deno.land/[email protected]/dotenv/parse.ts
0.725 Download https://deno.land/[email protected]/dotenv/stringify.ts
0.863 Download https://deno.land/x/[email protected]/src/server/context.ts
0.863 Download https://deno.land/x/[email protected]/src/server/deps.ts
0.863 Download https://deno.land/x/[email protected]/src/server/types.ts
0.863 Download https://deno.land/x/[email protected]/src/server/boot.ts
0.863 Download https://deno.land/x/[email protected]/src/server/defines.ts
0.864 Download https://deno.land/x/[email protected]/src/server/render.ts
0.864 Download https://deno.land/x/[email protected]/src/server/router.ts
0.864 Download https://esm.sh/[email protected]/jsx-runtime
0.864 Download https://deno.land/x/[email protected]/runtime.ts
0.864 Download https://esm.sh/*@preact/[email protected]
0.864 Download https://deno.land/[email protected]/path/mod.ts
0.864 Download https://deno.land/[email protected]/fs/walk.ts
0.864 Download https://deno.land/x/[email protected]/plugins/tailwind/types.ts
1.060 Download https://deno.land/x/[email protected]/src/server/constants.ts
1.060 Download https://deno.land/x/[email protected]/src/server/build_id.ts
1.060 Download https://deno.land/x/[email protected]/src/runtime/csp.ts
1.060 Download https://deno.land/x/[email protected]/src/runtime/utils.ts
1.060 Download https://deno.land/x/[email protected]/src/build/mod.ts
1.060 Download https://deno.land/x/[email protected]/src/server/rendering/preact_hooks.ts
1.060 Download https://deno.land/x/[email protected]/src/server/code_frame.ts
1.061 Download https://deno.land/x/[email protected]/src/server/config.ts
1.061 Download https://deno.land/x/[email protected]/src/server/compose.ts
1.061 Download https://deno.land/x/[email protected]/src/server/fs_extract.ts
1.061 Download https://deno.land/x/[email protected]/src/build/aot_snapshot.ts
1.061 Download https://deno.land/x/[email protected]/src/server/error_overlay.tsx
1.061 Download https://deno.land/x/[email protected]/src/constants.ts
1.061 Download https://deno.land/x/[email protected]/src/server/tailwind_aot_error_page.tsx
1.061 Download https://deno.land/[email protected]/fmt/colors.ts
1.061 Download https://deno.land/[email protected]/http/server.ts
1.061 Download https://deno.land/[email protected]/http/status.ts
1.061 Download https://deno.land/[email protected]/media_types/content_type.ts
1.061 Download https://deno.land/[email protected]/encoding/hex.ts
1.061 Download https://deno.land/[email protected]/regexp/escape.ts
1.061 Download https://deno.land/[email protected]/jsonc/mod.ts
1.061 Download https://esm.sh/*[email protected]
1.061 Download https://deno.land/[email protected]/assert/mod.ts
1.061 Download https://esm.sh/@babel/[email protected]
1.061 Download https://deno.land/[email protected]/path/posix/mod.ts
1.061 Download https://deno.land/[email protected]/testing/snapshot.ts
1.061 Download https://esm.sh/[email protected]
1.061 Download https://deno.land/x/[email protected]/src/server/rendering/state.ts
1.061 Download https://deno.land/x/[email protected]/src/server/rendering/template.tsx
1.061 Download https://deno.land/x/[email protected]/src/server/rendering/fresh_tags.tsx
1.099 Download https://esm.sh/stable/[email protected]/denonext/preact.mjs
1.099 Download https://esm.sh/stable/[email protected]/denonext/jsx-runtime.js
1.099 Download https://esm.sh/v128/[email protected]/jsx-runtime/src/index.d.ts
1.099 Download https://deno.land/x/[email protected]/src/runtime/head.ts
1.099 Download https://deno.land/x/[email protected]/src/runtime/Partial.tsx
1.621 Download https://esm.sh/v135/@preact/[email protected]/X-ZS8q/denonext/signals.mjs
1.621 Download https://esm.sh/v135/@preact/[email protected]/X-ZS8q/dist/signals.d.ts
1.621 Download https://deno.land/[email protected]/path/windows/mod.ts
1.621 Download https://deno.land/[email protected]/path/basename.ts
1.621 Download https://deno.land/[email protected]/path/constants.ts
1.621 Download https://deno.land/[email protected]/path/dirname.ts
1.621 Download https://deno.land/[email protected]/path/extname.ts
1.621 Download https://deno.land/[email protected]/path/format.ts
1.621 Download https://deno.land/[email protected]/path/from_file_url.ts
1.622 Download https://deno.land/[email protected]/path/is_absolute.ts
1.622 Download https://deno.land/[email protected]/path/join.ts
1.622 Download https://deno.land/[email protected]/path/normalize.ts
1.622 Download https://deno.land/[email protected]/path/parse.ts
1.622 Download https://deno.land/[email protected]/path/relative.ts
1.622 Download https://deno.land/[email protected]/path/resolve.ts
1.622 Download https://deno.land/[email protected]/path/to_file_url.ts
1.622 Download https://deno.land/[email protected]/path/to_namespaced_path.ts
1.622 Download https://deno.land/[email protected]/path/common.ts
1.622 Download https://deno.land/[email protected]/path/_interface.ts
1.622 Download https://deno.land/[email protected]/path/glob_to_regexp.ts
1.622 Download https://deno.land/[email protected]/path/is_glob.ts
1.622 Download https://deno.land/[email protected]/path/join_globs.ts
1.622 Download https://deno.land/[email protected]/path/normalize_glob.ts
1.622 Download https://deno.land/[email protected]/fs/_to_path_string.ts
1.622 Download https://deno.land/[email protected]/fs/_create_walk_entry.ts
1.622 Download https://esm.sh/[email protected]/hooks
1.622 Download https://deno.land/x/[email protected]/src/runtime/build_id.ts
1.622 Download https://deno.land/x/[email protected]/src/build/esbuild.ts
1.622 Download https://deno.land/x/[email protected]/src/runtime/active_url.ts
1.622 Download https://deno.land/x/[email protected]/src/server/default_error_page.tsx
1.622 Download https://deno.land/x/[email protected]/src/server/init_safe_deps.ts
1.622 Download https://deno.land/[email protected]/async/delay.ts
1.622 Download https://deno.land/[email protected]/media_types/parse_media_type.ts
1.622 Download https://deno.land/[email protected]/media_types/get_charset.ts
1.622 Download https://deno.land/[email protected]/media_types/format_media_type.ts
1.622 Download https://deno.land/[email protected]/media_types/_db.ts
1.622 Download https://deno.land/[email protected]/media_types/type_by_extension.ts
1.622 Download https://deno.land/[email protected]/encoding/_util.ts
1.622 Download https://deno.land/[email protected]/jsonc/parse.ts
1.622 Download https://esm.sh/v135/[email protected]/X-ZS8q/denonext/preact-render-to-string.mjs
1.622 Download https://esm.sh/v135/[email protected]/X-ZS8q/src/index.d.ts
1.622 Download https://deno.land/[email protected]/assert/assert_almost_equals.ts
1.623 Download https://deno.land/[email protected]/assert/assert_array_includes.ts
1.623 Download https://deno.land/[email protected]/assert/assert_equals.ts
1.623 Download https://deno.land/[email protected]/assert/assert_exists.ts
1.623 Download https://deno.land/[email protected]/assert/assert_false.ts
1.623 Download https://deno.land/[email protected]/assert/assert_greater_or_equal.ts
1.623 Download https://deno.land/[email protected]/assert/assert_greater.ts
1.623 Download https://deno.land/[email protected]/assert/assert_instance_of.ts
1.623 Download https://deno.land/[email protected]/assert/assert_is_error.ts
1.623 Download https://deno.land/[email protected]/assert/assert_less_or_equal.ts
1.623 Download https://deno.land/[email protected]/assert/assert_less.ts
1.623 Download https://deno.land/[email protected]/assert/assert_match.ts
1.623 Download https://deno.land/[email protected]/assert/assert_not_equals.ts
1.623 Download https://deno.land/[email protected]/assert/assert_not_instance_of.ts
1.623 Download https://deno.land/[email protected]/assert/assert_not_match.ts
1.623 Download https://deno.land/[email protected]/assert/assert_not_strict_equals.ts
1.623 Download https://deno.land/[email protected]/assert/assert_object_match.ts
1.623 Download https://deno.land/[email protected]/assert/assert_rejects.ts
1.623 Download https://deno.land/[email protected]/assert/assert_strict_equals.ts
1.623 Download https://deno.land/[email protected]/assert/assert_string_includes.ts
1.623 Download https://deno.land/[email protected]/assert/assert_throws.ts
1.623 Download https://deno.land/[email protected]/assert/assert.ts
1.623 Download https://deno.land/[email protected]/assert/assertion_error.ts
1.623 Download https://deno.land/[email protected]/assert/equal.ts
1.623 Download https://deno.land/[email protected]/assert/fail.ts
1.623 Download https://deno.land/[email protected]/assert/unimplemented.ts
1.623 Download https://deno.land/[email protected]/assert/unreachable.ts
1.623 Download https://esm.sh/v135/@babel/[email protected]/denonext/helper-validator-identifier.mjs
1.623 Download https://esm.sh/v135/@types/babel__helper-validator-identifier@~7/index.d.ts
1.623 Download https://deno.land/[email protected]/path/posix/basename.ts
1.624 Download https://deno.land/[email protected]/path/posix/constants.ts
1.624 Download https://deno.land/[email protected]/path/posix/dirname.ts
1.624 Download https://deno.land/[email protected]/path/posix/extname.ts
1.624 Download https://deno.land/[email protected]/path/posix/format.ts
1.624 Download https://deno.land/[email protected]/path/posix/from_file_url.ts
1.624 Download https://deno.land/[email protected]/path/posix/is_absolute.ts
1.624 Download https://deno.land/[email protected]/path/posix/join.ts
1.624 Download https://deno.land/[email protected]/path/posix/normalize.ts
1.624 Download https://deno.land/[email protected]/path/posix/parse.ts
1.624 Download https://deno.land/[email protected]/path/posix/relative.ts
1.624 Download https://deno.land/[email protected]/path/posix/resolve.ts
1.624 Download https://deno.land/[email protected]/path/posix/to_file_url.ts
1.624 Download https://deno.land/[email protected]/path/posix/to_namespaced_path.ts
1.624 Download https://deno.land/[email protected]/path/posix/common.ts
1.624 Download https://deno.land/[email protected]/path/posix/glob_to_regexp.ts
1.624 Download https://deno.land/[email protected]/path/posix/is_glob.ts
1.624 Download https://deno.land/[email protected]/path/posix/join_globs.ts
1.624 Download https://deno.land/[email protected]/path/posix/normalize_glob.ts
1.624 Download https://deno.land/[email protected]/fs/ensure_file.ts
1.624 Download https://esm.sh/v128/[email protected]/src/index.d.ts
1.624 Download https://deno.land/x/[email protected]/src/server/htmlescape.ts
1.624 Download https://deno.land/x/[email protected]/src/server/serializer.ts
1.692 Download https://esm.sh/v128/[email protected]/src/jsx.d.ts
1.721 Download https://esm.sh/*@preact/[email protected]
1.871 Download https://deno.land/[email protected]/path/windows/basename.ts
1.871 Download https://deno.land/[email protected]/path/windows/constants.ts
1.871 Download https://deno.land/[email protected]/path/windows/dirname.ts
1.871 Download https://deno.land/[email protected]/path/windows/extname.ts
1.871 Download https://deno.land/[email protected]/path/windows/format.ts
1.871 Download https://deno.land/[email protected]/path/windows/from_file_url.ts
1.871 Download https://deno.land/[email protected]/path/windows/is_absolute.ts
1.871 Download https://deno.land/[email protected]/path/windows/join.ts
1.871 Download https://deno.land/[email protected]/path/windows/normalize.ts
1.872 Download https://deno.land/[email protected]/path/windows/parse.ts
1.872 Download https://deno.land/[email protected]/path/windows/relative.ts
1.872 Download https://deno.land/[email protected]/path/windows/resolve.ts
1.872 Download https://deno.land/[email protected]/path/windows/to_file_url.ts
1.872 Download https://deno.land/[email protected]/path/windows/to_namespaced_path.ts
1.872 Download https://deno.land/[email protected]/path/windows/common.ts
1.872 Download https://deno.land/[email protected]/path/windows/glob_to_regexp.ts
1.872 Download https://deno.land/[email protected]/path/windows/is_glob.ts
1.872 Download https://deno.land/[email protected]/path/windows/join_globs.ts
1.872 Download https://deno.land/[email protected]/path/windows/normalize_glob.ts
1.872 Download https://deno.land/[email protected]/path/_os.ts
2.624 Download https://esm.sh/v135/@types/[email protected]/index.d.ts
2.624 Download https://deno.land/[email protected]/path/_common/common.ts
2.624 Download https://deno.land/[email protected]/path/_common/glob_to_reg_exp.ts
2.624 Download https://esm.sh/stable/[email protected]/denonext/hooks.js
2.624 Download https://esm.sh/v128/[email protected]/hooks/src/index.d.ts
2.624 Download https://deno.land/x/[email protected]/mod.js
2.624 Download https://deno.land/x/[email protected]/src/build/deps.ts
2.624 Download https://deno.land/[email protected]/media_types/_util.ts
2.624 Download https://deno.land/[email protected]/media_types/vendor/mime-db.v1.52.0.ts
2.624 Download https://deno.land/[email protected]/json/common.ts
2.624 Download https://deno.land/[email protected]/assert/_format.ts
2.624 Download https://deno.land/[email protected]/assert/_diff.ts
2.624 Download https://deno.land/[email protected]/assert/_constants.ts
3.376 Download https://deno.land/[email protected]/path/_common/basename.ts
3.376 Download https://deno.land/[email protected]/path/_common/strip_trailing_separators.ts
3.376 Download https://deno.land/[email protected]/path/posix/_util.ts
3.376 Download https://deno.land/[email protected]/path/_common/dirname.ts
3.376 Download https://deno.land/[email protected]/path/_common/constants.ts
3.376 Download https://deno.land/[email protected]/path/_common/assert_path.ts
3.376 Download https://deno.land/[email protected]/path/_common/format.ts
3.376 Download https://deno.land/[email protected]/path/_common/from_file_url.ts
3.376 Download https://deno.land/[email protected]/path/_common/normalize.ts
3.376 Download https://deno.land/[email protected]/path/_common/normalize_string.ts
3.376 Download https://deno.land/[email protected]/path/_common/relative.ts
3.376 Download https://deno.land/[email protected]/path/_common/to_file_url.ts
3.376 Download https://deno.land/[email protected]/fs/ensure_dir.ts
3.376 Download https://deno.land/[email protected]/fs/_get_file_info_type.ts
3.376 Download https://deno.land/x/[email protected]/src/runtime/deserializer.ts
3.376 Download https://esm.sh/v135/@preact/[email protected]/X-ZS8q/denonext/signals-core.mjs
3.377 Download https://esm.sh/v135/@preact/[email protected]/X-ZS8q/dist/signals-core.d.ts
3.377 Download https://deno.land/[email protected]/path/windows/_util.ts
3.377 Download https://deno.land/x/[email protected]/mod.ts
3.377 Download https://deno.land/x/[email protected]/mod.d.ts
3.716 Download https://deno.land/x/[email protected]/pkg/denoflate.js
3.716 Download https://deno.land/x/[email protected]/pkg/denoflate_bg.wasm.js
3.857 Download https://registry-staging.deno.com/@luca/esbuild-deno-loader/meta.json
4.233 Download https://esm.sh/[email protected]/debug
4.233 Download https://deno.land/x/[email protected]/wasm.js
4.233 Download https://deno.land/x/[email protected]/plugins/tailwind/compiler.ts
4.337 Download https://esm.sh/stable/[email protected]/denonext/devtools.js
4.337 Download https://esm.sh/stable/[email protected]/denonext/debug.js
4.337 Download https://deno.land/x/[email protected]/wasm.d.ts
4.519 Download https://registry.npmjs.org/postcss
4.519 Download https://registry.npmjs.org/tailwindcss
4.519 Download https://registry.npmjs.org/cssnano
4.519 Download https://registry.npmjs.org/autoprefixer
4.942 Download https://registry.npmjs.org/nanoid
4.942 Download https://registry.npmjs.org/picocolors
4.942 Download https://registry.npmjs.org/source-map-js
5.053 Download https://registry.npmjs.org/cssnano-preset-default
5.053 Download https://registry.npmjs.org/lilconfig
5.132 Download https://registry.npmjs.org/browserslist
5.132 Download https://registry.npmjs.org/caniuse-lite
5.132 Download https://registry.npmjs.org/fraction.js
5.132 Download https://registry.npmjs.org/normalize-range
5.132 Download https://registry.npmjs.org/postcss-value-parser
5.342 Download https://registry.npmjs.org/@alloc/quick-lru
5.342 Download https://registry.npmjs.org/arg
5.343 Download https://registry.npmjs.org/chokidar
5.343 Download https://registry.npmjs.org/didyoumean
5.343 Download https://registry.npmjs.org/dlv
5.343 Download https://registry.npmjs.org/fast-glob
5.343 Download https://registry.npmjs.org/glob-parent
5.343 Download https://registry.npmjs.org/is-glob
5.343 Download https://registry.npmjs.org/jiti
5.343 Download https://registry.npmjs.org/micromatch
5.343 Download https://registry.npmjs.org/normalize-path
5.343 Download https://registry.npmjs.org/object-hash
5.343 Download https://registry.npmjs.org/postcss-import
5.343 Download https://registry.npmjs.org/postcss-js
5.343 Download https://registry.npmjs.org/postcss-load-config
5.343 Download https://registry.npmjs.org/postcss-nested
5.343 Download https://registry.npmjs.org/postcss-selector-parser
5.343 Download https://registry.npmjs.org/resolve
5.343 Download https://registry.npmjs.org/sucrase
5.504 Download https://registry.npmjs.org/css-declaration-sorter
5.504 Download https://registry.npmjs.org/cssnano-utils
5.504 Download https://registry.npmjs.org/postcss-calc
5.504 Download https://registry.npmjs.org/postcss-colormin
5.504 Download https://registry.npmjs.org/postcss-convert-values
5.504 Download https://registry.npmjs.org/postcss-discard-comments
5.504 Download https://registry.npmjs.org/postcss-discard-duplicates
5.504 Download https://registry.npmjs.org/postcss-discard-empty
5.504 Download https://registry.npmjs.org/postcss-discard-overridden
5.504 Download https://registry.npmjs.org/postcss-merge-longhand
5.504 Download https://registry.npmjs.org/postcss-merge-rules
5.504 Download https://registry.npmjs.org/postcss-minify-font-values
5.504 Download https://registry.npmjs.org/postcss-minify-gradients
5.504 Download https://registry.npmjs.org/postcss-minify-params
5.504 Download https://registry.npmjs.org/postcss-minify-selectors
5.504 Download https://registry.npmjs.org/postcss-normalize-charset
5.504 Download https://registry.npmjs.org/postcss-normalize-display-values
5.504 Download https://registry.npmjs.org/postcss-normalize-positions
5.504 Download https://registry.npmjs.org/postcss-normalize-repeat-style
5.504 Download https://registry.npmjs.org/postcss-normalize-string
5.504 Download https://registry.npmjs.org/postcss-normalize-timing-functions
5.504 Download https://registry.npmjs.org/postcss-normalize-unicode
5.504 Download https://registry.npmjs.org/postcss-normalize-url
5.505 Download https://registry.npmjs.org/postcss-normalize-whitespace
5.505 Download https://registry.npmjs.org/postcss-ordered-values
5.505 Download https://registry.npmjs.org/postcss-reduce-initial
5.505 Download https://registry.npmjs.org/postcss-reduce-transforms
5.505 Download https://registry.npmjs.org/postcss-svgo
5.505 Download https://registry.npmjs.org/postcss-unique-selectors
5.614 Download https://registry.npmjs.org/electron-to-chromium
5.614 Download https://registry.npmjs.org/node-releases
5.614 Download https://registry.npmjs.org/update-browserslist-db
5.783 Download https://registry.npmjs.org/anymatch
5.783 Download https://registry.npmjs.org/braces
5.783 Download https://registry.npmjs.org/fsevents
5.783 Download https://registry.npmjs.org/is-binary-path
5.783 Download https://registry.npmjs.org/readdirp
5.830 Download https://registry.npmjs.org/@nodelib/fs.stat
5.830 Download https://registry.npmjs.org/@nodelib/fs.walk
5.830 Download https://registry.npmjs.org/merge2
6.044 Download https://registry.npmjs.org/is-extglob
6.144 Download https://registry.npmjs.org/picomatch
6.201 Download https://registry.npmjs.org/read-cache
6.250 Download https://registry.npmjs.org/camelcase-css
6.292 Download https://registry.npmjs.org/ts-node
6.292 Download https://registry.npmjs.org/yaml
6.351 Download https://registry.npmjs.org/cssesc
6.351 Download https://registry.npmjs.org/util-deprecate
6.405 Download https://registry.npmjs.org/is-core-module
6.405 Download https://registry.npmjs.org/path-parse
6.405 Download https://registry.npmjs.org/supports-preserve-symlinks-flag
6.464 Download https://registry.npmjs.org/@jridgewell/gen-mapping
6.464 Download https://registry.npmjs.org/commander
6.464 Download https://registry.npmjs.org/glob
6.464 Download https://registry.npmjs.org/lines-and-columns
6.464 Download https://registry.npmjs.org/mz
6.464 Download https://registry.npmjs.org/pirates
6.464 Download https://registry.npmjs.org/ts-interface-checker
6.544 Download https://registry.npmjs.org/caniuse-api
6.544 Download https://registry.npmjs.org/colord
6.596 Download https://registry.npmjs.org/stylehacks
6.641 Download https://registry.npmjs.org/svgo
6.701 Download https://registry.npmjs.org/escalade
6.742 Download https://registry.npmjs.org/fill-range
6.790 Download https://registry.npmjs.org/binary-extensions
6.821 Download https://registry.npmjs.org/@nodelib/fs.scandir
6.821 Download https://registry.npmjs.org/fastq
6.908 Download https://registry.npmjs.org/pify
6.956 Download https://registry.npmjs.org/hasown
7.049 Download https://registry.npmjs.org/@jridgewell/set-array
7.049 Download https://registry.npmjs.org/@jridgewell/sourcemap-codec
7.049 Download https://registry.npmjs.org/@jridgewell/trace-mapping
7.132 Download https://registry.npmjs.org/foreground-child
7.132 Download https://registry.npmjs.org/jackspeak
7.132 Download https://registry.npmjs.org/minimatch
7.132 Download https://registry.npmjs.org/minipass
7.132 Download https://registry.npmjs.org/package-json-from-dist
7.133 Download https://registry.npmjs.org/path-scurry
7.279 Download https://registry.npmjs.org/any-promise
7.279 Download https://registry.npmjs.org/object-assign
7.279 Download https://registry.npmjs.org/thenify-all
7.328 Download https://registry.npmjs.org/lodash.memoize
7.328 Download https://registry.npmjs.org/lodash.uniq
7.381 Download https://registry.npmjs.org/@trysound/sax
7.381 Download https://registry.npmjs.org/css-select
7.381 Download https://registry.npmjs.org/css-tree
7.381 Download https://registry.npmjs.org/css-what
7.381 Download https://registry.npmjs.org/csso
7.496 Download https://registry.npmjs.org/to-regex-range
7.549 Download https://registry.npmjs.org/run-parallel
7.598 Download https://registry.npmjs.org/reusify
7.652 Download https://registry.npmjs.org/function-bind
7.692 Download https://registry.npmjs.org/@jridgewell/resolve-uri
7.751 Download https://registry.npmjs.org/cross-spawn
7.751 Download https://registry.npmjs.org/signal-exit
7.797 Download https://registry.npmjs.org/@isaacs/cliui
7.797 Download https://registry.npmjs.org/@pkgjs/parseargs
8.361 Download https://registry.npmjs.org/brace-expansion
8.425 Download https://registry.npmjs.org/lru-cache
8.476 Download https://registry.npmjs.org/thenify
8.528 Download https://registry.npmjs.org/boolbase
8.528 Download https://registry.npmjs.org/domhandler
8.528 Download https://registry.npmjs.org/domutils
8.528 Download https://registry.npmjs.org/nth-check
8.576 Download https://registry.npmjs.org/mdn-data
8.670 Download https://registry.npmjs.org/is-number
8.762 Download https://registry.npmjs.org/queue-microtask
8.820 Download https://registry.npmjs.org/path-key
8.820 Download https://registry.npmjs.org/shebang-command
8.820 Download https://registry.npmjs.org/which
8.872 Download https://registry.npmjs.org/string-width
8.872 Download https://registry.npmjs.org/strip-ansi
8.872 Download https://registry.npmjs.org/wrap-ansi
9.057 Download https://registry.npmjs.org/balanced-match
9.091 Download https://registry.npmjs.org/domelementtype
9.139 Download https://registry.npmjs.org/dom-serializer
9.184 Download https://registry.npmjs.org/shebang-regex
9.247 Download https://registry.npmjs.org/isexe
9.292 Download https://registry.npmjs.org/eastasianwidth
9.292 Download https://registry.npmjs.org/emoji-regex
9.406 Download https://registry.npmjs.org/is-fullwidth-code-point
9.460 Download https://registry.npmjs.org/ansi-regex
9.508 Download https://registry.npmjs.org/ansi-styles
9.635 Download https://registry.npmjs.org/entities
9.675 Download https://registry.npmjs.org/color-convert
9.715 Download https://registry.npmjs.org/color-name
9.772 Download https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz
9.856 Initialize [email protected]
9.964 error: Import 'https://registry-staging.deno.com/@luca/esbuild-deno-loader/meta.json' failed: error sending request for url (https://registry-staging.deno.com/@luca/esbuild-deno-loader/meta.json): error trying to connect: dns error: failed to lookup address information: Name or service not known
9.964     at https://deno.land/x/[email protected]/src/build/deps.ts:9:29
------
Dockerfile:9
--------------------
   7 |     
   8 |     COPY . .
   9 | >>> RUN deno cache main.ts
  10 |     
  11 |     EXPOSE 8000
--------------------
ERROR: failed to solve: process "/bin/sh -c deno cache main.ts" did not complete successfully: exit code: 1

nvm switched to denoland/deno:2.0.0 and all is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid what appeared to be an issue with Deno wasn't
Projects
None yet
Development

No branches or pull requests

4 participants