Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paketinstallation über die Konsole geht nicht #22

Closed
Hypnos3 opened this issue Jul 7, 2018 · 2 comments
Closed

Paketinstallation über die Konsole geht nicht #22

Hypnos3 opened this issue Jul 7, 2018 · 2 comments

Comments

@Hypnos3
Copy link
Contributor

Hypnos3 commented Jul 7, 2018

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

@hobbyquaker hobbyquaker added 🐛bug Something isn't working 📖documentation labels Jul 10, 2018
@hobbyquaker
Copy link
Member

hobbyquaker commented Jul 11, 2018

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

@hobbyquaker hobbyquaker removed the 🐛bug Something isn't working label Jul 11, 2018
@Hypnos3
Copy link
Contributor Author

Hypnos3 commented Jul 12, 2018

OK, Danke!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants