Project: appceleratorstudio
Issue TISTUD-6918: Studio doesn't install all the components in one attempt If it installs Node
Studio doesn't install all components in one attempt if It needs to install node. We need to check for Appcelerator updates 2nd time to install remaining components. Same behavior is observed in 3.3.0 GA as well. I found some NPEs in Studio Log. Please refer attachment *studio_log3.4.0.txt* for more info. h5. Steps to Reproduce 1. Unistall node, npm, and npm packages from your machine {code} sudo npm uninstall npm -g sudo rm /usr/local/bin/node sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.* {code} 2. Open the Studio and check for Appcelerator Updates (It will show all the components to be installed. Please see attachment *First_Update.png* for more info) 3. Install the components. 4. Check in CLI for installation (for eg: node -v, npm -v, ti -v, alloy -v) h5. Actual Result Only Node and NPM are installed. Alloy, Titanium and ACS are not installed. If you check for Appc-Updates again, you can see the result as in attachment *Second_Update.png*. h5. Expected Result All components should be installed at one attempt. h5. Another Consecutive scenario triggered by this issue When I try to check updates second time (see attachment *Second_Update.png*), Studio 3.4.0 RC fails with following error log. There was no explicit error dialogs. {code} !ENTRY com.aptana.core 4 1 2014-09-12 13:06:10.363 !MESSAGE sudo: a password is required {code} It didn't allow me to install alloy and CLI components from studio. But I tried the same thing in Studio 3.3.0, It *succeeded in second attempt.* (!) So this part could be *regression*.
Story points: 5