Closed Hypnos3 closed 6 years ago
So, habe die Doku korrigiert. Da ich die RedMatic executables nicht in den Pfad legen will (um nicht mit eventuellen anderen Node-basierten Addons zu kollidieren) ist es notwendig den RedMatic bin Pfad manuell hinzuzufügen wenn man npm/node auf der Kommandozeile nutzen will:
export PATH=/usr/local/addons/redmatic/bin:$PATH
cd /usr/local/addons/redmatic/var
npm install --save --no-package-lock --global-style --save-prefix="~" --production <paket-name>
https://github.com/hobbyquaker/RedMatic/wiki/Node-Installation#Installation-via-Command-Line
OK, Danke!
wenn ich versuche über die Kommandozeite ein Paket zu installieren:
/usr/local/addons/redmatic/bin/npm install -g <paket-name>
kommt:
env: can't execute 'node': No such file or directory