Visual Studio Code - ошибка MSB6006: «CL.exe» завершен с кодом -1073741515 - PullRequest
0 голосов
/ 25 мая 2018

Я работаю над проектом Angular 4, используя Visual Studio Code IDE.Я хочу использовать модальное диалоговое окно для этого.Когда я запускаю команду npm 'npm install --save ng2-modal-dialog' в терминале кода Visual Studio, я получаю следующее сообщение об ошибке.Как мне это решить?Я не установил Visual Studio.

PS D:\Projects\payments> npm install --save ng2-modal-dialog

> utf-8-validate@1.2.2 install D:\Projects\payments\node_modules\bebop\node_modules\utf-8-validate
> node-gyp rebuild


D:\Projects\payments\node_modules\bebop\node_modules\utf-8-validate>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Users\Administrator\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(356,5): error MSB6006: "CL.exe" exited with code -1073741515. [D:\Pr
ojects\payments\node_modules\bebop\node_modules\utf-8-validate\build\validation.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\Administrator\AppData\Roaming\npm\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:180:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Windows_NT 10.0.15063
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\Projects\payments\node_modules\bebop\node_modules\utf-8-validate
gyp ERR! node -v v9.8.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok

> bufferutil@1.2.1 install D:\Projects\payments\node_modules\bufferutil
> node-gyp rebuild


D:\Projects\payments\node_modules\bufferutil>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Users\Administrator\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(356,5): error MSB6006: "CL.exe" exited with code -1073741515. [D:\Pr
ojects\payments\node_modules\bufferutil\build\bufferutil.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\Administrator\AppData\Roaming\npm\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:180:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Windows_NT 10.0.15063
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\Projects\payments\node_modules\bufferutil
gyp ERR! node -v v9.8.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN @angular/cdk@6.0.2 requires a peer of @angular/core@>=6.0.0-beta.0 <7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/cdk@6.0.2 requires a peer of @angular/common@>=6.0.0-beta.0 <7.0.0 but none is installed. You must install peer dependencies yourself.npm WARN @angular/material@6.0.2 requires a peer of @angular/core@>=6.0.0-beta.0 <7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/material@6.0.2 requires a peer of @angular/common@>=6.0.0-beta.0 <7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular-material@1.1.9 requires a peer of angular@>=1.4 <1.7 but none is installed. You must install peer dependencies yourself.
npm WARN angular-material@1.1.9 requires a peer of angular-animate@>=1.4 <1.7 but none is installed. You must install peer dependencies yourself.
npm WARN angular-material@1.1.9 requires a peer of angular-aria@>=1.4 <1.7 but none is installed. You must install peer dependencies yourself.
npm WARN angular-material@1.1.9 requires a peer of angular-messages@>=1.4 <1.7 but none is installed. You must install peer dependencies yourself.
npm WARN angular2-route-service@0.0.32 requires a peer of @angular/core@^2.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN angular2-route-service@0.0.32 requires a peer of @angular/common@^2.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN angular2-route-service@0.0.32 requires a peer of @angular/compiler@^2.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN angular2-route-service@0.0.32 requires a peer of @angular/platform-browser@^2.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN angular2-route-service@0.0.32 requires a peer of @angular/platform-browser-dynamic@^2.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN angular2-route-service@0.0.32 requires a peer of @angular/router@^3.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN angular2-route-service@0.0.32 requires a peer of ts-smart-logger@~0.0.4 but none is installed. You must install peer dependencies yourself.
npm WARN angular2-route-service@0.0.32 requires a peer of ts-immutable-helper@~0.0.9 but none is installed. You must install peer dependencies yourself.npm WARN angular2-route-service@0.0.32 requires a peer of rxjs@~5.0.0-beta.12 but none is installed. You must install peer dependencies yourself.
npm WARN angular2-route-service@0.0.32 requires a peer of zone.js@~0.6.25 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@0.3.8 (node_modules\riot\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@0.3.8: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.2.2 (node_modules\bebop\node_modules\utf-8-validate):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.2.2 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.2.1 (node_modules\bufferutil):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.2.1 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

+ ng2-modal-dialog@2.0.5
updated 1 package in 42.299s

Угловая версия - угловой CLI: 1.7.3 Узел: 9.8.0 ОС: win32 x64 Угловой: 5.2.9

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...