Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
3.5.0
-
None
-
None
-
Windows 7 x64
Description
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.
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.