[
https://issues.apache.org/jira/browse/CB-12807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16291670#comment-16291670
]
ASF subversion and git services commented on CB-12807:
------------------------------------------------------
Commit cf633c2ee7ef46ee28d5baa4a53e71f84d9c894b in cordova-create's branch
refs/heads/1.1.x from [~auso]
[ https://gitbox.apache.org/repos/asf?p=cordova-create.git;h=cf633c2 ]
CB-12807 : updated error message to follow the template guide
> 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: [email protected]
For additional commands, e-mail: [email protected]