My warehouses are full and I've been trying to scrap my resources for about half an hour now but no matter what I do they won't be scrapped and it's really frustrating because now I can't build ships. Is this a bug?

I came across same problem what I did is increased the amount of components go into the warehouse and decreased resources dont go in I then built a bunch more warehouses went to factory and clicked all components and sent them to the warehouse