Module build failed: TypeError [ERR_INVALID_ARG_TYPE]: The “path“ argument must be of type string.
今天在开一个新vue项目时候突然报错,原因未知,查了好久才发现是sass-loader版本过高导致的错误代码:Module build failed: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined网上的问题来源大多是react项目的报错,鲜有vue的。解决方案:重装低版本sass-loadernpm uninstall sass-loa
原创
2020-09-18 22:52:27 ·
2161 阅读 ·
5 评论