candy-api
candy-api copied to clipboard
On installation, received error "InvalidArgumentException: Route [hub.login] not defined."
There must be a better way to handle this exception.
Expected Behavior
Maybe a simple "You did not install candy-hub" error message.
Current Behavior
During installation I get this error message towards the end...

Possible Solution
Exception could be handled better.
Steps to Reproduce
https://github.com/getcandy/candy-api/blob/master/README.md
Hey @fordarnold
Yup, this was a hangover of migrating to a package set up, when using the Hub and the store front there was some route collision, this will be resolved in the next update.
For now, if you don't need customer logins you can remove the login routes from the candy store repo (assuming that's what you're using) and hopefully it'll open it up.