There are no a priori obstacles to the scientific knowledge of the mind, but the scientific knowledge of the mind is not all the knowledge of the mind that there is. This is not an objection to science, it is just a distinction between different kinds of knowledge.
Tim Crane