Categories
Technology

Quick fix to phonegap error due to default nodejs location in Ubuntu 14.04

Ubuntu 14.04 has nodejs installed instead of node, but the error message from phonegap is dubious. Took me a bit of time to realize what went wrong.

Error syndrome: successfully installed phonegap using the following command.

However, error message /usr/bin/env: node: No such file or directory appears when typing command phonegap in terminal.

Solution:

Leave a ReplyCancel reply

Exit mobile version