Are you running on windows? I have seen a package work fine on Linux, but generate similar errors on windows. Could be due to GIT changing the CR to CRLF when checking out on Windows.
git config --global core.autocrlf false being set before cloning will prevent the change.
Information from here spacemacs issue