简体   繁体   English

MSbuild:错误MSB6006:使用代码1退出了“ VCBuild.exe”

[英]MSbuild : error MSB6006: “VCBuild.exe” exited with code 1

I was trying to locally install npm for one of my Github projects. 我试图在本地为我的Github项目安装npm。 I came across this error? 我碰到这个错误? Has anyone got a solution? 有没有人解决?

Also Because of that, Im getting this error too. 也正因为如此,我也收到此错误。

2784 verbose stack Error: node-sass@3.13.1 postinstall: node scripts/build.js 2784 verbose stack Exit status 1 2784 verbose stack at EventEmitter. 2784详细堆栈错误:node-sass@3.13.1安装后:node scripts / build.js 2784详细堆栈退出状态1 EventEmitter上的2784详细堆栈。 (C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\npm-lifecycle\\index.js:280:16) 2784 verbose stack at EventEmitter.emit (events.js:159:13) 2784 verbose stack at ChildProcess. (C:\\ Program Files \\ nodejs \\ node_modules \\ npm \\ node_modules \\ npm-lifecycle \\ index.js:280:16)EventEmitter.emit的2784详细堆栈(events.js:159:13)ChildProcess的2784详细堆栈。 (C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\npm-lifecycle\\lib\\spawn.js:55:14) 2784 verbose stack at ChildProcess.emit (events.js:159:13) 2784 verbose stack at maybeClose (internal/child_process.js:943:16) 2784 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5) 2785 verbose pkgid node-sass@3.13.1 2786 verbose cwd D:\\move-rewards-flows-master 2787 verbose Windows_NT 6.1.7601 2788 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" 2789 verbose node v9.2.0 2790 verbose npm v5.5.1 2791 error code ELIFECYCLE 2792 error errno 1 2793 error node-sass@3.13.1 postinstall: node scripts/build.js 2793 error Exit status 1 2794 error Failed at the node-sass@3.13.1 postinstall script. (C:\\ Program Files \\ nodejs \\ node_modules \\ npm \\ node_modules \\ npm-lifecycle \\ lib \\ spawn.js:55:14)ChildProcess.emit上的2784详细堆栈(events.js:159:13)maycloseClose的2784详细堆栈(internal / child_process.js:943:16)Process.ChildProcess._handle.onexit处的2784详细堆栈(internal / child_process.js:220:5)2785详细的pkgid node-sass@3.13.1 2786详细的cwd D:\\ move -rewards-flows-master 2787详细Windows_NT 6.1.7601 2788详细argv“ C:\\ Program Files \\ nodejs \\ node.exe”“ C:\\ Program Files \\ nodejs \\ node_modules \\ npm \\ bin \\ npm-cli.js”“安装” 2789详细节点v9.2.0 2790详细npm v5.5.1 2791错误代码ELIFECYCLE 2792错误errno 1 2793错误node-sass@3.13.1安装后:节点脚本/build.js 2793错误退出状态1 2794错误节点失败-sass@3.13.1安装后脚本。 2794 error This is probably not a problem with npm. 2794错误这可能不是npm的问题。 There is likely additional logging output above. 上面可能还有其他日志记录输出。 2795 verbose exit [ 1, true ] 2795详细出口[1,正确]

I just fixed my issue. 我刚刚解决了我的问题。

I had upgraded my node from 6 to 8 (stable). 我已将节点从6升级到8(稳定)。 And my current project was not compiling. 而且我当前的项目尚未编译。 I remove my node module folders and use "npm install" to install them again. 我删除了节点模块文件夹,然后使用“ npm install”再次安装它们。 在此处输入图片说明

I know you have downloaded the project from github. 我知道您已经从github下载了该项目。 Might be the issue with node-sass version. node-sass版本可能是问题。 Your version seems lower and might not be compatible with latest version of nodejs. 您的版本似乎较低,并且可能与最新版本的nodejs不兼容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 node.js模块安装版本Microsoft.Cpp.x 64.Targets(146,5):错误MSB6006:“ CL.exe - node.js module installation release Microsoft.Cpp.x 64.Targets(146,5): error MSB6006: "CL.exe 流星=&gt;退出并返回代码:8错误 - Meteor => Exited with code: 8 Error 流星:“ =&gt;退出,代码:8”错误 - Meteor: “=> Exited with code: 8” error 继续以代码 1 退出“tsc.exe” - Keep getting “tsc.exe” exited with code 1 无法安装降级 npm package,节点 gyp 错误 MSBuild.exe 失败,退出代码:1 - Unable to install leveldown npm package, node-gyp error MSBuild.exe failed with exit code: 1 sox 已退出,错误代码为 1 in node.js - sox has exited with error code 1 in node js 使用get set“退出代码1”编译TypeScript错误代码 - Compiling TypeScript error code with get set “exited with code 1” 如何修复量角器中的错误“进程退出,错误代码为 1”? - How to fix error "Process exited with error code 1" in protractor? 由于UnhandledPromiseRejectionWarning,无法打开localhost:错误:退出代码3 - Unable to open localhost due to UnhandledPromiseRejectionWarning: Error: Exited with code 3 Firebase 错误:进程以代码 16 退出进程。<anonymous></anonymous> - Firebase Error: Process exited with code 16 at process.<anonymous>
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM