Forums

index.js difficulty loading

I'm trying to figure out how to get Twilio chat to work on my site, but the index.js won't load for some reason. The interface is visible at username.pythonanywhere.com/chat but it doesn't load. Any suggestions?

Make sure that you're actually serving it. Check your browser developer tools to see why it's not loading.

As far as I can tell they're in place when I inspect them. Is there a different way to check that they are being loaded correctly?

I thought you said they were not loading. What do you mean by in place?

It looks like this minus the "logging in..."

Twilio

I took a look at your site, but it looks like it's generating errors (missing code, it looks like) at the moment. If you fix that and then let us know, perhaps we can check it out in more detail.