تعطل التطبيق بسبب استيراد غير صالح

Hi,

I have added a handlebar helper function in my code. Please find the code.

import registerUnbound from ‘discourse/helpers/register-unbound’;

registerUnbound(‘color-shade’, function() {
return ‘this is sample helper class’
});

I am getting an error due to invalid imports, and it is crashing the entire application and admin page also not working.

Please suggest me how can I remove this code / theme from my application in order to get rid of this error.

Thanks
Kumar

إعجاب واحد (1)

Depending where you added the code, can you disable the theme or plugin using safe mode?

[YourSite]/safe-mode

3 إعجابات

Thanks, It is working now.

إعجاب واحد (1)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.