android - "No command 'ionic' found" and "workon: command not found" -


i have weird problem in ubuntu 14.04. developing mobile application using ionic api using django-rest-framework. after developing, downloaded jdk , android sdk can build mobile app apk. downloaded android dependencies or tools needed building. after downloaded all, go mobile app folder , type ionic platform add android build it. terminal response "no command 'ionic' found". typing ionic serve responses same. tried activate virtual environment of api using workon mobile responses workon: command not found. have idea might wrong? thanks

first check ionic install or not using following command

ionic -v  

it shows version if nothing show install ionic using following command

sudo npm install -g ionic 

else update ionic following command on terminal

sudo npm update -g 

and if have not got result create symbolic link using following command

sudo ln -s /usr/bin/nodejs /usr/bin/node  

hope !!


Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -