We all know that $$W = \int_a^b \vec {F} . \vec {ds}$$
We all know that Frictional force = $μN$. Now, finding work done by frictional force(when a body with normal reaction N is moving on surface : $$W = -μN\int_a^b \vec {ds} $$ Now, $\int_a^b \vec {ds} =$ displacement from a to b, which implies that for closed path it is zero and Work done by frictional force is zero and this also implies that it is conservative force.
How is this possible since it is non - conservative force?