I’ve deleted a custom component from my app. Now, the UI Builder preview shows an error:
FileError: 'https://eu-develop.backendless.com/5BDF0E64-9F03-6F8E-FF75-0E183AF61100/console/prjkjedwhycvndfemgohncygnxaactgmojnt/files/view/ui-builder/containers/default/components/custom/c_69ed4f9fa7282209ccd3c228405a701b/styles/index.less' wasn't found (400)
in styles.less on line 6, column 1:
5@import "./components/custom/c_548b889a740fd423fdf3a3a2e5ca1f71/styles/index.less";
6@import "./components/custom/c_69ed4f9fa7282209ccd3c228405a701b/styles/index.less";
Obviously, the custom component reference was not removed from that file. Could you please fix this?
My AppId: 5BDF0E64-9F03-6F8E-FF75-0E183AF61100
Regards,
Hello @Klaas_Klever
Is it ok now?
I found this line, but after “preview” it was fixed. Or was it you?
Could you please tell us how you removed the component in order to understand the issue?
Regards
Hi
I didn’t fixed anything. The error in style.less
is gone. But preview is still not working.
What I did:
- On the screen “COMPONENTS”, I removed a component via its trash can
- The system nicely gave me a warning “are you really sure”, etc. and told me that the component is used on one page and that it will be removed from this page.
The error in style.less
is gone now (without my intervention)
However, the system cannot render the page “landing”. In UI Builder, this page shows a message “There is no custom component with id: …”. The page preview isn’t working.
Can not render page due to error: "Bad Request"
Error: Bad Request
at https://uniqueidea.backendless.app/api/files/ui-builder/library/sdk/sdk.js:14:560608
In UI Builder, this page shows a message “There is no custom component with id: …”
This is all that’s left of the component you removed. I think you can remove this block
Did it and it worked. The promise was that this will be removed automatically …
Regards