Project: appceleratorstudio
Issue TISTUD-5431: Node Package Installer: application npm install location is incorrect
1. Delete Global Appcelerator NPM Packages. 2. Install Titanium/Appcelerator Studio. 4. Run Studio and accept npm package updates. Result: The updates are locally installed to a folder other than the one studio was run from. See screenshot. Expected Result: The updates are globally installed. Note: If you try to run studio commands that require the npm packages, they will fail. {code} Launching simulator process failed Unable to locate the CLI executable. Please restart Studio or use Help > Check for Appcelerator Updates to install Titanium CLI. {code} Studio looks here no matter what (and the commands fail): {code} /Applications/Appcelerator/Appcelerator_Studio_3.1.3/AppceleratorStudio.app/Contents/MacOS/Password:/usr/local/lib ├── acs@1.0.6 ├── alloy@1.2.2 ├── titanium@3.1.2 └── titanium-code-processor@1.0.3 {code} Workaround: {code} npm set prefix /usr/local {code}
Story points: 8