不知道是什么原因:
我参照自己的文章:
https://blog.csdn.net/qq_22182989/article/details/93165378
重新执行了以下命令就可以成功搭建了:
cnpm i vue-cli -g cnpm install -g webpack vue init webpack Demo