vue错误解决方案
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vue错误解决方案相关的知识,希望对你有一定的参考价值。
参考技术A nstall\node-gyp-bin\\node-gyp.js" rebuild --release 在此解决方案中一次生成一个项目。若要启用并行生成,请添加“/m”开关。cnpm install -g node-gyp
odule build failed (from ./node_modules/_sass-loader@8.0.2@sass-loader/dist/cjs.js):
Error: ENOENT: no such file or directory, scandir 'F:\nl-nai\naiweb1\paas\node_modules\_node-sass@4.13.1@node-sass\vendor'
at Object.readdirSync (fs.js:854:3)
at Object.getInstalledBinaries (F:\nl-nai\naiweb1\paas\node_modules\_node-sass@4.13.1@node-sass\lib\extensions.js:132:13)
at foundBinariesList (F:\nl-nai\naiweb1\paas\node_modules\_node-sass@4.13.1@node-sass\lib\errors.js:20:15)
at foundBinaries (F:\nl-nai\naiweb1\paas\node_modules\_node-sass@4.13.1@node-sass\lib\errors.js:15:5)
at Object.module.exports.missingBinary (F:\nl-nai\naiweb1\paas\node_modules\_node-sass@4.13.1@node-sass\lib\errors.js:45:5)
at module.exports (F:\nl-nai\naiweb1\paas\node_modules\_node-sass@4.13.1@node-sass\lib\binding.js:15:30)
at Object.<anonymous> (F:\nl-nai\naiweb1\paas\node_modules\_node-sass@4.13.1@node-sass\lib\index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:955:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
at Module.load (internal/modules/cjs/loader.js:811:32)
at Function.Module._load (internal/modules/cjs/loader.js:723:14)
at Module.require (internal/modules/cjs/loader.js:848:19)
at require (internal/modules/cjs/helpers.js:74:18)
at getDefaultSassImplementation (F:\nl-nai\naiweb1\paas\node_modules\_sass-loader@8.0.2@sass-loader\dist\getDefaultSassImplementation.js:24:10)
at getSassImplementation (F:\nl-nai\naiweb1\paas\node_modules\_sass-loader@8.0.2@sass-loader\dist\getSassImplementation.js:19:72)
at Object.loader (F:\nl-nai\naiweb1\paas\node_modules\_sass-loader@8.0.2@sass-loader\dist\index.js:40:61)
@ ./src/page/nai/modelMgr/Model_container_select.vue?vue&type=style&index=0&id=bd5b9ca0&lang=scss&scoped=true& (./node_modules/_vue-style-loader@4.1.2@vue-style-loader!./node_modules/_css-loader@1.0.1@css-loader??ref--10-1!./node_modules/_vue-loader@15.8.3@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_sass-loader@8.0.2@sass-loader/dist/cjs.js??ref--10-2!./node_modules/_vue-loader@15.8.3@vue-loader/lib??vue-loader-options!./src/page/nai/modelMgr/Model_container_select.vue?vue&type=style&index=0&id=bd5b9ca0&lang=scss&scoped=true&) 4:14-440 14:3-18:5 15:22-448
解决方案:再控制台执行下边命令
ncpm rebuild node-sass
以上是关于vue错误解决方案的主要内容,如果未能解决你的问题,请参考以下文章