candy-api icon indicating copy to clipboard operation
candy-api copied to clipboard

On installation, received error "InvalidArgumentException: Route [hub.login] not defined."

Open mwumvax opened this issue 8 years ago • 1 comments

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...

screenshot from 2018-05-08 18-44-33

Possible Solution

Exception could be handled better.

Steps to Reproduce

https://github.com/getcandy/candy-api/blob/master/README.md

mwumvax avatar May 08 '18 16:05 mwumvax

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.

alecritson avatar May 18 '18 08:05 alecritson