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

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -