After introducing sass into Vue project, start to report error typeerror [err]_ INVALID_ ARG_ Type]: the “path” argument must be of type string

 
Vue file using lang=” SCSS “,
The solution: be sure to install sass-loader and node-sass
TypeError [ERR_INVALID_ARG_TYPE]: The “path” argument must be of type string.
 
Json: “node-sass”: “^4.11.1”, “sass-loader”: “^7.3.0
Delete the node_modules folder and re-execute NPM install. Perfect solution

Read More: