You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir Kotikov (JIRA)" <ji...@apache.org> on 2016/02/03 16:32:39 UTC

[jira] [Commented] (CB-10519) Using cordova.raw API outside of cordova project results in uncaught exception instead or promise rejection

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

Vladimir Kotikov commented on CB-10519:
---------------------------------------

The same problem with other {{cordova.raw}} methods (build, compile, etc...)

> Using cordova.raw API outside of cordova project results in uncaught exception instead or promise rejection
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CB-10519
>                 URL: https://issues.apache.org/jira/browse/CB-10519
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 6.0.0
>            Reporter: Vladimir Kotikov
>
> When trying to {{cordova.raw.platfom('add', ...)}} outside of cordova project the following error message logged to console:
> > Error: Current working directory is not a Cordova-based project.
> However, the error callback for {{cordova.raw.platfom('add', ...)}} isn't called at all.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org