[英]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.