I\'m trying to install Phonegap in Ubuntu. The installation of NodeJS was successful, however I can\'t install Phonegap itself. Here is the error output of terminal:
You can also disable SSL check in your code using node environment variable :
in your index.js file, add :
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
Note that this is not a good habits as it will not try to check the validity of https certificate