Deploy failed with Exit code 2, Command failed exit code 1

Are you using the name version of Node and Vue in Netlify build system as locally?

If you don’t know the answer is almost certainly, “no”.