npm run dev 启动报Module not found: Error: Cannot resolve module ‘xxx‘ in xxxxx 最后发现在install的时候没有下载 html2canvas 类库。 手动下载依赖 npm install --save html2canvas 后项目正常运行。 项目正常运行。