You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/12/14 00:32:00 UTC

[jira] [Commented] (CB-12807) Improve error message for bad templates when using cordova create --template

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

ASF GitHub Bot commented on CB-12807:
-------------------------------------

stevengill commented on issue #9: CB-12807 : updated error message to follow the template guide
URL: https://github.com/apache/cordova-create/pull/9#issuecomment-351570287
 
 
   Merged

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Improve error message for bad templates when using cordova create --template
> ----------------------------------------------------------------------------
>
>                 Key: CB-12807
>                 URL: https://issues.apache.org/jira/browse/CB-12807
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-create
>    Affects Versions: 1.1.1
>            Reporter: Steve Gill
>            Assignee: Audrey So
>              Labels: cordova-8.0.0, triaged
>
> right now, we don't handle the error very well when you are using a invalid template during cordova create --template sometemplate. We just spew out the npm stack. It would be better if we could catch the error and provide a nicer message to our users. Something along the lines of the template is invalid. Make sure you follow the template guide when creating a template. (link to template guide). Templates now require a package.json.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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