Upgrade Node.js on Loxberry

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • Tico
    Lox Guru
    • 31.08.2016
    • 1035

    Upgrade Node.js on Loxberry

    I have Node-Red installed on my Loxberry. I need to upgrade a particular node, but Node.js is required to be at a later build level. The Loxberry is currently on Node.js v12.20.1 (Loxberry v2.2.0.4).

    The upgraded node requires Node.js v14, 16 or 18 as a minimum.

    I have already carried out the upgrade of Node-Red on a 'vanilla' Raspberry Pi running Raspian. To do this I needed to install NVM to successfully get Node.js v16 installed. For reasons unknown to me, a manual upgrade of Node.js to v16 kept reverting to v12 upon reboot. The install of NVM fixed this anomaly.

    Going forward, is there a safe way to upgrade the Loxberry Node.js instance? What commands should be run?
    Ich spreche kein Deutsch. Gib Google Translate die Schuld, wenn ich unverständlich bin.
Lädt...