<http://stackoverflow.com/questions/33733698/error-after-updating-npm-cordova>
http://stackoverflow.com/questions/33733698/error-after-updating-npm-cordova [http://cdn.sstatic.net/stackoverflow/img/apple-touch-i...@2.png?v=73d79a89bded&a]<http://stackoverflow.com/questions/33733698/error-after-updating-npm-cordova> Error after updating npm, cordova I updated npm and cordova, after which I'm not able to run any of the cordova commands from terminal. Here is the error which I get: Avinash-mac-mini:~ avinash$ cordova module.js:339 throw err... Read more...<http://stackoverflow.com/questions/33733698/error-after-updating-npm-cordova> Hi I updated npm and cordova, after which I'm not able to run any of the cordova commands from terminal. Here is the error which I get: Avinash-mac-mini:~ avinash$ cordova module.js:339 throw err; Error: Cannot find module 'umask' at Function.Module._resolveFilename (module.js:337:15) at Function.Module._load (module.js:287:25) at Module.require (module.js:366:17) at require (module.js:385:17) at Object.<anonymous> (/usr/local/lib/node_modules/cordova/node_modules/npm/lib/utils/umask.js:1:75) at Module._compile (module.js:425:26) at Object.Module._extensions..js (module.js:432:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:311:12) at Module.require (module.js:366:17) Thanks and Regards Avinash The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com