I cannot understand how to work with new command line interface. I work on Windows 7. I read spec carefully. Ok, I set node.js, i downloaded the latest sdk 3.1 from the continuous build system. I downloaded cli from CLI Github (I'm behind a proxy and "npm install" didn't work for me, I don't know why, though I set the property "proxy" in the npmrc file). How to start "titanium" script from new CLI? When I start titanium - then the "titanium.bat" starts which has the old cli format. Should I start the Node itself before starting titanium or what?
1 Answer
I'm stupid! Below is step-by-step instruction how to setup CLI for Windows with proxy 1. setup node.js 2. My corporative proxy requires ntlm authentification. Therefore I setup additional proxy called cntlm which makes the authentification process transparent for npm. 3. I create file .npmrc in my win profile with next content strict-ssl = false registry=http://registry.npmjs.org proxy = http://127.0.0.1:3128
- I run "npm install titanium -g". Now it works successfully! There is "titanium.cmd" in the folder Appdata\Roaming\npm
Your Answer
Think you can help? Login to answer this question!