Richard Umoffia

Results 14 comments of Richard Umoffia

@humbertowoody have you tried setting the `data` type to `simple-json`? that seems to work for me

I'm having this exact issue when attempting to deploy to Azure app services. Any luck with this?

Apologies for the issues you've faced. I cloned the project and fixed the issue. You can simply clone the repository and everything should be working smoothly

I think the issue here is that there was a non-JSON response from the server and we tried to convert it to JSON anyway. You can find the issue in...

The `req.json()` line doesn't do much because you do nothing with the response from the server. Maybe you can provide a screenshot of the response from the server; this would...

This is good but can I see the network panel for the request made to the server. Or rather, you can log your response to the console. It seems there's...

Did you create a `.env` file in the base folder of your project? If yes, did you add the following values to the file: ``` PUSHER_APP_ID= PUSHER_KEY= PUSHER_SECRET= PUSHER_CLUSTER= ```

The error above is showing that the pusher key being loaded to is not a string, so maybe you can try logging the keys to console before using them. Just...

Okay, I think the easiest way to solve this is for me to see your current setup, do you have an active repository for this demo I can go through?...

Might be far fetched but please look at your `.env` file and ensure it is similar to the snippet below: ``` PUSHER_ID=app-id PUSHER_KEY=app-key PUSHER_SECRET=app-secret PUSHER_CLUSTER=cluster ```