Hi,
I’m trying to get the Node.js client running on Microsoft’s Azure Websites. This is simply a fully managed and abstracted version of Node behind IIS on a Windows server environment.
The Azure Websites installs all npm packages automatically from packages.json whenever you push a new version of your application. However the couchbase package fails to install and therefore keeps on disturbing every subsequent application deployment.
Since we have no influence at all on server software, config changes, compilers or other libraries cannot be installed remotely. Somehow the installation of the couchbase NPM package should return a success before Azure Websites accepts the package as ‘installed’.
Is there any way to simply put Windows binaries on the remote machine and avoid the NPM package to recompile - and fail - on every automated install attempt? (i.e. every deployment of your code)
remote: > couchbase@2.0.6 install D:\home\site\wwwroot\App_Data\config\scripts\node_modules\couchbase > remote: > (node-gyp rebuild 2> builderror.log) || (exit 0) > remote: > remote: > remote: D:\home\site\wwwroot\App_Data\config\scripts\node_modules\couchbase>node "c:\Program Files (x86)\npm\1.4.9\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild > remote: Warning: Missing input files: > remote: D:\home\site\wwwroot\App_Data\config\scripts\node_modules\couchbase\build\deps\lcb\..\..\..\deps\lcb\contrib\cbsasl\include\cbsasl\visibility.h > remote: D:\home\site\wwwroot\App_Data\config\scripts\node_modules\couchbase\build\deps\lcb\..\..\..\deps\lcb\contrib\cbsasl\src\config.h > remote: Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. > remote: 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:\home\site\wwwroot\App_Data\config\scripts\node_modules\couchbase\build\binding.sln] > remote: 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:\home\site\wwwroot\App_Data\config\scripts\node_modules\couchbase\build\binding.sln] > remote: 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:\home\site\wwwroot\App_Data\config\scripts\node_modules\couchbase\build\binding.sln] > remote: 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:\home\site\wwwroot\App_Data\config\scripts\node_modules\couchbase\build\binding.sln] > remote: 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:\home\site\wwwroot\App_Data\config\scripts\node_modules\couchbase\build\binding.sln] > remote: 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:\home\site\wwwroot\App_Data\config\scripts\node_modules\couchbase\build\binding.sln] > remote: 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:\home\site\wwwroot\App_Data\config\scripts\node_modules\couchbase\build\binding.sln]
Thanks!