Universal covering space for non-semilocally simply connected spaces
My answer to this question gives an example of a locally path connected (but non-semilocally simply connected) space $HA\subset\mathbb{R}^3$ called the Harmonic archipelago: draw the Hawaiian earring on a disk and between each hoop push the surface straight up to make a hill of height 1.
The fundamental group is uncountable but the only covering of $HA$ is itself so it is the unique object in its category of coverings. This weird covering behavior happens because you can deform any loop as close as you want to the basepoint (over finitely many hills) but cannot actually contract it all the way to the basepoint because the homotopy would have to take the loop over infinitely many of hills (contradicting compactness).
Topologies on the fundamental group detect this behavior. For instance the quotient topology from the loop space (the quasitopological fundamental group, $\pi_{1}^{qtop}(X)$) satisfies: If $p:Y\to X$ is a covering map, then $p_{\ast}:\pi_{1}^{qtop}(X)\to \pi_{1}^{qtop}(Y)$ is an open embedding of quasitopological groups. So if $\pi_{1}^{qtop}(X)$ is an indiscrete group there are no proper open subgroups so the only covering of $X$ is itself.
This works for all spaces including non-locally path connected ones. Really, I'd say it is easier to produce non-locally path connected examples. Here is a compact space $X$ with $\pi_{1}^{qtop}(X)\cong \mathbb{Z}_n$ indiscrete.
Let $T\subset \mathbb{R}^2$ be the closed topologists sine curve, $a\in T$ be the endpoint in the open path component and $b$ be a point in the other path component - say the origin. Now let $$Y=\frac{T\times S^1}{T\times \{1\}\cup \{a\}\times S^1}$$
In other words, if $a$ is the basepoint of $T$, $Y$ is the reduced suspension $\Sigma T$.
You have $\pi_1(Y)\cong \mathbb{Z}$ where the loop $L:S^1\to Y$, $t\mapsto (b,t)$ represents a generator, but every neighborhood of $L$ contains a trivial loop so the quotient topology on $\pi_1(Y)$ is the indiscrete topology. If you attach a 2-cell to $Y$ using $L^n$ as an attaching map, you get a space $X$ where $\pi_{1}^{qtop}(X)\cong \mathbb{Z}_n$ is indiscrete. Both $Y$ and $X$ spaces have no nontrivial coverings.
Constructing locally path connected examples with countable indiscrete fundamental groups is much harder. In fact, I think it is an open question whether or not there exists a Peano continuum with finite, indiscrete fundamental group. For such spaces it is more efficient to talking about coverings via the "shape topology" and Spanier groups (the last section of this paper shows the shape topology consists precisely of the data of the category of coverings). Applied to your question: locally path connected $X$ has a categorical universal covering iff there is a minimal open subgroup in $\pi_1(X)$ with the shape topology. If the minimal open subgroup is the trivial subgroup you get back a classical universal covering and a discrete group.
let $X$=Hawaiian earring, consider $CX$ be the cone with base X. Now take two copies of this space named as $CZ$ and $CY$ and $z$ be the point where all circles of $Z$ are tangent similarly for $y$. Now consider $K= CZ \wedge CY$ (wedge sum of two spaces identifying the point $z$ with $y$). Now $K$ is connected and observe that both $CZ$ and $CY$ are contractable, but $\pi_1(K)$ is not trivial. For example, a closed path oscillating back to forth from $Y$ to $Z$ around the decreasing circles is not null homotopic. A good reference for this is J.W.Cannon and G.R. Conner's paper- "The combinational structure of the hawaiian earing group."
Consider the inclusion map from $CZ$ or $CY$ to $K$. For any covering space $\tilde{K}$ of $K$, there exists a lift $CZ$ or $CY$ to $\tilde{K}$ by map lifting theorem. It follows that any connected covering space of $K$ is homeomorphic to $K$, and so $K$ is its own universal cover. However, as mentioned above $\pi_1(K)$ is not trivial.
You probably mean to assume that $X$ is connected, and to allow only covering spaces $E\to X$ such that $E$ is connected.
The connected covering spaces of $X$ are the objects of a category, where a morphism from $E\to X$ to $E'\to X$ means a continuous map $E\to E'$ that respects the projection to $X$. In general such a map $E\to E'$ is not itself a covering space, although this is true in the good case, i.e. when $X$ is connected and locally path-connected and semi-locally simply connected.
In the good case, that category of connected covering spaces is equivalent to the category of sets with transitive action of $G=\pi_1(X,x)$. Note that the universal covering space is not initial; it corresponds to a set with a free transitive $G$-action; it has a map to every object, but not a unique one.
Certainly there are non-slsc examples in which the category of connected covering spaces has a "universal"object. For example, the "topologist's sine curve", which is connected but not path-connected, has no covering spaces except the one-sheeted one.