标签: node-sqlserver

node-gyp构建错误windows x64

这是我到目前为止在x64操作系统上所做的事情:

  • 安装Python(v2.7 - 特别是2.7.6)并将其添加到系统路径(C:\ Python27)
  • 已安装的MS VS C++ 2010 Express版本(我已经安装了VS 2012但没有C++组件)
  • 安装了Windows SDK 7.1的编译器更新
  • 成功执行了node-gyp configure(来自我在node.spp所在的nodejs \node_modules下的附加目录)

  • 运行node-gyp build(作为管理员)**这是崩溃的原因,让我:

这个错误:

C:\Program Files\nodejs\node_modules\msnodesql>node-gyp build
gyp info it worked if it ends with ok
gyp info using node-gyp@0.12.2
gyp info using node@0.10.25 | win32 | x64
gyp info spawn C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
gyp info spawn args [ 'build/binding.sln',
gyp info spawn args   '/clp:Verbosity=minimal',
gyp info spawn args   '/nologo',
gyp info spawn args   '/p:Configuration=Release;Platform=x64' ]
Building the projects in this solution one at a time. …
Run Code Online (Sandbox Code Playgroud)

windows-7-x64 node-gyp node-sqlserver

64
推荐指数
5
解决办法
8万
查看次数

无法下载msnodesql-0.2.1-v0.10-x64.msi

我无法安装msnodesql.

本来我试过

npm install node-sqlserver
Run Code Online (Sandbox Code Playgroud)

...并且这警告它已被msnodesql取代.

我成功安装了Node.js,iisnode,我看到样本Hello.js正在服务(yayee,很棒),所以至少node和iisnode正在工作.

我安装了先决条件:

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 …
Run Code Online (Sandbox Code Playgroud)

node.js iisnode node-sqlserver

7
推荐指数
1
解决办法
5221
查看次数