You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Oliver Salzburg (JIRA)" <ji...@apache.org> on 2014/07/31 13:08:38 UTC
[jira] [Commented] (CB-7236) Build failure breaks entire project
[ https://issues.apache.org/jira/browse/CB-7236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14080751#comment-14080751 ]
Oliver Salzburg commented on CB-7236:
-------------------------------------
Seems like the problem is that the {{config.xml}} is removed, but shelljs fails to remove the folder.
> Build failure breaks entire project
> -----------------------------------
>
> Key: CB-7236
> URL: https://issues.apache.org/jira/browse/CB-7236
> Project: Apache Cordova
> Issue Type: Bug
> Components: BlackBerry
> Affects Versions: 3.5.0
> Environment: Windows 7 x64
> Reporter: Oliver Salzburg
>
> Frequently, when trying to build my project, cordova will fail to do so with an {{EPERM}} error.
> Trying to build again afterwards, will result in {{The provided path "d:\foo\platforms\blackberry10" is not a Cordova BlackBerry10 project.}}. The only way out is to remove the {{blackberry10}} folder from the {{platforms}} folder and re-add the platform.
> {code}
> OliverSalzburg@OLIVER-PC /d/foo (master)
> $ cordova emulate blackberry10
> shell.js: internal error
> Error: EPERM, operation not permitted 'd:\foo\platforms\blackberry10\www'
> at Object.fs.mkdirSync (fs.js:647:18)
> at c:\Users\OliverSalzburg.HARTWIG\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\shelljs\shell.js:543:10
> at Array.forEach (native)
> at Object._mkdir (c:\Users\OliverSalzburg.HARTWIG\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\shelljs\shell.js:526:8)
> at Object.mkdir (c:\Users\OliverSalzburg.HARTWIG\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\shelljs\shell.js:1491:23)
> at Object.module.exports.update_www (c:\Users\OliverSalzburg.HARTWIG\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\metadata\
> blackberry10_parser.js:132:15)
> at c:\Users\OliverSalzburg.HARTWIG\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\prepare.js:99:24
> at _fulfilled (c:\Users\OliverSalzburg.HARTWIG\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:798:54)
> at self.promiseDispatch.done (c:\Users\OliverSalzburg.HARTWIG\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:827:30)
> at Promise.promise.promiseDispatch (c:\Users\OliverSalzburg.HARTWIG\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:760:13)
> OliverSalzburg@OLIVER-PC /d/foo (master)
> $ cordova emulate blackberry10
> The provided path "d:\foo\platforms\blackberry10" is not a Cordova BlackBerry10 project.
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)