Re: cordova-cli problems on linux

2013-06-01 Thread Filip Maj
Yeah the install script does a check for root user: https://github.com/apache/cordova-cli/blob/master/bootstrap.js#L61 Interesting that that is not working out.. On 5/28/13 10:35 AM, "Don Coleman" wrote: >I re-did the NPM install but didn't see the message. I'll retry on a fresh >machine toda

Re: cordova-cli problems on linux

2013-06-01 Thread Filip Maj
Wait we check for that anywaysŠ *scratches head* On 5/28/13 10:35 AM, "Don Coleman" wrote: >I re-did the NPM install but didn't see the message. I'll retry on a fresh >machine today. > > >On Tue, May 28, 2013 at 10:25 AM, Braden Shepherdson >wrote: > >> I note also the "macosx" in some paths th

Re: cordova-cli problems on linux

2013-06-01 Thread Filip Maj
OK, just tested this on Brent's (one of the ripple guys) computer, he's running archlinux, and apparently "process.env.user" is undefined. HOWEVER, process.env.USER is. So, I'll quickly patch that conditional so we check both cases. But yes, eventually this should all get ripped out anyways. On 5

Re: cordova-cli problems on linux

2013-05-28 Thread Don Coleman
I re-did the NPM install but didn't see the message. I'll retry on a fresh machine today. On Tue, May 28, 2013 at 10:25 AM, Braden Shepherdson wrote: > I note also the "macosx" in some paths there. > > And isn't there are message during the npm install that warns about > chmodding that directory

Re: cordova-cli problems on linux

2013-05-28 Thread Braden Shepherdson
I note also the "macosx" in some paths there. And isn't there are message during the npm install that warns about chmodding that directory? I agree that this sucks and it would be great to fix it. Braden On Tue, May 28, 2013 at 8:46 AM, Andrew Grieve wrote: > One hope here is that the problem

Re: cordova-cli problems on linux

2013-05-28 Thread Andrew Grieve
One hope here is that the problem will go away once we lazily fetch the platform repos. On Tue, May 28, 2013 at 12:28 AM, Don Coleman wrote: > "cordova platform add android" was failing on linux with an error > about the android-sdk-macosx > > don@localhost:~/tmp/foo$ cordova platform add andro

cordova-cli problems on linux

2013-05-27 Thread Don Coleman
"cordova platform add android" was failing on linux with an error about the android-sdk-macosx don@localhost:~/tmp/foo$ cordova platform add android [Error: An error occured during creation of android sub-project. BUILD FAILED /usr/local/lib/node_modules/cordova/lib/cordova-android/framework/build