Code Monkey home page Code Monkey logo

Comments (4)

juj avatar juj commented on June 30, 2024

Hmm, I wonder if we should do a 'node --version' in sanity checks in Emscripten and complain if we don't find the correct executable there. What does 'node --version' on the wrong package give you versus nodejs --version? Does that give a good differing information that we could test for?

from emsdk.

floooh avatar floooh commented on June 30, 2024

Unfortunately I'm not getting any useful output of the node executable in the 'node' package. It's a link at '/usr/sbin/node' pointing to '/usr/sbin/ax25-node', starting the program doesn't seem to anything, --version or --help doesn't give any output. The man page says:

NAME
       ax25-node - Node front end for AX.25, NET/ROM, Rose and TCP

SYNOPSIS
       ax25-node [-c]

DESCRIPTION
       ax25-node is a simple node front end, modelled after the node shells of TheNet and G8BPQ nodes.

Googling I found this: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614907

from emsdk.

juj avatar juj commented on June 30, 2024

Thinking about this, I'm leaning on that on linux, we should just always first search for which nodejs, and if that exists, then use that as node, and if not, then use node. Can anyone think of a reason that could fail?

from emsdk.

floooh avatar floooh commented on June 30, 2024

Sounds good to me. This doesn't solve the confusing problem with the Debian package naming (node vs nodejs), but at least the right executable would be called without setting a link.

from emsdk.

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.