Adding windows phone platform 404 error


when trying to add a windows platform based on docs:

When executing cordova platform add wp8 I get:

Error: Failed to fetch platform wp8
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Error: cmd: Command failed with exit code 1 Error output:
npm ERR! code E404
npm ERR! 404 Not Found: wp8@latest

Any ideas?