I am using windows 7 and nodejs 13. I meet the same issue. I have tried restart my pc, add flags etc. nothing works. Finally I solve it using yarn.
- Install the yarn using npm: npm install –global yarn
- Install the vue cli using yarn: yarn global add @vue/cli
- Configure the system path that vue cli installed. yarn doesnt install vue cli in the directory as npm
CLICK HERE to find out more related problems solutions.