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

Mike Billau commented on CB-4074:
---------------------------------

This has popped up on stackoverflow a few times, I think it started after 
adding q.js - or at least, q.js seems to be the first thing to try to call 
xcopy.

Is this a problem only when using the CLI? If so, we can add a NOTE: section to 
the documentation on this page: 
http://cordova.apache.org/docs/en/3.3.0/guide_cli_index.md.html#The%20Command-Line%20Interface
Similar to the note about adding the npm directory to your path if you install 
Cordova globally.

If you need xcopy on the path regardless of whether you use the CLI or the 
native workflow, then I think it should be in check_reqs. 

Created https://issues.apache.org/jira/browse/CB-4286 to track.




> 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 was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to