lucalanca / grunt-angular-architecture-graph

Generate modules dependencies graph in .dot format
MIT License
190 stars 13 forks source link

Unable to read "templates/all.def" #4

Closed ggregoire closed 9 years ago

ggregoire commented 9 years ago

Hi !

Could you help me?

I got this error:

❯ grunt angular_architecture_graph
Loading "angular_architecture_graph.js" tasks...ERROR
>> Error: Unable to read "templates/all.def" file (Error code: ENOENT).
Loading "helpers.js" tasks...ERROR
>> Error: Unable to read "templates/all.def" file (Error code: ENOENT).

I ran the original repo without issues (grunt-angular-modules-graph) but I wanted to try your fork.

My config:

angular_architecture_graph: {
    your_target: {
         files: {
              'graph.dot': [
                    'web/Angular/modules/Extraction/**/*.js'
              ]
         }
    }

}

Thank you.

lucalanca commented 9 years ago

@ggregoire Thanks for reporting this. There was an error with the path of the templates. Can you bump the version to 0.2.3 and see if it still happens?

ggregoire commented 9 years ago

It works perfectly now, thank you. :)