-1

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

Milad
  • 27,506
  • 11
  • 76
  • 85

1 Answers1

1

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

sudo npm install -g typescript
mitch
  • 2,235
  • 3
  • 27
  • 46