If you install Apache Cordova and find running the Cordova command does nothing and rule out all the usual suspects (not installing Ant, not installing Java, clearing the npm cache etc.) the problem is that the cordova script references node instead of the nodejs command. Changing it doesn't help unless you change all the scripts.
Run which nodejs and which node and you will see the problem
See this post for a description:
http://stackoverflow.com/questions/22457834/what-is-the-difference-between-node-vs-nodejs-command-in-terminal
What needs to be done is to symlink the /usr/sbin/node to the /usr/bin/nodejs file . See the following for a description of the problem.
http://stackoverflow.com/questions/22457834/what-is-the-difference-between-node-vs-nodejs-command-in-terminal
Hope this helps someone
This blog can solve many queries of programmers. I will suggest my friends this website because from this they can learn many things, and can polish their abilities.
ReplyDeleteI was having a problem with this for a long time now. Thank you so much for clearing up what the actual problem was. Really appreciate your efforts.
ReplyDeleteThanks for describing this process. I think that the information is valuable and we can always ask you for any assistance when it is needed.
ReplyDeletehttps://saglamproxy.com
ReplyDeletemetin2 proxy
proxy satın al
knight online proxy
mobil proxy satın al
BİUKF7