在window系统下会发生这个错误,touch 是Linux系统的命令。 window系统下,使用echo test来代替,具体使用方法如下: 如果要创建index.vue,则输入:echo test>index.vue