cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Audrey So (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CB-12807) Improve error message for bad templates when using cordova create --template
Date Thu, 14 Dec 2017 00:35:00 GMT

     [ https://issues.apache.org/jira/browse/CB-12807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Audrey So closed CB-12807.
--------------------------
    Resolution: Fixed

> 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


Mime
View raw message