felixrieseberg / ember-cli-azure-deploy

:wrench: Build Ember Cli Apps on Azure Websites
MIT License
19 stars 2 forks source link

Problem with deploy, missing VCBuild.exe #7

Closed gitowiec closed 9 years ago

gitowiec commented 9 years ago

I am using Ember-cli@0.2.7, deploying to M$ Azure Web App from Bitbucket (automatic) ends with this error. Please help:

defaults-it_IT.min.js
./xdist/assets/global/plugins/bootstrap-select/i18n/defaults-nl_NL.js
./xdist/assets/global/plugins/bootstrap-select/i18n/defaults-nl_NL.min.js
./xdist/assets/global/plugins/bootstrap-select/i18n/defaults-pl_PL.js
./xdist/assets/global/plugins/bootstrap-select/i18n/defaults-pl_PL.min.js
./xdist/assets/global/plugins/bootstrap-select/i18n/defaults-pt_BR.js
./xdist/assets/global/plugins/bootstrap-select/i18n/defaults-pt_BR.min.js
./xdist/assets/global/plugins/bootstrap-select/i18n/defaults-ro_RO.js
./xdist/assets/global/plugins/bootstrap-select/i18n/defaults-ro_RO.min.js
[cutted here]
....
[/cutted here]
./xdist/assets/global/plugins/zoom/jquery.zoom.js
./xdist/assets/global/plugins/zoom/jquery.zoom.min.js
./xdist/assets/global/scripts/
./xdist/assets/global/scripts/datatable.js
./xdist/assets/global/scripts/metronic.js
./xdist/assets/passed.png
./xdist/assets/test-loader.js
./xdist/assets/test-support.css
./xdist/assets/test-support.js
./xdist/assets/test-support.map
./xdist/assets/vendor.css
./xdist/assets/vendor.js
./xdist/assets/vendor.map
./xdist/crossdomain.xml
./xdist/index.html
./xdist/robots.txt
./xdist/testem.js
./xdist/tests/
./xdist/tests/index.html
Switch to the temp directory
Installing ember-cli

> ws@0.5.0 install D:\local\AppData\npm\node_modules\ember-cli\node_modules\testem\node_modules\socket.io\node_modules\engine.io\node_modules\ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

D:\local\AppData\npm\node_modules\ember-cli\node_modules\testem\node_modules\socket.io\node_modules\engine.io\node_modules\ws>node "c:\Program Files (x86)\npm\1.4.28\node_modules\npm\bin\node-gyp-bin\\..\..\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.
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere.  [D:\local\AppData\npm\node_modules\ember-cli\node_modules\testem\node_modules\socket.io\node_modules\engine.io\node_modules\ws\build\binding.sln]
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere.  [D:\local\AppData\npm\node_modules\ember-cli\node_modules\testem\node_modules\socket.io\node_modules\engine.io\node_modules\ws\build\binding.sln]

> ws@0.4.31 install D:\local\AppData\npm\node_modules\ember-cli\node_modules\testem\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

D:\local\AppData\npm\node_modules\ember-cli\node_modules\testem\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws>node "c:\Program Files (x86)\npm\1.4.28\node_modules\npm\bin\node-gyp-bin\\..\..\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.
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere.  [D:\local\AppData\npm\node_modules\ember-cli\node_modules\testem\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\build\binding.sln]
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere.  [D:\local\AppData\npm\node_modules\ember-cli\node_modules\testem\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\build\binding.sln]
D:\local\AppData\npm\ember -> D:\local\AppData\npm\node_modules\ember-cli\bin\ember
ember-cli@0.2.7 D:\local\AppData\npm\node_modules\ember-cli
├── broccoli-unwatched-tree@0.1.1
├── pleasant-progress@1.1.0
├── is-git-url@0.2.0
├── escape-string-regexp@1.0.3
├── isbinaryfile@2.0.4
├── ember-cli-copy-dereference@1.0.0
├── abbrev@1.0.7
├── promise-map-series@0.2.1
├── js-string-escape@1.0.0
├── walk-sync@0.1.3
├── broccoli-merge-trees@0.2.1
├── strip-ansi@2.0.1 (ansi-regex@1.1.1)
├── broccoli-sane-watcher@1.1.1 (broccoli-slow-trees@1.1.0)
├── symlink-or-copy@1.0.1 (copy-dereference@1.0.0)
├── debug@2.2.0 (ms@0.7.1)
├── exit@0.1.2
├── temp@0.8.1 (rimraf@2.2.8)
├── http-proxy@1.11.1 (eventemitter3@1.1.1, requires-port@0.0.1)
├── semver@4.3.6
├── yam@0.0.18 (findup@0.1.5, lodash.merge@3.3.1, fs-extra@0.16.5)
├── cpr@0.4.1 (graceful-fs@3.0.8, rimraf@2.2.8, mkdirp@0.5.1)
├── sane@1.1.2 (watch@0.10.0, minimist@1.1.1, fb-watchman@0.0.0, exec-sh@0.2.0, walker@1.0.7, minimatch@0.2.14)
├── broccoli-kitchen-sink-helpers@0.2.6 (mkdirp@0.3.5, glob@4.0.4)
├── compression@1.5.0 (bytes@2.1.0, vary@1.0.0, on-headers@1.0.0, compressible@2.0.3, accepts@1.2.9)
├── rimraf@2.3.2 (glob@4.5.3)
├── broccoli-funnel@0.2.2 (minimatch@2.0.8, mkdirp@0.5.1)
├── broccoli-filter@0.1.12 (mkdirp@0.3.5, quick-temp@0.1.2)
├── rsvp@3.0.18
├── github@0.2.4 (mime@1.3.4)
├── ember-router-generator@1.0.0 (recast@0.9.18)
├── broccoli-writer@0.1.1 (quick-temp@0.1.2)
├── broccoli-es3-safe-recast@2.0.0 (es3-safe-recast@2.0.1)
├── broccoli-es6modules@0.6.1 (mkdirp@0.5.1, broccoli-kitchen-sink-helpers@0.2.7, broccoli-caching-writer@0.5.3, esperanto@0.6.34)
├── core-object@0.0.2 (lodash-node@2.4.1)
├── markdown-it@4.0.3 (linkify-it@1.0.1, uc.micro@1.0.0, mdurl@1.0.0, entities@1.1.1, argparse@1.0.2)
├── markdown-it-terminal@0.0.2 (ansi-styles@2.0.1, cli-table@0.3.1, cardinal@0.5.0, lodash-node@3.9.3)
├── broccoli-caching-writer@0.5.5 (core-object@0.0.3, quick-temp@0.1.2, lodash-node@2.4.1)
├── broccoli-sourcemap-concat@0.4.4 (combined-stream@0.0.7, mkdirp@0.5.1, fast-sourcemap-concat@0.2.5, broccoli-caching-writer@0.5.3, lodash-node@2.4.1)
└── testem@0.8.3 (growl@1.8.1, styled_string@0.0.1, did_it_work@0.0.6, consolidate@0.12.1, charm@1.0.0, colors@1.1.0, xmldom@0.1.19, async@0.9.2, cross-spawn@0.2.9, mustache@2.1.1, commander@2.8.1, mkdirp@0.5.1, backbone@1.2.1, glob@5.0.10, npmlog@1.2.1, fileset@0.1.8, express@4.12.4, fireworm@0.6.6, tap@0.7.1, js-yaml@3.3.1, socket.io@1.3.5)
Installing bower
D:\local\AppData\npm\bower -> D:\local\AppData\npm\node_modules\bower\bin\bower
bower@1.4.1 D:\local\AppData\npm\node_modules\bower
├── is-root@1.0.0
├── junk@1.0.1
├── stringify-object@1.0.1
├── chmodr@0.1.0
├── user-home@1.1.1
├── abbrev@1.0.7
├── rimraf@2.4.0
├── archy@1.0.0
├── graceful-fs@3.0.8
├── lru-cache@2.6.4
├── opn@1.0.2
├── bower-logger@0.2.2
├── bower-endpoint-parser@0.2.2
├── lockfile@1.0.1
├── nopt@3.0.2
├── retry@0.6.1
├── tmp@0.0.24
├── request-progress@0.3.1 (throttleit@0.0.2)
├── q@1.4.1
├── shell-quote@1.4.3 (array-filter@0.0.1, array-map@0.0.0, array-reduce@0.0.0, jsonify@0.0.0)
├── chalk@1.0.0 (escape-string-regexp@1.0.3, ansi-styles@2.0.1, supports-color@1.3.1, strip-ansi@2.0.1, has-ansi@1.0.3)
├── which@1.1.1 (is-absolute@0.1.7)
├── semver@2.3.2
├── fstream@1.0.6 (inherits@2.0.1)
├── mkdirp@0.5.0 (minimist@0.0.8)
├── p-throttler@0.1.1 (q@0.9.7)
├── bower-json@0.4.0 (intersect@0.0.3, deep-extend@0.2.11, graceful-fs@2.0.3)
├── promptly@0.2.0 (read@1.0.6)
├── fstream-ignore@1.0.2 (inherits@2.0.1, minimatch@2.0.8)
├── glob@4.5.3 (inherits@2.0.1, once@1.3.2, inflight@1.0.4, minimatch@2.0.8)
├── insight@0.5.3 (object-assign@2.1.1, lodash.debounce@3.1.0, async@0.9.2, os-name@1.0.3, tough-cookie@0.12.1)
├── tar-fs@1.5.1 (pump@1.0.0, tar-stream@1.2.0)
├── decompress-zip@0.1.0 (mkpath@0.1.0, touch@0.0.3, readable-stream@1.1.13, binary@0.3.0)
├── update-notifier@0.3.2 (is-npm@1.0.0, string-length@1.0.0, semver-diff@2.0.0, latest-version@1.0.0)
├── request@2.53.0 (caseless@0.9.0, aws-sign2@0.5.0, forever-agent@0.5.2, stringstream@0.0.4, oauth-sign@0.6.0, tunnel-agent@0.4.0, isstream@0.1.2, json-stringify-safe@5.0.1, node-uuid@1.4.3, qs@2.3.3, combined-stream@0.0.7, form-data@0.2.0, mime-types@2.0.14, http-signature@0.10.1, bl@0.9.4, tough-cookie@2.0.0, hawk@2.3.1)
├── github@0.2.4 (mime@1.3.4)
├── cardinal@0.4.4 (ansicolors@0.2.1, redeyed@0.4.4)
├── bower-registry-client@0.3.0 (graceful-fs@2.0.3, request-replay@0.2.0, rimraf@2.2.8, lru-cache@2.3.1, mkdirp@0.3.5, async@0.2.10, request@2.51.0)
├── mout@0.11.0
├── bower-config@0.6.1 (osenv@0.0.3, graceful-fs@2.0.3, optimist@0.6.1, mout@0.9.1)
├── configstore@0.3.2 (object-assign@2.1.1, xdg-basedir@1.0.1, uuid@2.0.1, osenv@0.1.2, js-yaml@3.3.1)
├── handlebars@2.0.0 (optimist@0.3.7, uglify-js@2.3.6)
└── inquirer@0.8.0 (figures@1.3.5, ansi-regex@1.1.1, mute-stream@0.0.4, through@2.3.7, readline2@0.1.1, chalk@0.5.1, lodash@2.4.2, cli-color@0.3.3, rx@2.5.3)
Installing ember-cli-azure-deploy
D:\local\AppData\npm\azure-deploy -> D:\local\AppData\npm\node_modules\ember-cli-azure-deploy\bin\azure-deploy
ember-cli-azure-deploy@1.1.3 D:\local\AppData\npm\node_modules\ember-cli-azure-deploy
└── chalk@0.5.1 (ansi-styles@1.1.0, escape-string-regexp@1.0.3, supports-color@0.2.0, has-ansi@0.1.0, strip-ansi@0.3.0)
Cleaning Cache
Installing npm modules

> node-sass@3.2.0 install D:\local\Temp\8ba5825e-2c43-4231-9df7-a9c6b32cbe56\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\node_modules\node-sass
> node scripts/install.js

Binary downloaded and installed at D:\local\Temp\8ba5825e-2c43-4231-9df7-a9c6b32cbe56\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\node_modules\node-sass\vendor\win32-ia32-11\binding.node

> node-sass@3.2.0 postinstall D:\local\Temp\8ba5825e-2c43-4231-9df7-a9c6b32cbe56\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\node_modules\node-sass
> node scripts/build.js

` D:\local\Temp\8ba5825e-2c43-4231-9df7-a9c6b32cbe56\node_modules\ember-cli-sass\node_modules\broccoli-sass-source-maps\node_modules\node-sass\vendor\win32-ia32-11\binding.node ` exists. 
 testing binary.
Binary is fine; exiting.

> ws@0.5.0 install D:\local\Temp\8ba5825e-2c43-4231-9df7-a9c6b32cbe56\node_modules\ember-cli\node_modules\testem\node_modules\socket.io\node_modules\engine.io\node_modules\ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

D:\local\Temp\8ba5825e-2c43-4231-9df7-a9c6b32cbe56\node_modules\ember-cli\node_modules\testem\node_modules\socket.io\node_modules\engine.io\node_modules\ws>node "c:\Program Files (x86)\npm\1.4.28\node_modules\npm\bin\node-gyp-bin\\..\..\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.
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere.  [D:\local\Temp\8ba5825e-2c43-4231-9df7-a9c6b32cbe56\node_modules\ember-cli\node_modules\testem\node_modules\socket.io\node_modules\engine.io\node_modules\ws\build\binding.sln]
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere.  [D:\local\Temp\8ba5825e-2c43-4231-9df7-a9c6b32cbe56\node_modules\ember-cli\node_modules\testem\node_modules\socket.io\node_modules\engine.io\node_modules\ws\build\binding.sln]
npm ERR! EEXIST, open 'D:\local\AppData\npm-cache\9e2a2bbc-pm-cache-rsvp-3-0-18-package-tgz.lock'

File exists: D:\local\AppData\npm-cache\9e2a2bbc-pm-cache-rsvp-3-0-18-package-tgz.lock
> ws@0.4.31 install D:\local\Temp\8ba5825e-2c43-4231-9df7-a9c6b32cbe56\node_modules\ember-cli\node_modules\testem\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws
Move it away, and try again. 
> (node-gyp rebuild 2> builderror.log) || (exit 0)

npm ERR! System Windows_NT 6.2.9200

npm ERR! command "d:\\Program Files (x86)\\nodejs\\0.10.32\\node.exe" "D:\\Program Files (x86)\\npm\\1.4.28\\node_modules\\npm\\bin\\npm-cli.js" "install" "--no-optional" "--no-bin-links"
D:\local\Temp\8ba5825e-2c43-4231-9df7-a9c6b32cbe56\node_modules\ember-cli\node_modules\testem\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws>node "c:\Program Files (x86)\npm\1.4.28\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild 
npm ERR! cwd D:\local\Temp\8ba5825e-2c43-4231-9df7-a9c6b32cbe56
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
npm ERR! node -v v0.10.32
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere.  [D:\local\Temp\8ba5825e-2c43-4231-9df7-a9c6b32cbe56\node_modules\ember-cli\node_modules\testem\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\build\binding.sln]
npm ERR! npm -v 1.4.28
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere.  [D:\local\Temp\8ba5825e-2c43-4231-9df7-a9c6b32cbe56\node_modules\ember-cli\node_modules\testem\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\build\binding.sln]
npm ERR! path D:\local\AppData\npm-cache\9e2a2bbc-pm-cache-rsvp-3-0-18-package-tgz.lock
An error has occurred during web site deployment.
npm ERR! code EEXIST
npm install failed
npm ERR! errno 47
npm
felixrieseberg commented 9 years ago

Since ws is an optional dependency, it's fine that the installation of it fails (in fact, it should fail everytime) - the real issue here is that npm is running into a lockfile. Snooping around npm a bit, it seems like that lockfiles are usually the result of race conditions.

I'm not sure what would help here, but I can make sure that the script is using the latest version of npm. Let me add that, I'll ping you in a minute once a retry is worth it :)

felixrieseberg commented 9 years ago

I believe that the issue should now be fixed. Please reopen in case it isn't - thanks for reporting!