Code Monkey home page Code Monkey logo

Comments (7)

blackliner avatar blackliner commented on May 30, 2024

the latest alpine based node image (17.3-alpine) did not work either. I tried it with node:17, which is now giving me this:

...
Step 8/14 : COPY package.json /usr/src/app/
 ---> b37a806fedf8
Step 9/14 : RUN npm install
 ---> Running in 5a8615ac3e55
Node.js[7]: ../src/util.cc:188:double node::GetCurrentTimeInMicroseconds(): Assertion `(0) == (uv_gettimeofday(&tv))' failed.
Aborted (core dumped)
The command '/bin/sh -c npm install' returned a non-zero code: 134

from route53-dynamic-dns.

blackliner avatar blackliner commented on May 30, 2024

I tried to replicate it on my x86 machine, looking for an architecture/platform related issue, but it worked (hoped so). So it might be something relevant to the raspi 4B itself.

sudo apt-get update
sudo apt-get install -y qemu qemu-user-static binfmt-support
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes

git clone [email protected]:sjmayotte/route53-dynamic-dns.git && cd route53-dynamic-dns
docker buildx build --platform linux/arm/v7 .

from route53-dynamic-dns.

blackliner avatar blackliner commented on May 30, 2024

It works with node:16 as base image 🤷

from route53-dynamic-dns.

sjmayotte avatar sjmayotte commented on May 30, 2024

@blackliner do you have any idea why it doesn't work with new node image on that device? I'm hesitant to go to node 16. It would be good to understand if there is a known issue that is planned to be fixed.

from route53-dynamic-dns.

blackliner avatar blackliner commented on May 30, 2024

Not really, all I did was to try out a few permutations of version combinations, and as soon as it worked, I just used it. I did not do any further debugging, as I have 0 experience with npn/NodeJS.

Is it possible to replicate this issue on your end? Given you have access to a Raspi4B

from route53-dynamic-dns.

ismarslomic avatar ismarslomic commented on May 30, 2024

@blackliner could you please check if you experience same issue with latest image version v1.3.0? It has been updated to use node:18.14.0-alpine3.17 as base image.

from route53-dynamic-dns.

ismarslomic avatar ismarslomic commented on May 30, 2024

Closing the issue as it seems to be stale.

from route53-dynamic-dns.

Related Issues (18)

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.