http://stackoverflow.com/questions/19661811/unable-to-download-msnodesql-0-2-1-v0-10-x64-msinode
首先要知足如下安裝環境:python
Node.js - use the latest version if possible, but it has been tested on node 0.6.10 and later node-gyp - latest version installed globally (npm install -g node-gyp) python 2.7.x - for node-gyp (make sure it is in the path) Visual C++ 2010 - the Express edition is freely available from Microsoft SQL Server Native Client 11.0 - available as Microsoft SQL Server 2012 Native Client found in the SQL Server 2012 Feature Pack
而後:
先:Download the Drive separately from http://www.microsoft.com/en-us/download/details.aspx?id=29995. Then I advise you the following:
再而後按上面的步驟進行
二、In the unzipped directory replace the contents of thegit
scripts/install.js
var msiVer = "v0.8" 插入在
var msiName(第16行)前,保存
npm install FULL_PATH_TO_UNZIPPED_PACKAGE_DIR(此處爲git hub下載的壓縮包解壓後的路徑) -g