问题产生原因: node 包问题; 解决方案:(二选一皆可) 1、使用CMD(windows系统)命令窗口去进行项目初始化; yarn init一路 enter即可; 2、使用npm init 初始化项目; // 使用npm初始化项目 npm init