OpenMarine
Manage palette not available - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: Node Red (https://forum.openmarine.net/forumdisplay.php?fid=15)
+--- Thread: Manage palette not available (/showthread.php?tid=5077)



Manage palette not available - Bickes - 2024-01-02

Hi,
I tried to install a new node in node red. Unfortunately the "Manage palette" is not available in the menu.
A Google search told me, that it could be due to an older version of npm.

I´ve done already an updat with:
sudo apt update
sudo apt upgrade

How do I update npm in Openplotter without causing trouble?


RE: Manage palette not available - Sailoog - 2024-01-03

sudo npm install -g npm@latest


RE: Manage palette not available - Bickes - 2024-01-03

Hola Sailoog, moltes gràcies!
Unfortunaltely that didn´t help.  There´s a long error message. 

Code:
xx@xx:~ $ sudo npm install -g npm@latest
/usr/lib/node_modules/npm/lib/cli.js:35
    throw err
    ^

TypeError: Class extends value undefined is not a constructor or null
    at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/fs-minipass/lib/index.js:136:4)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:121:18)
    at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/cacache/lib/content/read.js:4:13)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)

Node.js v18.17.1