Ionic platform add ios

I tried to add the ios platform.

ionic platform add ios
Running command: /shark/farts/Projects/meterfeeder/meterfeeder-app/hooks/before_platform_add/init_directories.js /shark/farts/Projects/meterfeeder/meterfeeder-app
npm http GET
npm http 401
npm http GET
npm http 401
Unable to fetch platform ios: Error: unauthorized Name or password is incorrect.: cordova-ios/3.7.0

That doesn’t seem right.

For those playing at home, npm install cordova-ios works.

1 Like

I did a npm install -g cordova ionic. Now everything works.

Rubber ducking works.