Why isn't $nxe^{-nx}$ uniformly convergent for $x \geq 0$?
The definition of uniform convergence states that $f_n$ is uniformly convergent if $$\lim_{n\to\infty} ||f_n-f|| = 0.$$
I apply the definition with $f = 0$ and get $$\lim_{n\to\infty}||\frac{nx}{e^{nx}} - 0 || = 0,$$ since $e^{nx}$ grows much faster than $nx$ regardless of $x$ (except when $x = 0$, but if that's the case everything is $0$).
Where am I wrong?
Note that$$(\forall n\in\mathbb{N}):f_n\left(\frac1n\right)=\frac1e.$$Therefore, your sequence does not converge uniformly to the null function (although it does converge pointwise).