I have googled and found many solutions but none work for me. I am using ionic2/cordova. Everything is installed properly: cordova, pug, pug-cli, ant, sdk, jdk.
Full Error Message:
'pug' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! Windows_NT 6.3.9600 npm ERR! argv
"C:\\Program Files(x86)\\Nodist\\v\\nodev6.7.0\\node.exe"
"C:\\Program Files (x86)\\Nodist \\bin\\node_modules\\npm\\bin\\npmcli.js" "run" "pug" npm
ERR! node v6.7.0 npm ERR! npm v2.14.10 npm ERR! code ELIFECYCLE npmERR! Iwatch@ pug: `pug src/` npm ERR! Exit status 1 Full Error Message: