Friday, 28 July 2017

Sencha command not found in mac


Today i got a strange error in mac book not able to find the sencha after sencha cmd installation.

When i installed sencha cmd 5.1 in one of my friend mac, it shown installed successfully but when am trying to access from terminal it is showing sencha not found error is coming.

finding all ways from user bin folder everything is there but am not able to run sencha. after some time i got to know that we need to add path in mac system manually.

In mac system open user .bash_profile file and the following text.

export SENCHA_CMD_5_1_0="/Users/username/Path/To/Sencha/Cmd/5.1.0.XXX"

export PATH=/Users/username/Path/To/Sencha/Cmd/$PATH

No comments:

Post a Comment