dvdciri / daggraph

Dagger dependency graph generator for Android Developers
MIT License
1.15k stars 58 forks source link

TypeError: Path must be a string. Received undefined #40

Closed eric-grab closed 6 years ago

eric-grab commented 6 years ago

Description

I ran daggraph in my Android project root folder and got:

? What kind of chart do you want to generate? Bubble chart
TypeError: Path must be a string. Received undefined
    at assertPath (path.js:28:11)
    at Object.join (path.js:1239:7)
    at createFileAndSave (/usr/local/lib/node_modules/daggraph/src/router.js:136:28)
    at fileDataPromise.then (/usr/local/lib/node_modules/daggraph/src/router.js:64:42)
    at <anonymous>

Steps to reproduce

Execute daggraph Select a chart type

Expected behaviour

See the chart

Screenshot

tharoldD commented 6 years ago

probably a duplicate of #39, got this issue too after upgrade to version 0.3.0. what version of daggraph are you running?

dvdciri commented 6 years ago

Thanks for reporting this. It's definitely a bug and i've opened a PR to fix this. #41 Closing as duplicate