android - Cannot find module 'umask' -


i new ionic framework. today tried create new project using ionic. when tried adding android platform app using command ionic platform add android getting below error:

updated hooks directory have execute permissions     module.js:327         throw err;         ^     error: cannot find module 'umask'         @ function.module._resolvefilename (module.js:325:15)         @ object.<anonymous> (c:\users\jeffrey\appdata\roaming\npm\node_modules\cor     dova\node_modules\npm\lib\utils\umask.js:1:75) 

nodejs version: 5.4.1 please resolve error possible.

you can try uninstalling , reinstalling cordova using npm:

npm uninstall -g cordova npm install -g cordova@latest 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

android - Keyboard hides my half of edit-text and button below it even in scroll view -