Announcement

Collapse
No announcement yet.

Node cannot be installed, no support for jammy

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Node cannot be installed, no support for jammy

    I know this is more of a node issue, but thought I would mention it here anyway.
    Here is what happens when I try to install the LTS node (had to make links not be links, as I cannot post with links):

    andrew@sourcebox:~$ curl -sL https//deb-nodesource-com/setup_lts.x | sudo -E bash -
    [sudo] password for andrew:

    ## Installing the NodeSource Node.js 16.x repo...


    ## Populating apt-get cache...

    + apt-get update
    Get:1 http//us-archive-ubuntu-com/ubuntu jammy InRelease [270 kB]
    Hit:2 http//security-ubuntu-com/ubuntu jammy-security InRelease
    Hit:3 http//us-archive-ubuntu-com/ubuntu jammy-updates InRelease
    Hit:4 http//us-archive-ubuntu-com/ubuntu jammy-backports InRelease
    Hit:5 https//ppa-launchpadcontent-net/ondrej/php/ubuntu jammy InRelease
    Fetched 270 kB in 1s (346 kB/s)
    Reading package lists... Done

    ## Confirming "jammy" is supported...

    + curl -sLf -o /dev/null 'https//deb-nodesource-com/node_16.x/dists/jammy/Release'

    ## Your distribution, identified as "jammy", is not currently supported, please contact NodeSource a
    t https//github-com/nodesource/distributions/issues if you think this is incorrect or would like yo
    ur distribution to be considered for support


    #2
    I don't know if this will work for you but is downloading the binary archive and running node from a folder an option for you, rather than installing from the ppa? https:// nodejs-org/download/release/latest-v16.x/ I don't know anything about this software but I was able to run node in the command line from the bin folder and I can confirm that it includes the node modules folder within which contains npm and corepack for this version.

    ./node
    Welcome to Node.js v16.14.2.
    Type ".help" for more information.
    > .help
    .break Sometimes you get stuck, this gets you out
    .clear Alias for .break
    .editor Enter editor mode
    .exit Exit the REPL
    .help Print this help message
    .load Load JS from a file into the REPL session
    .save Save all evaluated commands in this REPL session to a file

    Press Ctrl+C to abort current expression, Ctrl+D to exit the REPL
    >



    Good Luck!

    Comment


      #3
      Thanks for the suggestion, it's not a huge issue yet as I'm just shaking the tree (so to speak) to see if I can migrate my server to 22.04. I wasn't expecting everything to be perfect, so far this is the only issue I found. I figure this will be resolved soon enough, as I don't have a timeframe in mind to move over, 20.04 is still working great for me...

      Comment

      Working...
      X