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] Error: ENOENT: no such file or directory, scandir ‘..\node_modules\node-sass\vendor‘
- [Solved] electron Package and Startup Error: Error: ENOENT: no such file or directory, open ‘xxx/manifest.json‘‘
- [Solved] Vue Error: Module build failed Error Node Sass version 6.0.1 is incompatible with ^4.0.0.
- [Solved] Vue Error: Module build failed: Error: No PostCSS Config found in
- [Solved] npm Error: Class extends value undefined is not a constructor or null
- Module build failed: Error: Couldn’t find preset “es2015” relative to directory
- [Solved] Module build failed: Error: Vue packages version mismatch
- [Solved] Vue Project Error: Module build failed: Error: Missing binding
- Vue Error: renren-fast-vue execute npm install Error [How to Solve]
- [Solved] Vue calls style loader error: Module build failed: CssSyntaxError
- [Solved] Vue3 npm ERR code ERR_SSL_DECRYPTION_FAILED_OR_BAD_RECORD_MAC
- NPM run dev runs the Vue project and reports an error: Node Sass does not yet support your current environment
- [Solved] fatal error: cuda_runtime.h: No such file or directory
- [Solved] Syntax Error: no such file or directory, open ‘F:\webProjectStudy\webProjectStudy\newStudy\24.d
- [Solved] Module build failed TypeError this.getOptions is not a function at Object.loader
- VUE: How to Solve NPM Always Install Error
- Error: Cannot find module ‘./application‘ [How to Solve]
- Node.js Error: Error: Cannot find module ‘express‘ [How to Solve]
- [Solved] Vue create Create Project Error: command failed: npm install –loglevel error
- [Vue Run Error] Module build failed: Error: Couldn‘t resolve parser “babylon“