报错日志:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
问题原因:一般是因为"react-scripts"版本问题导致
解决方案:
1、删除 node_modules 依赖包
2、重新安装依赖 npm install 或者 yarn
3、重新启动项目
报错日志:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
问题原因:一般是因为"react-scripts"版本问题导致
解决方案:
1、删除 node_modules 依赖包
2、重新安装依赖 npm install 或者 yarn
3、重新启动项目