[
https://issues.apache.org/jira/browse/CB-7236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oliver Salzburg updated CB-7236:
--------------------------------
Environment: Windows 7 x64
> 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)