The AI went crazy and created broken components that I have no clue how to delete. These “coded components” do not appear in my library and are not being used in my project. However, I’m suspecting these are the culprits for my project not deploying.
How can I delete these broken components? I’ve tried going to the “Component Editor” and deleting files and then committing to the changes with the “Create version” button but it throws an error every time.
Log:
Installing dependencies… (19.76s)
Building project… ERROR Failed to compile with 50 errors9:40:30 PM error in public/js/index.ace26557.js
Hello, I also have found the deployment to be somewhat hit and miss.
I have very little custom code in my project and “sometimes” I deploy it seems to timeout. Once it failed to deploy but if you refresh the project it will tell you.
I found to press deploy again did go through in most cases and took less than a minute in my case (not a big project)
Hi, thank you for your response. Tried deploying multiple times but seems the problem is the AI created some broken components I can’t delete. Looked everywhere and it always throws an error.
Hi, yes I am very careful to not allow AI to do much (if I use it, I only let it change a small thing inside a container etc). I also am veering away from the AI at the moment as it can wreak havoc on a page if you let it..
I’ve solved the compilation error by asking the AI to create the simplest component it can (a component that can be compiled, literally just a box). I’ve then copied and pasted all code from this component to my other custom components made by the AI. I’ve ensured all components now compile. However, I still can’t seem to figure out how to delete the useless AI components. Guess I’m just stuck with this code until Weweb decides to add a delete button for the custom components.
Hi, How can you tell if its a custom component and where can you copy that specific code? AI is making a range of things and I do also wish it to not step off the reservation with any changes.