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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 08:54 AM
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