узел-ГИП ошибки установки транспортир
Я пытаюсь установить транспортир, запустив npm install-g транспортир, и я получаю следующий вывод, и я не уверен, что ошибки чего-то беспокоят. Похоже, что есть попытка установить utf-8-validate и bufferutil. После этой команды он запускает node-gyp rebuild, но терпит неудачу с ошибкой MSB8020. Он ссылается на Visual Studio 2010, которой у меня нет. У меня есть Visual Studio 2012, которая обновлена.
Корпорация Майкрософт рекомендует, Чтобы версии Visual Studio были устанавливается в определенном порядке, например: Visual Studio 2010, затем Visual Studio 2012 и т. д.
Прежде чем я попытаюсь пройти через все это...насколько важно устранить эти ошибки, чтобы получить хорошую настройку транспортира? Действительно ли мне нужна utf-8-validate и bufferutil?
Прочая информация:
- Windows 8.1
- узел.с JS версии v0.12.4
- Python v2. 7. 3
- Java v1. 8. 0_45-b14
Я надеюсь, что задал этот вопрос правильно, так как это мой первый вопрос о StackExchange.
Спасибо всем!
C:UsersjackAppDataRoaming>npm install -g protractor
> utf-8-validate@1.2.1 install C:UsersjackAppDataRoamingnpmnode_modules
protractornode_modulesselenium-webdrivernode_moduleswsnode_modulesutf-8-v
alidate
> node-gyp rebuild
C:UsersjackAppDataRoamingnpmnode_modulesprotractornode_modulesseleni
um-webdrivernode_moduleswsnode_modulesutf-8-validate>if not defined npm_conf
ig_node_gyp (node "C:Program Filesnodejsnode_modulesnpmbinnode-gyp-bin\..
..node_modulesnode-gypbinnode-gyp.js" rebuild ) else (rebuild)
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V110Microsoft.Cpp.Platform.t
argets(42,5): error MSB8020: The builds tools for Visual Studio 2010 (Platform
Toolset = 'v100') cannot be found. To build using the v100 build tools, either
click the Project menu or right-click the solution, and then select "Update VC+
+ Projects...". Install Visual Studio 2010 to build using the Visual Studio 201
0 build tools. [C:UsersjackAppDataRoamingnpmnode_modulesprotractorno
de_modulesselenium-webdrivernode_moduleswsnode_modulesutf-8-validatebuild
validation.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `msbuild` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:Program Filesnodejsnode_modules
npmnode_modulesnode-gyplibbuild.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074
:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modu
les\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:UsersjackAppDataRoamingnpmnode_modulesprotractornode_m
odulesselenium-webdrivernode_moduleswsnode_modulesutf-8-validate
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
> bufferutil@1.2.1 install C:UsersjackAppDataRoamingnpmnode_modulespro
tractornode_modulesselenium-webdrivernode_moduleswsnode_modulesbufferutil
> node-gyp rebuild
C:UsersjackAppDataRoamingnpmnode_modulesprotractornode_modulesseleni
um-webdrivernode_moduleswsnode_modulesbufferutil>if not defined npm_config_n
ode_gyp (node "C:Program Filesnodejsnode_modulesnpmbinnode-gyp-bin\....
node_modulesnode-gypbinnode-gyp.js" rebuild ) else (rebuild)
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V110Microsoft.Cpp.Platform.t
argets(42,5): error MSB8020: The builds tools for Visual Studio 2010 (Platform
Toolset = 'v100') cannot be found. To build using the v100 build tools, either
click the Project menu or right-click the solution, and then select "Update VC+
+ Projects...". Install Visual Studio 2010 to build using the Visual Studio 201
0 build tools. [C:UsersjackAppDataRoamingnpmnode_modulesprotractorno
de_modulesselenium-webdrivernode_moduleswsnode_modulesbufferutilbuildbuf
ferutil.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `msbuild` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:Program Filesnodejsnode_modules
npmnode_modulesnode-gyplibbuild.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074
:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modu
les\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:UsersjackAppDataRoamingnpmnode_modulesprotractornode_m
odulesselenium-webdrivernode_moduleswsnode_modulesbufferutil
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm WARN optional dep failed, continuing utf-8-validate@1.2.1
npm WARN optional dep failed, continuing bufferutil@1.2.1
C:UsersjackAppDataRoamingnpmwebdriver-manager -> C:UsersjackAppDa
taRoamingnpmnode_modulesprotractorbinwebdriver-manager
C:UsersjackAppDataRoamingnpmprotractor -> C:UsersjackAppDataRoam
ingnpmnode_modulesprotractorbinprotractor
protractor@2.4.0 C:UsersjackAppDataRoamingnpmnode_modulesprotractor
├── jasminewd@1.1.0
├── jasminewd2@0.0.6
├── html-entities@1.1.3
├── q@1.0.0
├── minijasminenode@1.1.1
├── adm-zip@0.4.4
├── optimist@0.6.1 (wordwrap@0.0.3, minimist@0.0.10)
├── glob@3.2.11 (inherits@2.0.1, minimatch@0.3.0)
├── jasmine@2.3.2 (exit@0.1.2, jasmine-core@2.3.4)
├── accessibility-developer-tools@2.6.0
├── saucelabs@1.0.1 (https-proxy-agent@1.0.0)
├── source-map-support@0.2.10 (source-map@0.1.32)
├── lodash@2.4.2
├── request@2.57.0 (caseless@0.10.0, aws-sign2@0.5.0, forever-agent@0.6.1, strin
gstream@0.0.4, tunnel-agent@0.4.1, oauth-sign@0.8.0, isstream@0.1.2, json-string
ify-safe@5.0.1, node-uuid@1.4.3, qs@3.1.0, combined-stream@1.0.5, form-data@0.2.
0, mime-types@2.0.14, http-signature@0.11.0, bl@0.9.4, tough-cookie@2.0.0, hawk@
2.3.1, har-validator@1.8.0)
└── selenium-webdriver@2.47.0 (tmp@0.0.24, rimraf@2.4.3, xml2js@0.4.4, ws@0.8.0)