For posterity: usually the solution is to make sure there's a www/ directory inside the root directory.
npm install -g cordova
having the same issue after cloning an existing project down to a machine. Attempted to uninstall/reinstall ionic/phonegap/cordova without success. Also attempted the cordova create . command without any luck.
having the same problem. tried updating cordova. ran “cordova create .” from another thread. nothing seems to fix this. any updates?
just use 'cordova plugin add cordova-pdf-generator’, instead use ‘ionic cordova plugin add cordova-pdf-generator’