In this paper we consider a class of nonlinear BVP involving fractional derivative in the $\psi$-Riemann-Liouville sense with nonlocal boundary conditions. By means of some properties of the Green's function and fixed point theorems due to Banach, Boyd-Wong, and Rus, existence of a unique solution is obtained. We have some examples that prove the theory is true.