Source path is pointing at platform that is removed

Planning to download Xcode 8, so I test the file on my laptop. It was working great, but then after I moved it to an external hard drive and started to update node version from 5.0.8 to 5.10.1. Then this problem occurred.

I used to have both android and ios, but after this problem i deleted both platforms and tried to reinstall them. I tried to add IOS first, but the below error occurred even I didn’t have android. I noticed in my package.json, “cordovaPlatforms” listed “android” instead of “ios”. I changed that, and did bower update. Still it is point at android, and url does exist.

Error: Source path does not exist: resources\android\icon\drawable-xhdpi-icon.png