The error information is as follows:
Module build failed: Error: ENOENT: no such file or directory, scandir 'D:\renren-fast-vue\node_modules\node-sass\vendor'
at Object.fs.readdirSync (fs.js:904:18)
at Object.getInstalledBinaries (D:\renren-fast-vue\node_modules\node-sass\lib\extensions.js:132:13)
at foundBinariesList (D:\renren-fast-vue\node_modules\node-sass\lib\errors.js:20:15)
at foundBinaries (D:\renren-fast-vue\node_modules\node-sass\lib\errors.js:15:5)
at Object.<anonymous> (D:\renren-fast-vue\node_modules\node-sass\lib\index.js:14:35)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (D:\renren-fast-vue\node_modules\sass-loader\lib\loader.js:3:14)
at Module._compile (module.js:653:30)
The solution is as follows:
Re execute NPM rebuild node-sass
Finally, the solution is started successfully:
Read More:
- [Solved] npm Error: Class extends value undefined is not a constructor or null
- Node.js Error: Error: Cannot find module ‘express‘ [How to Solve]
- Error: Cannot find module ‘./application‘ [How to Solve]
- [Solved] Vue Error: Module build failed Error Node Sass version 6.0.1 is incompatible with ^4.0.0.
- [Solved] Node sass version 7.0.0 is incompatible with ^ 4.0.0 | ^ 5.0.0 | ^ 6.0.0
- [Solved] Error: ENOENT: no such file or directory, scandir ‘..\node_modules\node-sass\vendor‘
- Vue installs sass loader directly, and node sass reports an error
- Vue Use scss Error: this.getOptions is not a function [How to Solve]
- [Solved] Syntax Error: TypeError: this.getOptions is not a function
- [Solved] Syntax Error: TypeError: this.getOptions is not a function
- [Solved] ERROR Error: Cannot find module ‘vue-loader-v16/package.json‘
- [Solved] Syntax Error: Error: Loading PostCSS Plugin failed: Cannot find module ‘autoprefixer‘
- NPM run dev runs the Vue project and reports an error: Node Sass does not yet support your current environment
- Vue Error: renren-fast-vue execute npm install Error [How to Solve]
- How to Solve Vue cli configuration SCSS global variable error
- [Solved] This.getoptions is not a function when installing sass loader and less loader
- [Solved] scss Error: TypeError: this.getOptions is not a function
- [Solved] Error: Can‘t find Python executable “python“, you can set the PYTHON env variable.
- [Solved] Vue Project Error: Syntax Error: TypeError: this.getOptions is not a function
- React project is packaged and set as required Error [How to Solve]