Error: missing path in request
Closed this issue · 7 comments
After default installation on macOS and trying "cat swagger.json | swagger-to-elm | elm-format --stdin" I got the following error: {"error":"Missing { path } in request"}%. Can't really find where the problem lies after debugging a bit. Could you maybe help shine some light on how to get the project to work?
It sounds like the problem is in the swagger file. Do you have a minimal working example of the swagger to reproduce the error?
Hm, I just tried and it worked... I also tried a fresh install and it worked too. Are you using the latest version of node?
Interesting, maybe that's the issue. I'm running "node --version v7.5.0" You?
Same. This is weird. Do you get the same error running just cat swagger.json | swagger-to-elm
?
Yeah. Just ran it on two machines and got the same result: "cat swagger.json | swagger-to-elm
{"error":"Missing { path } in request"}%" I'm think i'm missing something, not sure what yet..
This issue was solved by uninstalling the default elm-stdio and installing the authors elm-stdio (ahultgren/node-elm-stdio) instead.