Problem: evaluate $S = 1 - 1 + 1 - 1 + 1-\cdots$
$1 = \lim_{t \rightarrow 1^{-}} t^n$ for any positive integer $n$. Here $t \rightarrow 1^{-}$ means $t \rightarrow 1$ and $t<1$.
$$S = \lim_{t \rightarrow 1^{-} } 1 - \lim_{t \rightarrow 1^{-} } t + \lim_{t \rightarrow 1^{-} } t^2 - \lim_{t \rightarrow 1^{-} } t^3 + \cdots = \lim_{t \rightarrow 1^{-}} (1-t+t^2-t^3 + t^4 - t^5 +\cdots ) = \lim_{t \rightarrow 1^{-}} \frac{1}{1+t} = \frac{1}{2}$$
What's wrong with this reasoning? It seems like the limit exists for $1 = \lim_{t \rightarrow 1^{-}} t^n$, so every step seems to follow?
The first time I ever saw a definition of limit of an infinite series, it said $$ \sum_{n=1}^\infty a_n = \lim_{N\to\infty} \sum_{n=1}^N a_n. $$ If it's defined that way, then $\sum_{n=1}^\infty (-1)^{n+1}$ does not exist, because the limit of the sequence of finite partial sums does not exist.
Another definition is \begin{align} & \sum_{n=1}^\infty a_n = \sum_{n\,:\,a_n\,\ge\,0} a_n + \sum_{n\,:\,a_n\,<\,0} a_n \\[10pt] = {} & \sup\left\{ \sum_{n\,\in\,A} a_n : A\text{ is a finite subset of } \{n:a_n\ge0\} \right\} \\[6pt] & {} - \sup\left\{ \sum_{n\,\in\,A} (-a_n) : A \text{ is a finite subset of } \{n:a_n<0\} \right\}. \end{align} This one makes sense only in the case where the sums of the positive and negative terms are not both infinite. In the case you consider, they are both infinite.
Thus the sum of the infinite series you are considering does not exist in either of those two senses.
One lesson to be drawn is that this example shows that $\left(\lim_t\sum_n\cdots\right)$ is not always the same as $\left(\sum_n\lim_t\cdots\right).$
When are they the same?
If $\displaystyle \sum_n \sup_t|a_n(t)| <+\infty$ then they are the same. And there are other special cases in which they are the same. Your example shows that they are not always the same.