node.jstypescriptnpmubuntu-15.04

typescript installing with npm command in ubuntu 15


i have a beginner in UBUNTU and recently start AngularJS2 . when i try to install typescript with following command

NPM install -g typescript

i receive following error enter image description here


Solution

  • If you are using global argument -g you need admin permission. So try with this:

    sudo npm install -g typescript