ti-unit icon indicating copy to clipboard operation
ti-unit copied to clipboard

Get permission denied error when installing ti-unit via npm install

Open qasim90 opened this issue 4 years ago • 3 comments

Following the installation guide I've installed jasmine but when I try to install ti-unit with the command npm install git+ssh://github.com/aca-mobile/ti-unit.git#1.0.0 --save-dev as mentioned in the guide I get the following error:

npm ERR! code 1
npm ERR! Command failed: /usr/bin/git clone --depth=1 -q -b 1.1.0 ssh://[email protected]/aca-mobile/ti-unit.git /Users/macbook/.npm/_cacache/tmp/git-clone-27368418
npm ERR! /Users/macbook/.npm/_cacache/tmp/git-clone-27368418/.git: Permission denied

I then manually downloaded the repo from github and placed inside /usr/local/lib/node_modules/ but not sure how to verify its successfully installed.

qasim90 avatar Aug 07 '19 05:08 qasim90