Coder Social home page Coder Social logo

Comments (10)

danopia avatar danopia commented on April 28, 2024 2

Deno 1.10 is out (as 1.10.1) and libstdc++ is no longer required when building an Alpine image.

Once this repo is updated to 1.10 the warning should be gone as well. 🎉


Could this be related. The Deno app runs fine from the commandline.

@martijnvanschie This looks to me like an unrelated issue. It looks like your application gave an undefined to oak.

from deno_docker.

hayd avatar hayd commented on April 28, 2024 1

yes, fixed in 1.10.1. and dep removed by @kinghat 💪

from deno_docker.

hayd avatar hayd commented on April 28, 2024

Sadly I am not sure how to hide those warning lines. Does deno still run normally aside from those 5 (!) lines?

from deno_docker.

openjck avatar openjck commented on April 28, 2024

So far, yes! I haven't used it extensively yet, but it seems to work fine.

from deno_docker.

HanKruiger avatar HanKruiger commented on April 28, 2024

This issue (in a different context) seems identical or at least related : sgerrand/alpine-pkg-glibc#80

from deno_docker.

jsejcksn avatar jsejcksn commented on April 28, 2024

Is this only an issue on the alpine build or does it affect other images as well?

from deno_docker.

hayd avatar hayd commented on April 28, 2024

Pretty sure this is only alpine here, but any distribution which has an unnamed build of libstdc++ will see the same issue.

from deno_docker.

martijnvanschie avatar martijnvanschie commented on April 28, 2024

Hi, I'm getting the same error on my docker image using hayd/alpine-deno:latest. After that I also get the following error:

paint-manager_api  | error: Uncaught (in promise) TypeError: Cannot read property 'router' of undefined
paint-manager_api  |       if (!middleware.router) {
paint-manager_api  |                       ^
paint-manager_api  |     at Router.#register (https://deno.land/x/oak@v7.4.1/router.ts:404:23)
paint-manager_api  |     at Router.#useVerb (https://deno.land/x/oak@v7.4.1/router.ts:492:19)
paint-manager_api  |     at Router.options (https://deno.land/x/oak@v7.4.1/router.ts:741:18)
paint-manager_api  |     at file:///app/brands/brands.routes.ts:7:4

Could this be related. The Deno app runs fine from the commandline.

Thanks.

from deno_docker.

martijnvanschie avatar martijnvanschie commented on April 28, 2024

@danopia I checked the oak Github following the stack trace and its on the RouterMiddleware instance in the router class.

I reported an issue in the oak repo.

Its just that a local docker run version starts normally so just wondering if the image might somehow be missing something Deno related.

from deno_docker.

martijnvanschie avatar martijnvanschie commented on April 28, 2024

@hayd yes, just tested new build and no more warning 👍

from deno_docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.