Blank page and error in Theme Admin

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

https://github.com/discourse/discourse/commit/a433b30650d125e6685fb13f679f613003f246aa

@David if I check out just before this, everything is fine …

4개의 좋아요

Think I’ve found the offending line:

3개의 좋아요

Thanks @merefield - should be fixed by

https://github.com/discourse/discourse/commit/ad0fd9919b7431ebcee2361647cd9955f7705f91

4개의 좋아요

any workaround for now? :roll_eyes:

The fix is live now. If you updated your site during the hours when it was broken, you’ll need to run another update now to get things working again.

3개의 좋아요

yep. i did it one hour ago.. :relieved: didn’t known it worked like this. thanks.

2개의 좋아요

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! :sweat_smile:

2개의 좋아요

This topic was automatically closed after 3 days. New replies are no longer allowed.