Let $E$ a vector space of infinite dimension and let $(e_i)_{i\mathbb N}$ a basis. How is interpreted $$\sum_{i\in\mathbb N}x_ie_i \ \ ?$$
Suppose now that $E$ is a Banach space with norm $\|\cdot \|$. I suppose that $$\sum_{i\in\mathbb N}x_ie_i=\lim_{n\to \infty }\sum_{i=1}^n x_ie_i,$$ in the $\|\cdot \|$ sense, i.e. $$\forall \varepsilon>0, \exists N: \forall n\in \mathbb N, n\geq N\implies \left\|\sum_{i\in\mathbb N}x_ie_i-\sum_{i=1}^nx_ie_i\right\|<\varepsilon.$$
But since $E$ is a vector space, $\sum_{i\in\mathbb N}x_ie_i\in E$ and thus exist (by definition of a vector space), but I guess it could happen that $$\lim_{n\to \infty }\sum_{i=1}^n x_ie_i$$ doesn't exist or is infinite, does it ? So how can we manage this case ?
Answer for the case of normed linear spaces: if you are defining 'basis' the way you do in finite dimensional spaces (the so called Hamel basis) then you can form inifinite sums (in the case of normed linear space) only when you know that the series converges. There are examples where every element has unique expansion as a convergent inifinite sum in terms of a sequence $\{e_n\}$. For infinite dimensional spaces there are various types of bases: orthogonal bases, Schauder bases etc. In the case where the vector space has no norm/metric/topology you can only form finite sums.