A bug in the Theme Admin interface causes a blank page and console error Error: ember-computed-decorators does not support using getters and setters when creating a new theme component. merefield reproduced the issue on multiple machines and identified the problematic line in the code. David confirmed the issue and provided a fix in a commit, which was deployed. albjeremias asked for a workaround, and David clarified that the fix is live, but users who updated during the outage need to update again. merefield thanked David for the quick resolution.
I’ve managed to reproduce this on two entirely different machines and dev installs.
Steps to reproduce:
1.Start Discourse locally with: EMBER_ENV=production bin/ember-cli -u (though Ember ENV doesn’t seem to change things here)
2. Ensure there are no third party plugins or Theme Components installed.
3. Navigate to Admin → Customize → Theme
4. Create New Theme Component
5. Attempt to add some CSS
6. This results in blank page and this error in the console:
Error: ember-computed-decorators does not support using getters and setters
thanks @David … I was in the process of creating a PR, but appreciate the rapid response, you’ve saved me lots of time: it would have certainly taken me longer!