0

如果我这样评论我的文件,标题几乎总结了它:

    /**
     * @ngdoc method
     * @name processData.getProcessCategories
     * @module bpui
     *
     * @description Gets the processes from the API
     * @returns {HttpPromise} 
     */

我收到以下错误:

Error: Failed to render - doc "method:processData.getProcessCategories" (method)  - from file "../app/services/process.data.js" - starting at line 33,
 ending at line 40

Original Error:

Error: No template found./nThe following template patterns were tried:
  ""
  "api/method:processData.getProcessCategories.method.template.html"
  "api/method:processData.getProcessCategories.template.html"
  "api/method.template.html"
  "method:processData.getProcessCategories.method.template.html"
  "method:processData.getProcessCategories.template.html"
  "method.template.html"
  ""

查看存储模板的文件夹时,我看不到它。我刚刚安装了 dgeni 和 degeni-packages。如有必要,我可以粘贴我的 conf 文件。我没有通过 grunt/gulp 运行,而是通过命令行运行它。

4

1 回答 1

0

所以问题是@name应该是这样的:processData#getProcessCategories

文档没有直接指定。

于 2015-08-27T11:54:56.420 回答