[ 
https://issues.apache.org/jira/browse/CB-4074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13707415#comment-13707415
 ] 

Lisa Seacat DeLuca commented on CB-4074:
----------------------------------------

> s.exec('android list target', {silent:true, async:true}, function(code, 
> output) { console.dir(arguments); })
{ domain: null,
  _events:
   { close: [Function: exithandler],
     error: [Function: errorhandler] },
  _maxListeners: 10,
  _closesNeeded: 1,
  _closesGot: 0,
  connected: false,
  signalCode: null,
  exitCode: null,
  killed: false,
  _handle:
   { owner: [Circular],
     onexit: [Function],
     pid: 0 },
  pid: 0,
  stdin:
   { _connecting: false,
     _handle: null,
     _readableState:
      { highWaterMark: 16384,
        buffer: [],
        length: 0,
        pipes: null,
        pipesCount: 0,
        flowing: false,
        ended: false,
        endEmitted: false,
        reading: false,
        calledRead: false,
        sync: true,
        needReadable: false,
        emittedReadable: false,
        readableListening: false,
        objectMode: false,
        defaultEncoding: 'utf8',
        ranOut: false,
        awaitDrain: 0,
        readingMore: false,
        decoder: null,
        encoding: null },
     readable: false,
     domain: null,
     _events:
      { end: [Object],
        finish: [Function: onSocketFinish],
        _socketEnd: [Function: onSocketEnd] },
     _maxListeners: 10,
     _writableState:
      { highWaterMark: 16384,
        objectMode: false,
        needDrain: false,
        ending: false,
        ended: false,
        finished: false,
        decodeStrings: false,
        defaultEncoding: 'utf8',
        length: 0,
        writing: false,
        sync: true,
        bufferProcessing: false,
        onwrite: [Function],
        writecb: null,
        writelen: 0,
        buffer: [] },
     writable: true,
     allowHalfOpen: false,
     onend: null,
     destroyed: false,
     errorEmitted: false,
     bytesRead: 0,
     _bytesDispatched: 0,
     _pendingData: null,
     _pendingEncoding: '' },
  stdout:
   { _connecting: false,
     _handle: null,
     _readableState:
      { highWaterMark: 16384,
        buffer: [],
        length: 0,
        pipes: null,
        pipesCount: 0,
        flowing: false,
        ended: false,
        endEmitted: false,
        reading: true,
        calledRead: true,
        sync: false,
        needReadable: true,
        emittedReadable: false,
        readableListening: false,
        objectMode: false,
        defaultEncoding: 'utf8',
        ranOut: false,
        awaitDrain: 0,
        readingMore: false,
        decoder: [Object],
        encoding: 'utf8' },
     readable: true,
     domain: null,
     _events:
      { end: [Object],
        finish: [Function: onSocketFinish],
        _socketEnd: [Function: onSocketEnd],
        data: [Object],
        readable: [Function],
        connect: [Object] },
     _maxListeners: 10,
     _writableState:
      { highWaterMark: 16384,
        objectMode: false,
        needDrain: false,
        ending: false,
        ended: false,
        finished: false,
        decodeStrings: false,
        defaultEncoding: 'utf8',
        length: 0,
        writing: false,
        sync: true,
        bufferProcessing: false,
        onwrite: [Function],
        writecb: null,
        writelen: 0,
        buffer: [] },
     writable: false,
     allowHalfOpen: false,
     onend: null,
     destroyed: false,
     errorEmitted: false,
     bytesRead: 0,
     _bytesDispatched: 0,
     _pendingData: null,
     _pendingEncoding: '',
     pipe: [Function],
     addListener: [Function],
     on: [Function],
     pause: [Function],
     resume: [Function],
     read: [Function],
     _consuming: true },
  stderr:
   { _connecting: false,
     _handle: null,
     _readableState:
      { highWaterMark: 16384,
        buffer: [],
        length: 0,
        pipes: null,
        pipesCount: 0,
        flowing: false,
        ended: false,
        endEmitted: false,
        reading: true,
        calledRead: true,
        sync: false,
        needReadable: true,
        emittedReadable: false,
        readableListening: false,
        objectMode: false,
        defaultEncoding: 'utf8',
        ranOut: false,
        awaitDrain: 0,
        readingMore: false,
        decoder: [Object],
        encoding: 'utf8' },
     readable: true,
     domain: null,
     _events:
      { end: [Object],
        finish: [Function: onSocketFinish],
        _socketEnd: [Function: onSocketEnd],
        data: [Object],
        readable: [Function],
        connect: [Object] },
     _maxListeners: 10,
     _writableState:
      { highWaterMark: 16384,
        objectMode: false,
        needDrain: false,
        ending: false,
        ended: false,
        finished: false,
        decodeStrings: false,
        defaultEncoding: 'utf8',
        length: 0,
        writing: false,
        sync: true,
        bufferProcessing: false,
        onwrite: [Function],
        writecb: null,
        writelen: 0,
        buffer: [] },
     writable: false,
     allowHalfOpen: false,
     onend: null,
     destroyed: false,
     errorEmitted: false,
     bytesRead: 0,
     _bytesDispatched: 0,
     _pendingData: null,
     _pendingEncoding: '',
     pipe: [Function],
     addListener: [Function],
     on: [Function],
     pause: [Function],
     resume: [Function],
     read: [Function],
     _consuming: true },
  stdio:
   [ { _connecting: false,
       _handle: null,
       _readableState: [Object],
       readable: false,
       domain: null,
       _events: [Object],
       _maxListeners: 10,
       _writableState: [Object],
       writable: true,
       allowHalfOpen: false,
       onend: null,
       destroyed: false,
       errorEmitted: false,
       bytesRead: 0,
       _bytesDispatched: 0,
       _pendingData: null,
       _pendingEncoding: '' },
     { _connecting: false,
       _handle: null,
       _readableState: [Object],
       readable: true,
       domain: null,
       _events: [Object],
       _maxListeners: 10,
       _writableState: [Object],
       writable: false,
       allowHalfOpen: false,
       onend: null,
       destroyed: false,
       errorEmitted: false,
       bytesRead: 0,
       _bytesDispatched: 0,
       _pendingData: null,
       _pendingEncoding: '',
       pipe: [Function],
       addListener: [Function],
       on: [Function],
       pause: [Function],
       resume: [Function],
       read: [Function],
       _consuming: true },
     { _connecting: false,
       _handle: null,
       _readableState: [Object],
       readable: true,
       domain: null,
       _events: [Object],
       _maxListeners: 10,
       _writableState: [Object],
       writable: false,
       allowHalfOpen: false,
       onend: null,
       destroyed: false,
       errorEmitted: false,
       bytesRead: 0,
       _bytesDispatched: 0,
       _pendingData: null,
       _pendingEncoding: '',
       pipe: [Function],
       addListener: [Function],
       on: [Function],
       pause: [Function],
       resume: [Function],
       read: [Function],
       _consuming: true } ] }
> { '0': 'ENOENT', '1': '' }

------------ not seeing the same output as you.  Sorry for not responding 
faster.  I've been in class all week.
                
> Error when adding android platform on Windows 7
> -----------------------------------------------
>
>                 Key: CB-4074
>                 URL: https://issues.apache.org/jira/browse/CB-4074
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>         Environment: Windows 7
>            Reporter: Lisa Seacat DeLuca
>            Assignee: Filip Maj
>
> I got past the issue where I wasn't able to install cordova on my windows 7 
> machine.  I create a new project just fine but when I tried to add android as 
> a platform I see the following error:
> C:\workspaces\cordovacli\helloworld>cordova platform add android
> shell.js: internal error
> Error: EPERM, operation not permitted 
> 'C:\Users\me\.cordova\lib\android\cordova\2.9.0\cordova-android-2.9.0-df1536e\test'
>     at Object.fs.renameSync (fs.js:543:18)
>     at 
> C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:487:8
>     at Array.forEach (native)
>     at Object._mv 
> (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:463:11)
>     at Object.mv 
> (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:1471:23)
>     at Extract.<anonymous> 
> (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\src\lazy_load.js:115:43)
>     at Extract.EventEmitter.emit (events.js:117:20)
>     at DirWriter.<anonymous> 
> (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\tar\lib\extract.js:66:8)
>     at DirWriter.EventEmitter.emit (events.js:117:20)
>     at end 
> (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\tar\node_modules\fstream\lib\writer.js:323:12)
> --------------
> note: I can use eclipse and create an android project with no problem and 
> test on devices and emulators.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to