I’ve got a local development installation of Discourse running on my Ubuntu machine. I’ve got the main development version up and running just fine by following the local install guide. Given the new addition of ember-cli, I’ve got that running, too, proxying to the Rails app. I’m able to fully interact with the desktop version of the app.
However, when I use Chrome’s DevTools to view the mobile version, things aren’t working. I simply get a blank page with a “200 OK” response, but absolutely no content. It’s just entirely blank.
I can see via the Rails logs that it is rendering something, but it doesn’t seem to get proxied through Ember.
Started GET "/" for <redacted> at 2022-01-31 22:51:03 +0000 Rendering layout layouts/application.html.erb Rendering categories/index.html.erb within layouts/application Rendered categories/index.html.erb within layouts/application (Duration: 2.8ms | Allocations: 925) Rendered layouts/_head.html.erb (Duration: 1.6ms | Allocations: 273) Rendered common/_discourse_stylesheet.html.erb (Duration: 3.2ms | Allocations: 609) Rendered layouts/_head_tag.html.erb (Duration: 0.2ms | Allocations: 65) Rendered application/_header.html.erb (Duration: 2.5ms | Allocations: 824) Rendered layouts/_body_tag.html.erb (Duration: 0.1ms | Allocations: 21) Rendered layout layouts/application.html.erb (Duration: 22.6ms | Allocations: 4961)
ember-cli isn’t logging anything about the request.
Presumably I’ve misconfigured something and it’s throwing an error somewhere, but I just can’t seem to figure out where or how to get the error the show. Are there any additional flags or environment variables I can set to get more verbose logging around this issue? I have tried setting
DEBUG=ember-cli:* as suggested here but this didn’t log anything about the request.
Any help around this issue would be greatly appreciated! Long time user of Discourse, thanks for developing it!