typescript installing with npm command in ubuntu 15

228 Views Asked by At

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

1

There are 1 best solutions below

0
mitch On BEST ANSWER

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

sudo npm install -g typescript