NodeJS

Aus Peter Fuerholz' Wiki
Version vom 22. August 2016, 16:29 Uhr von Admin (Diskussion | Beiträge)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

Install (see [NodeJS-HP]):

 curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
 sudo apt-get install -y nodejs
 sudo apt-get install -y build-essential
  1. produces error: sudo apt-get install -y npm

Then make sure to have newest npm installed ([npm blog]):

 sudo npm install npm -g

Seems no longer been necessary: Often other tools expect node instead of nodejs. For this create a link (See [this blog]): sudo ln -s /usr/bin/nodejs /usr/bin/node