vue安装scss时报The “path“ argument must be of type string. Received undefined

在安装vue安装scss时报The “path” argument must be of type string. Received undefined
vue安装scss时报The “path“ argument must be of type string. Received undefined_第1张图片
解决方式:
这个错误是sass-loader 版本造成的,此时的版本是 “sass-loader”:"^10.0.1",修改版本为 “sass-loader”: “^7.3.1”,重新使用命令安装npm i sass-loader@7 --D即可

你可能感兴趣的:(前端)