The following error was reported for the VUE project
Module build failed: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at validateString (internal/validators.js:121:11)
at Object.join (path.js:375:7)
at getSassOptions (D:\VueProj\test\node_modules\sass-loader\dist\utils.js:160:37)
at Object.loader (D:\VueProj\test\node_modules\sass-loader\dist\index.js:36:49)
sass-loader version is too high cause, reinstall the lower version of sass-loader.
npm uninstall sass-loader
npm install --save-dev [email protected]
Read More:
- After introducing sass into Vue project, start to report error typeerror [err]_ INVALID_ ARG_ Type]: the “path” argument must be of type string
- Webpack error module build failed: typeerror: fileSystem.statSync is not a function
- Vue — report error with less module build failed: typeerror: loaderContext.getResolve is not a function
- Module build failed: error: cannot find module ‘node sass’ error
- Module build failed: Error: ENOENT: no such file or directory, scandir,‘node_modules\node-sass\vend’
- Module build failed: Error: Node Sass version 6.0.0 is incompatible with ^4.0.0.
- Schema validation failed with the following errors: data path “. Budgets [1]. Type” should be
- Typeerror: write() argument must be STR, not bytes and the method of writing binary file in Python 3
- Typeerror: write() argument must be STR, not bytes and the method of writing binary file in Python 3
- Module parse failed:Unexpectedtoken (1:0)You may need an appropriate loader to handle this file type
- Module build failed: SyntaxError: Unexpected token
- build.gradle Warming: cannot be applied to ‘(groovy.lang.Closure)’/'(java.lang.String)’
- Failed to convert value of type ‘java.lang.String‘ to required type ‘java.util.Date‘;
- Module build failed (from ./node_modules/postcss-loader/src/index.js):
- TypeError: Required argument ‘mat‘ (pos 2) not found
- Module build failed: Error: Node Sass does not yet support your current environment: Windows 64-bit
- TypeError: __array__() takes 1 positional argument but 2 were given
- TypeError: drop() got an unexpected keyword argument ‘columns’
- Uncaught TypeError: Failed to execute ‘removeChild’ on ‘Node’: parameter 1 is not of type ‘Node’.
- cpickle.picklingerror can’t pickle type ‘module’ attribute lookup __builtin__.module failed