Building component and getting "Host is not defined" when using createHttpEffect.

DrewW
Mega Sage
Mega Sage

So its been almost 4 years and now having to go back and work on a component again.  I have everything setup so it runs locally properly but when I try and get data using createHttpEffect I keep getting a "Host is not defined" error.  As far as I am aware I have "now-cli.json" setup correctly.  Its at least setup the same way it was for the other components that I did.

I'm logging in before I run the develop command.

 

So I cannot help think that something changed and I have not found what that is in the docs and there is something simple I need to do.  If anyone has any thoughts on how to fix this I would love to here them.

 

0 REPLIES 0