What is an example of space not having the homotopy type of a CW-complex? Is there any general method that can prove that the given space does not have the homotopy type of a CW-complex?
(added) It would be more interesting if one can suggest a connected example.
The cantor set is one.
It is s compact space with infinitely many connected components, and compact CW spaces can only have finitely many.