Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1CE7A10CAA for ; Wed, 3 Jul 2013 23:08:24 +0000 (UTC) Received: (qmail 42332 invoked by uid 500); 3 Jul 2013 23:08:22 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 42303 invoked by uid 500); 3 Jul 2013 23:08:22 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 42230 invoked by uid 99); 3 Jul 2013 23:08:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jul 2013 23:08:22 +0000 Date: Wed, 3 Jul 2013 23:08:22 +0000 (UTC) From: "Filip Maj (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-4074) Error when adding android platform on Windows 7 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-4074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13699568#comment-13699568 ] Filip Maj commented on CB-4074: ------------------------------- I've confirmed that this runs as desired on a Windows 8 machine.. Judging by the error message, it looks like you are getting permission errors to the {{C:\Users\me\.cordova\lib\android\cordova\2.9.0\cordova-android-2.9.0-df1536e\test}} location. You can also try running the same command with a {{-d}} flag at the start to get more verbose output, this way we'll have a better idea of where it failed, i.e. {{cordova -d platform add android}} > 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. (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. (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