Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: need help with node trobleshooting

  1. #11
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: need help with node trobleshooting

    Quote Originally Posted by dragonfly41 View Post
    The issue I have is bumping up to v 20.

    Errors were encountered while processing:
    /var/cache/apt/archives/nodejs_20.12.2-1nodesource1_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    I did not have good luck for case use with v 20, will v 22 work for you both?
    Code:
    node --version
    v22.0.0
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  2. #12
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: need help with node trobleshooting

    If you can provide the link that would be good .. I went to latest node downloads and only Windows showed .. no Linux.

  3. #13
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: need help with node trobleshooting

    Quote Originally Posted by dragonfly41 View Post
    If you can provide the link that would be good .. I went to latest node downloads and only Windows showed .. no Linux.
    Dang I'll have to find it again It's been a few months since, but for v20 I use:
    Code:
    curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - &&\
    sudo apt-get install -y nodejs
    For v22 I use:
    Code:
    curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - &&\
    sudo apt-get install -y nodejs
    I owe the OP an apology for all this noise, but may be useful IJDK.

    Now if you want to remove or revert to the original "v"
    Code:
    apt-get purge nodejs &&\
    rm -r /etc/apt/sources.list.d/nodesource.list &&\
    rm -r /etc/apt/keyrings/nodesource.gpg
    And I'm a CLI user so I remove the source by:
    Code:
     sudo rm -r '/etc/apt/sources.list.d/nodesource.list'
    Update and reinstall the original via:
    Code:
     sudo apt install nodejs
    EDIT: I found it, I love having good notes: https://github.com/nodesource/distri...buntu-versions
    Last edited by 1fallen; 1 Week Ago at 09:10 PM. Reason: add link
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  4. #14
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: need help with node trobleshooting

    Good references.

    I tried ..
    curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - &&\sudo apt-get install -y nodejs


    reparing to unpack .../nodejs_22.0.0-1nodesource1_amd64.deb ...
    Detected old npm client, removing...
    Unpacking nodejs (22.0.0-1nodesource1) over (20.12.2-1nodesource1) ...
    Setting up nodejs (22.0.0-1nodesource1) ...
    Processing triggers for man-db (2.10.2-1) ..

    but dang .. node --vesion shows v.18.

    I will have to purge node and try again.

    Don't know how OP in this buddy thread is faring.

  5. #15
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: need help with node trobleshooting

    Last edited by dragonfly41; 1 Week Ago at 09:34 PM.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •