You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jeffrey Heifetz (JIRA)" <ji...@apache.org> on 2013/10/02 20:35:43 UTC

[jira] [Commented] (CB-4749) "cordova prepare" doesn't give a good error message when run not from a cordova project

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

Jeffrey Heifetz commented on CB-4749:
-------------------------------------

Fixed by Commit 1bc89e00f089fdfdd164944b792f045341e85133 in branch refs/heads/master from Mark Koudritsky
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=1bc89e0 ]
CB-4774 Display proper error if cordova prepare run not in project dir.
cordova prepare fails with a cryptic error message if run not from
cordova project dir:
TypeError: Arguments to path.join must be strings
Fixed it to display the usual:
Error: Current working directory is not a Cordova-based project.

> "cordova prepare" doesn't give a good error message when run not from a cordova project
> ---------------------------------------------------------------------------------------
>
>                 Key: CB-4749
>                 URL: https://issues.apache.org/jira/browse/CB-4749
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Andrew Grieve
>            Assignee: Mark Koudritsky
>            Priority: Minor
>
> $ cordova prepare
> [TypeError: Arguments to path.join must be strings]



--
This message was sent by Atlassian JIRA
(v6.1#6144)