错误提示:
"/src/reportWebVitals.js Module not found: Can't resolve 'web-vitals' in
'E:\ReactResources\RectProjects\test-app\src'"
原因:
- 无法编译 -/src/reportWebVitals.js 找不到模块:无法解析“web-vitals”。
解决办法:
- 需要安装 Web Vitals。打开终端并运行以下命令:
npm i web-vitals --save-dev