Unable to install appcelerator CLI -Unexpect end of input

136 Views Asked by At

Tried to Reinstall Appcelerator Cli after reinstalling Xcode but always having error I installed node with version v4.4.0

then every time i try to execute the following command in order to install appcelerator cli

sudo npm install appcelerator -g

It gives me the following error :

npm ERR! registry error parsing json

npm ERR! Darwin 15.3.0

npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "appcelerator" "-g"

npm ERR! node v4.4.0

npm ERR! npm v2.14.20

npm ERR! Unexpected end of input

npm ERR! {"_id":"appcelera ........etc

with a very long json string.

1

There are 1 best solutions below

0
On BEST ANSWER

Internet Problem Probably . Tried from another network . proceded successfully with all installation steps thanks