Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

npm install msnodesql fails #90

Closed
KevinBurton opened this Issue · 51 comments

5 participants

@KevinBurton

The installation fails with:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install',
1 verbose cli 'msnodesql' ]
2 info using npm@1.1.65
3 info using node@v0.8.14
4 verbose node symlink C:\Program Files\nodejs\node.exe
5 verbose read json C:\Users\Kevin\package.json
6 verbose read json C:\Users\Kevin\node_modules\cassandra\package.json
7 verbose read json C:\Users\Kevin\node_modules\couchdb\package.json
8 verbose read json C:\Users\Kevin\node_modules\mongodb\package.json
9 verbose read json C:\Users\Kevin\node_modules\neo4j\package.json
10 verbose read json C:\Users\Kevin\node_modules\redis\package.json
11 verbose read json C:\Users\Kevin\node_modules\riak\package.json
12 verbose read json C:\Users\Kevin\package.json
13 verbose cache add [ 'msnodesql', null ]
14 silly cache add name=undefined spec="msnodesql" args=["msnodesql",null]
15 verbose parsed url { pathname: 'msnodesql', path: 'msnodesql', href: 'msnodesql' }
16 silly lockFile 36f1ebb8-msnodesql msnodesql
17 verbose lock msnodesql C:\Users\Kevin\AppData\Roaming\npm-cache\36f1ebb8-msnodesql.lock
18 silly lockFile 36f1ebb8-msnodesql msnodesql
19 verbose addNamed [ 'msnodesql', '' ]
20 verbose addNamed [ null, '' ]
21 silly lockFile 0cd57691-msnodesql msnodesql@
22 verbose lock msnodesql@ C:\Users\Kevin\AppData\Roaming\npm-cache\0cd57691-msnodesql.lock
23 silly addNameRange { name: 'msnodesql', range: '', hasData: false }
24 verbose url raw msnodesql
25 verbose url resolving [ 'https://registry.npmjs.org/', './msnodesql' ]
26 verbose url resolved https://registry.npmjs.org/msnodesql
27 info trying registry request attempt 1 at 12:08:09
28 http GET https://registry.npmjs.org/msnodesql
29 http 200 https://registry.npmjs.org/msnodesql
30 silly registry.get cb [ 200,
30 silly registry.get { vary: 'Accept',
30 silly registry.get server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
30 silly registry.get etag: '"B7RBD1B3P3QCKHTZQO2XA7YKM"',
30 silly registry.get date: 'Wed, 21 Nov 2012 18:07:43 GMT',
30 silly registry.get 'content-type': 'application/json',
30 silly registry.get 'content-length': '8558' } ]
31 silly addNameRange number 2 { name: 'msnodesql', range: '', hasData: true }
32 silly addNameRange versions [ 'msnodesql', [ '0.1.0', '0.2.0' ] ]
33 verbose addNamed [ 'msnodesql', '0.2.0' ]
34 verbose addNamed [ '0.2.0', '0.2.0' ]
35 silly lockFile 5c09b1cc-msnodesql-0-2-0 msnodesql@0.2.0
36 verbose lock msnodesql@0.2.0 C:\Users\Kevin\AppData\Roaming\npm-cache\5c09b1cc-msnodesql-0-2-0.lock
37 silly lockFile 6c0b5aab-rg-msnodesql-msnodesql-0-2-0-tgz https://registry.npmjs.org/msnodesql/-/msnodesql-0.2.0.tgz
38 verbose lock https://registry.npmjs.org/msnodesql/-/msnodesql-0.2.0.tgz C:\Users\Kevin\AppData\Roaming\npm-cache\6c0b5aab-rg-msnodesql-msnodesql-0-2-0-tgz.lock
39 verbose addRemoteTarball [ 'https://registry.npmjs.org/msnodesql/-/msnodesql-0.2.0.tgz',
39 verbose addRemoteTarball '635d4e10b074d1a5907848d47b330bbfeb574871' ]
40 info retry fetch attempt 1 at 12:08:10
41 verbose fetch to= C:\Users\Kevin\AppData\Local\Temp\npm-7024\1353521290872-0.8977969770785421\tmp.tgz
42 http GET https://registry.npmjs.org/msnodesql/-/msnodesql-0.2.0.tgz
43 http 200 https://registry.npmjs.org/msnodesql/-/msnodesql-0.2.0.tgz
44 silly shasum updated bytes 40960
45 silly shasum updated bytes 29207
46 info shasum 635d4e10b074d1a5907848d47b330bbfeb574871
46 info shasum C:\Users\Kevin\AppData\Local\Temp\npm-7024\1353521290872-0.8977969770785421\tmp.tgz
47 verbose tar unpack C:\Users\Kevin\AppData\Local\Temp\npm-7024\1353521290872-0.8977969770785421\tmp.tgz
48 silly lockFile ada07634-90872-0-8977969770785421-package C:\Users\Kevin\AppData\Local\Temp\npm-7024\1353521290872-0.8977969770785421\package
49 verbose lock C:\Users\Kevin\AppData\Local\Temp\npm-7024\1353521290872-0.8977969770785421\package C:\Users\Kevin\AppData\Roaming\npm-cache\ada07634-90872-0-8977969770785421-package.lock
50 silly gunzTarPerm modes [ '755', '644' ]
51 silly gunzTarPerm extractEntry package.json
52 silly gunzTarPerm extractEntry .npmignore
53 silly gunzTarPerm extractEntry README.md
54 silly gunzTarPerm extractEntry LICENSE
55 silly gunzTarPerm extractEntry binding.gyp
56 silly gunzTarPerm extractEntry CONTRIBUTING.md
57 silly gunzTarPerm extractEntry CONTRIBUTORS
58 silly gunzTarPerm extractEntry lib/sql.js
59 silly gunzTarPerm extractEntry lib/sqlserver.native.js
60 silly gunzTarPerm extractEntry src/OdbcHandle.h
61 silly gunzTarPerm extractEntry src/Column.cpp
62 silly gunzTarPerm extractEntry src/Connection.cpp
63 silly gunzTarPerm extractEntry src/Connection.h
64 silly gunzTarPerm extractEntry src/CriticalSection.h
65 silly gunzTarPerm extractEntry src/OdbcConnection.cpp
66 silly gunzTarPerm extractEntry src/OdbcConnection.h
67 silly gunzTarPerm extractEntry src/OdbcConnectionBridge.h
68 silly gunzTarPerm extractEntry src/OdbcError.cpp
69 silly gunzTarPerm extractEntry src/OdbcError.h
70 silly gunzTarPerm extractEntry src/Column.h
71 silly gunzTarPerm extractEntry src/OdbcOperation.cpp
72 silly gunzTarPerm extractEntry src/OdbcOperation.h
73 silly gunzTarPerm extractEntry src/Operation.h
74 silly gunzTarPerm extractEntry src/ResultSet.cpp
75 silly gunzTarPerm extractEntry src/ResultSet.h
76 silly gunzTarPerm extractEntry src/sqlncli.h
77 silly gunzTarPerm extractEntry src/stdafx.cpp
78 silly gunzTarPerm extractEntry src/stdafx.h
79 silly gunzTarPerm extractEntry src/Utility.cpp
80 silly gunzTarPerm extractEntry src/Utility.h
81 silly gunzTarPerm extractEntry test/CommonTestFunctions.js
82 silly gunzTarPerm extractEntry test/connect.js
83 silly gunzTarPerm extractEntry test/datatypes.js
84 silly gunzTarPerm extractEntry test/dates.js
85 silly gunzTarPerm extractEntry test/compoundqueries.js
86 silly gunzTarPerm extractEntry test/query.js
87 silly gunzTarPerm extractEntry test/runtests.js
88 silly gunzTarPerm extractEntry test/test-config.js
89 silly gunzTarPerm extractEntry test/txn.js
90 silly gunzTarPerm extractEntry test/params.js
91 silly gunzTarPerm extractEntry test/testlist.txt
92 verbose read json C:\Users\Kevin\AppData\Local\Temp\npm-7024\1353521290872-0.8977969770785421\package\package.json
93 silly lockFile ada07634-90872-0-8977969770785421-package C:\Users\Kevin\AppData\Local\Temp\npm-7024\1353521290872-0.8977969770785421\package
94 verbose from cache C:\Users\Kevin\AppData\Local\Temp\npm-7024\1353521290872-0.8977969770785421\package\package.json
95 verbose tar pack [ 'C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package.tgz',
95 verbose tar pack 'C:\Users\Kevin\AppData\Local\Temp\npm-7024\1353521290872-0.8977969770785421\package' ]
96 verbose tarball C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package.tgz
97 verbose folder C:\Users\Kevin\AppData\Local\Temp\npm-7024\1353521290872-0.8977969770785421\package
98 silly lockFile 1827a833-ache-msnodesql-0-2-0-package-tgz C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package.tgz
99 verbose lock C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package.tgz C:\Users\Kevin\AppData\Roaming\npm-cache\1827a833-ache-msnodesql-0-2-0-package-tgz.lock
100 silly lockFile 1827a833-ache-msnodesql-0-2-0-package-tgz C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package.tgz
101 silly lockFile 323ef9ae-pm-cache-msnodesql-0-2-0-package C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package
102 verbose lock C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package C:\Users\Kevin\AppData\Roaming\npm-cache\323ef9ae-pm-cache-msnodesql-0-2-0-package.lock
103 silly lockFile 323ef9ae-pm-cache-msnodesql-0-2-0-package C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package
104 verbose tar unpack C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package.tgz
105 silly lockFile 323ef9ae-pm-cache-msnodesql-0-2-0-package C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package
106 verbose lock C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package C:\Users\Kevin\AppData\Roaming\npm-cache\323ef9ae-pm-cache-msnodesql-0-2-0-package.lock
107 silly gunzTarPerm modes [ '755', '644' ]
108 silly gunzTarPerm extractEntry package.json
109 silly gunzTarPerm modified mode [ 'package.json', 438, 420 ]
110 silly gunzTarPerm extractEntry .npmignore
111 silly gunzTarPerm modified mode [ '.npmignore', 438, 420 ]
112 silly gunzTarPerm extractEntry README.md
113 silly gunzTarPerm modified mode [ 'README.md', 438, 420 ]
114 silly gunzTarPerm extractEntry LICENSE
115 silly gunzTarPerm modified mode [ 'LICENSE', 438, 420 ]
116 silly gunzTarPerm extractEntry binding.gyp
117 silly gunzTarPerm modified mode [ 'binding.gyp', 438, 420 ]
118 silly gunzTarPerm extractEntry CONTRIBUTING.md
119 silly gunzTarPerm modified mode [ 'CONTRIBUTING.md', 438, 420 ]
120 silly gunzTarPerm extractEntry CONTRIBUTORS
121 silly gunzTarPerm modified mode [ 'CONTRIBUTORS', 438, 420 ]
122 silly gunzTarPerm extractEntry lib/sql.js
123 silly gunzTarPerm modified mode [ 'lib/sql.js', 438, 420 ]
124 silly gunzTarPerm extractEntry lib/sqlserver.native.js
125 silly gunzTarPerm modified mode [ 'lib/sqlserver.native.js', 438, 420 ]
126 silly gunzTarPerm extractEntry src/OdbcHandle.h
127 silly gunzTarPerm modified mode [ 'src/OdbcHandle.h', 438, 420 ]
128 silly gunzTarPerm extractEntry src/Column.cpp
129 silly gunzTarPerm modified mode [ 'src/Column.cpp', 438, 420 ]
130 silly gunzTarPerm extractEntry src/Connection.cpp
131 silly gunzTarPerm modified mode [ 'src/Connection.cpp', 438, 420 ]
132 silly gunzTarPerm extractEntry src/Connection.h
133 silly gunzTarPerm modified mode [ 'src/Connection.h', 438, 420 ]
134 silly gunzTarPerm extractEntry src/CriticalSection.h
135 silly gunzTarPerm modified mode [ 'src/CriticalSection.h', 438, 420 ]
136 silly gunzTarPerm extractEntry src/OdbcConnection.cpp
137 silly gunzTarPerm modified mode [ 'src/OdbcConnection.cpp', 438, 420 ]
138 silly gunzTarPerm extractEntry src/OdbcConnection.h
139 silly gunzTarPerm modified mode [ 'src/OdbcConnection.h', 438, 420 ]
140 silly gunzTarPerm extractEntry src/OdbcConnectionBridge.h
141 silly gunzTarPerm modified mode [ 'src/OdbcConnectionBridge.h', 438, 420 ]
142 silly gunzTarPerm extractEntry src/OdbcError.cpp
143 silly gunzTarPerm modified mode [ 'src/OdbcError.cpp', 438, 420 ]
144 silly gunzTarPerm extractEntry src/OdbcError.h
145 silly gunzTarPerm modified mode [ 'src/OdbcError.h', 438, 420 ]
146 silly gunzTarPerm extractEntry src/Column.h
147 silly gunzTarPerm modified mode [ 'src/Column.h', 438, 420 ]
148 silly gunzTarPerm extractEntry src/OdbcOperation.cpp
149 silly gunzTarPerm modified mode [ 'src/OdbcOperation.cpp', 438, 420 ]
150 silly gunzTarPerm extractEntry src/OdbcOperation.h
151 silly gunzTarPerm modified mode [ 'src/OdbcOperation.h', 438, 420 ]
152 silly gunzTarPerm extractEntry src/Operation.h
153 silly gunzTarPerm modified mode [ 'src/Operation.h', 438, 420 ]
154 silly gunzTarPerm extractEntry src/ResultSet.cpp
155 silly gunzTarPerm modified mode [ 'src/ResultSet.cpp', 438, 420 ]
156 silly gunzTarPerm extractEntry src/ResultSet.h
157 silly gunzTarPerm modified mode [ 'src/ResultSet.h', 438, 420 ]
158 silly gunzTarPerm extractEntry src/sqlncli.h
159 silly gunzTarPerm modified mode [ 'src/sqlncli.h', 438, 420 ]
160 silly gunzTarPerm extractEntry src/stdafx.cpp
161 silly gunzTarPerm modified mode [ 'src/stdafx.cpp', 438, 420 ]
162 silly gunzTarPerm extractEntry src/stdafx.h
163 silly gunzTarPerm modified mode [ 'src/stdafx.h', 438, 420 ]
164 silly gunzTarPerm extractEntry src/Utility.cpp
165 silly gunzTarPerm modified mode [ 'src/Utility.cpp', 438, 420 ]
166 silly gunzTarPerm extractEntry src/Utility.h
167 silly gunzTarPerm modified mode [ 'src/Utility.h', 438, 420 ]
168 silly gunzTarPerm extractEntry test/CommonTestFunctions.js
169 silly gunzTarPerm modified mode [ 'test/CommonTestFunctions.js', 438, 420 ]
170 silly gunzTarPerm extractEntry test/connect.js
171 silly gunzTarPerm modified mode [ 'test/connect.js', 438, 420 ]
172 silly gunzTarPerm extractEntry test/datatypes.js
173 silly gunzTarPerm modified mode [ 'test/datatypes.js', 438, 420 ]
174 silly gunzTarPerm extractEntry test/dates.js
175 silly gunzTarPerm modified mode [ 'test/dates.js', 438, 420 ]
176 silly gunzTarPerm extractEntry test/compoundqueries.js
177 silly gunzTarPerm modified mode [ 'test/compoundqueries.js', 438, 420 ]
178 silly gunzTarPerm extractEntry test/query.js
179 silly gunzTarPerm modified mode [ 'test/query.js', 438, 420 ]
180 silly gunzTarPerm extractEntry test/runtests.js
181 silly gunzTarPerm modified mode [ 'test/runtests.js', 438, 420 ]
182 silly gunzTarPerm extractEntry test/test-config.js
183 silly gunzTarPerm modified mode [ 'test/test-config.js', 438, 420 ]
184 silly gunzTarPerm extractEntry test/txn.js
185 silly gunzTarPerm modified mode [ 'test/txn.js', 438, 420 ]
186 silly gunzTarPerm extractEntry test/params.js
187 silly gunzTarPerm modified mode [ 'test/params.js', 438, 420 ]
188 silly gunzTarPerm extractEntry test/testlist.txt
189 silly gunzTarPerm modified mode [ 'test/testlist.txt', 438, 420 ]
190 verbose read json C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package\package.json
191 silly lockFile 323ef9ae-pm-cache-msnodesql-0-2-0-package C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package
192 silly shasum updated bytes 40960
193 silly shasum updated bytes 29181
194 info shasum 5ab2a74d81941ccee23497373bbc5462566dc2ed
194 info shasum C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package.tgz
195 verbose from cache C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package\package.json
196 verbose chmod C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package.tgz 644
197 silly chown skipping for windows C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package.tgz
198 silly lockFile 6c0b5aab-rg-msnodesql-msnodesql-0-2-0-tgz https://registry.npmjs.org/msnodesql/-/msnodesql-0.2.0.tgz
199 silly lockFile 5c09b1cc-msnodesql-0-2-0 msnodesql@0.2.0
200 silly lockFile 0cd57691-msnodesql msnodesql@
201 silly resolved [ { name: 'msnodesql',
201 silly resolved description: 'Microsoft Driver for Node.js for SQL Server',
201 silly resolved author: { name: 'Microsoft Corp.' },
201 silly resolved contributors: [ [Object], [Object], [Object], [Object], [Object] ],
201 silly resolved version: '0.2.0',
201 silly resolved keywords:
201 silly resolved [ 'sql',
201 silly resolved 'database',
201 silly resolved 'mssql',
201 silly resolved 'azure',
201 silly resolved 'sqlserver',
201 silly resolved 'tds',
201 silly resolved 'microsoft',
201 silly resolved 'msnodesql',
201 silly resolved 'node-sqlserver' ],
201 silly resolved homepage: 'https://github.com/WindowsAzure/node-sqlserver',
201 silly resolved bugs: 'https://github.com/WindowsAzure/node-sqlserver/issues',
201 silly resolved licenses: [ [Object] ],
201 silly resolved main: './lib/sql.js',
201 silly resolved repository:
201 silly resolved { type: 'git',
201 silly resolved url: 'git://github.com/WindowsAzure/node-sqlserver.git' },
201 silly resolved engines: { node: '>=0.6' },
201 silly resolved devDependencies: { mocha: '0.14.x', async: '0.1.x' },
201 silly resolved os: [ 'win32' ],
201 silly resolved scripts: { install: 'node-gyp rebuild' },
201 silly resolved gypfile: true,
201 silly resolved readme: '# Microsoft Driver for Node.js for SQL Server\r\n\r\nThe Microsoft Driver for Node.js for SQL Server allows Node.js applications on\r\nMicrosoft Windows and Microsoft Windows Azure to access Microsoft SQL Server \r\nand Microsoft Windows Azure SQL Database.\r\n\r\nThis is an initial preview release, and is not production ready. We welcome any\r\nfeedback, fixes and contributions from the community at this very early stage.\r\n\r\n## Prerequisites\r\n\r\nThe following prerequisites are necessary prior to using the driver:\r\n\r\n* Node.js - use the latest version if possible, but it has been tested on node\r\n0.6.10 and later\r\n\r\n* node-gyp - latest version installed globally (npm install -g node-gyp)\r\n\r\n* python 2.7.x - for node-gyp (make sure it is in the path)\r\n\r\n* Visual C++ 2010 - the Express edition is freely available from \r\n[Microsoft][visualstudio]\r\n\r\n* SQL Server Native Client 11.0 - available as Microsoft SQL Server 2012 \r\nNative Client found in the [SQL Server 2012 Feature Pack][sqlncli]\r\n\r\n## Build\r\n\r\nTo build the driver, first node-gyp must configure the appropriate build files.\r\n\r\n node-gyp configure\r\n\r\nUse node-gyp to build the driver:\r\n\r\n node-gyp build\r\n\r\nOr to build the debug version:\r\n\r\n node-gyp build --debug\r\n\r\nThen copy the sqlserver.node file from the build\\(Release|Debug) directory to\r\nthe lib directory. If you would like to use Visual C++ to debug the driver,\r\nalso copy the sqlserver.pdb file from the same directory.\r\n\r\n## Test\r\n\r\nIncluded are a few unit tests. They require mocha, async, and assert to be \r\ninstalled via npm. Also, set the variables in test-config.js, then run the \r\ntests as follows:\r\n\r\n cd test\r\n node runtests.js\r\n\r\n## Known Issues\r\n\r\nWe are aware that many features are still not implemented, and are working to\r\nupdate these. Please visit the [project on Github][project] to view \r\noutstanding [issues][issues].\r\n\r\n## Usage\r\n\r\nFor now, please see the unit tests for usage examples.\r\n\r\n## Contribute Code\r\n\r\nIf you would like to become an active contributor to this project please follow the instructions provided in [the Contribution Guidelines][contribute].\r\n\r\n## License\r\n\r\nThe Microsoft Driver for Node.js for SQL Server is licensed under the Apache\r\n2.0 license. See the LICENSE file for more details.\r\n\r\n[visualstudio]: http://www.microsoft.com/visualstudio/\r\n\r\n[sqlncli]: http://www.microsoft.com/en-us/download/details.aspx?id=29065\r\n\r\n[project]: https://github.com/windowsazure/node-sqlserver\r\n\r\n[issues]: https://github.com/windowsazure/node-sqlserver/issues\r\n\r\n[contribute]: https://github.com/WindowsAzure/node-sqlserver/blob/master/CONTRIBUTING.md\r\n\r\n\r\n\r\n',
201 silly resolved readmeFilename: 'README.md',
201 silly resolved _id: 'msnodesql@0.2.0',
201 silly resolved dist: { shasum: '5ab2a74d81941ccee23497373bbc5462566dc2ed' },
201 silly resolved _from: 'msnodesql' } ]
202 info install msnodesql@0.2.0 into C:\Users\Kevin
203 info installOne msnodesql@0.2.0
204 verbose from cache C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package\package.json
205 info C:\Users\Kevin\node_modules\msnodesql unbuild
206 verbose read json C:\Users\Kevin\node_modules\msnodesql\package.json
207 verbose tar unpack C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package.tgz
208 silly lockFile 7386ce56-ers-Kevin-node-modules-msnodesql C:\Users\Kevin\node_modules\msnodesql
209 verbose lock C:\Users\Kevin\node_modules\msnodesql C:\Users\Kevin\AppData\Roaming\npm-cache\7386ce56-ers-Kevin-node-modules-msnodesql.lock
210 silly gunzTarPerm modes [ '755', '644' ]
211 silly gunzTarPerm extractEntry package.json
212 silly gunzTarPerm modified mode [ 'package.json', 438, 420 ]
213 silly gunzTarPerm extractEntry .npmignore
214 silly gunzTarPerm modified mode [ '.npmignore', 438, 420 ]
215 silly gunzTarPerm extractEntry README.md
216 silly gunzTarPerm modified mode [ 'README.md', 438, 420 ]
217 silly gunzTarPerm extractEntry LICENSE
218 silly gunzTarPerm modified mode [ 'LICENSE', 438, 420 ]
219 silly gunzTarPerm extractEntry binding.gyp
220 silly gunzTarPerm modified mode [ 'binding.gyp', 438, 420 ]
221 silly gunzTarPerm extractEntry CONTRIBUTING.md
222 silly gunzTarPerm modified mode [ 'CONTRIBUTING.md', 438, 420 ]
223 silly gunzTarPerm extractEntry CONTRIBUTORS
224 silly gunzTarPerm modified mode [ 'CONTRIBUTORS', 438, 420 ]
225 silly gunzTarPerm extractEntry lib/sql.js
226 silly gunzTarPerm modified mode [ 'lib/sql.js', 438, 420 ]
227 silly gunzTarPerm extractEntry lib/sqlserver.native.js
228 silly gunzTarPerm modified mode [ 'lib/sqlserver.native.js', 438, 420 ]
229 silly gunzTarPerm extractEntry src/OdbcHandle.h
230 silly gunzTarPerm modified mode [ 'src/OdbcHandle.h', 438, 420 ]
231 silly gunzTarPerm extractEntry src/Column.cpp
232 silly gunzTarPerm modified mode [ 'src/Column.cpp', 438, 420 ]
233 silly gunzTarPerm extractEntry src/Connection.cpp
234 silly gunzTarPerm modified mode [ 'src/Connection.cpp', 438, 420 ]
235 silly gunzTarPerm extractEntry src/Connection.h
236 silly gunzTarPerm modified mode [ 'src/Connection.h', 438, 420 ]
237 silly gunzTarPerm extractEntry src/CriticalSection.h
238 silly gunzTarPerm modified mode [ 'src/CriticalSection.h', 438, 420 ]
239 silly gunzTarPerm extractEntry src/OdbcConnection.cpp
240 silly gunzTarPerm modified mode [ 'src/OdbcConnection.cpp', 438, 420 ]
241 silly gunzTarPerm extractEntry src/OdbcConnection.h
242 silly gunzTarPerm modified mode [ 'src/OdbcConnection.h', 438, 420 ]
243 silly gunzTarPerm extractEntry src/OdbcConnectionBridge.h
244 silly gunzTarPerm modified mode [ 'src/OdbcConnectionBridge.h', 438, 420 ]
245 silly gunzTarPerm extractEntry src/OdbcError.cpp
246 silly gunzTarPerm modified mode [ 'src/OdbcError.cpp', 438, 420 ]
247 silly gunzTarPerm extractEntry src/OdbcError.h
248 silly gunzTarPerm modified mode [ 'src/OdbcError.h', 438, 420 ]
249 silly gunzTarPerm extractEntry src/Column.h
250 silly gunzTarPerm modified mode [ 'src/Column.h', 438, 420 ]
251 silly gunzTarPerm extractEntry src/OdbcOperation.cpp
252 silly gunzTarPerm modified mode [ 'src/OdbcOperation.cpp', 438, 420 ]
253 silly gunzTarPerm extractEntry src/OdbcOperation.h
254 silly gunzTarPerm modified mode [ 'src/OdbcOperation.h', 438, 420 ]
255 silly gunzTarPerm extractEntry src/Operation.h
256 silly gunzTarPerm modified mode [ 'src/Operation.h', 438, 420 ]
257 silly gunzTarPerm extractEntry src/ResultSet.cpp
258 silly gunzTarPerm modified mode [ 'src/ResultSet.cpp', 438, 420 ]
259 silly gunzTarPerm extractEntry src/ResultSet.h
260 silly gunzTarPerm modified mode [ 'src/ResultSet.h', 438, 420 ]
261 silly gunzTarPerm extractEntry src/sqlncli.h
262 silly gunzTarPerm modified mode [ 'src/sqlncli.h', 438, 420 ]
263 silly gunzTarPerm extractEntry src/stdafx.cpp
264 silly gunzTarPerm modified mode [ 'src/stdafx.cpp', 438, 420 ]
265 silly gunzTarPerm extractEntry src/stdafx.h
266 silly gunzTarPerm modified mode [ 'src/stdafx.h', 438, 420 ]
267 silly gunzTarPerm extractEntry src/Utility.cpp
268 silly gunzTarPerm modified mode [ 'src/Utility.cpp', 438, 420 ]
269 silly gunzTarPerm extractEntry src/Utility.h
270 silly gunzTarPerm modified mode [ 'src/Utility.h', 438, 420 ]
271 silly gunzTarPerm extractEntry test/CommonTestFunctions.js
272 silly gunzTarPerm modified mode [ 'test/CommonTestFunctions.js', 438, 420 ]
273 silly gunzTarPerm extractEntry test/connect.js
274 silly gunzTarPerm modified mode [ 'test/connect.js', 438, 420 ]
275 silly gunzTarPerm extractEntry test/datatypes.js
276 silly gunzTarPerm modified mode [ 'test/datatypes.js', 438, 420 ]
277 silly gunzTarPerm extractEntry test/dates.js
278 silly gunzTarPerm modified mode [ 'test/dates.js', 438, 420 ]
279 silly gunzTarPerm extractEntry test/compoundqueries.js
280 silly gunzTarPerm modified mode [ 'test/compoundqueries.js', 438, 420 ]
281 silly gunzTarPerm extractEntry test/query.js
282 silly gunzTarPerm modified mode [ 'test/query.js', 438, 420 ]
283 silly gunzTarPerm extractEntry test/runtests.js
284 silly gunzTarPerm modified mode [ 'test/runtests.js', 438, 420 ]
285 silly gunzTarPerm extractEntry test/test-config.js
286 silly gunzTarPerm modified mode [ 'test/test-config.js', 438, 420 ]
287 silly gunzTarPerm extractEntry test/txn.js
288 silly gunzTarPerm modified mode [ 'test/txn.js', 438, 420 ]
289 silly gunzTarPerm extractEntry test/params.js
290 silly gunzTarPerm modified mode [ 'test/params.js', 438, 420 ]
291 silly gunzTarPerm extractEntry test/testlist.txt
292 silly gunzTarPerm modified mode [ 'test/testlist.txt', 438, 420 ]
293 verbose read json C:\Users\Kevin\node_modules\msnodesql\package.json
294 silly lockFile 7386ce56-ers-Kevin-node-modules-msnodesql C:\Users\Kevin\node_modules\msnodesql
295 info preinstall msnodesql@0.2.0
296 verbose from cache C:\Users\Kevin\node_modules\msnodesql\package.json
297 verbose readDependencies using package.json deps
298 verbose from cache C:\Users\Kevin\node_modules\msnodesql\package.json
299 verbose readDependencies using package.json deps
300 silly resolved []
301 verbose about to build C:\Users\Kevin\node_modules\msnodesql
302 info build C:\Users\Kevin\node_modules\msnodesql
303 verbose from cache C:\Users\Kevin\node_modules\msnodesql\package.json
304 verbose linkStuff [ false, false, false, 'C:\Users\Kevin\node_modules' ]
305 info linkStuff msnodesql@0.2.0
306 verbose linkBins msnodesql@0.2.0
307 verbose linkMans msnodesql@0.2.0
308 verbose rebuildBundles msnodesql@0.2.0
309 info install msnodesql@0.2.0
310 verbose unsafe-perm in lifecycle true
311 silly exec cmd "/c" "node-gyp rebuild"
312 silly cmd,/c,node-gyp rebuild,C:\Users\Kevin\node_modules\msnodesql spawning
313 info msnodesql@0.2.0 Failed to exec install script
314 info C:\Users\Kevin\node_modules\msnodesql unbuild
315 verbose from cache C:\Users\Kevin\node_modules\msnodesql\package.json
316 info preuninstall msnodesql@0.2.0
317 info uninstall msnodesql@0.2.0
318 verbose true,C:\Users\Kevin\node_modules,C:\Users\Kevin\node_modules unbuild msnodesql@0.2.0
319 info postuninstall msnodesql@0.2.0
320 error msnodesql@0.2.0 install: node-gyp rebuild
320 error cmd "/c" "node-gyp rebuild" failed with 1
321 error Failed at the msnodesql@0.2.0 install script.
321 error This is most likely a problem with the msnodesql package,
321 error not with npm itself.
321 error Tell the author that this fails on your system:
321 error node-gyp rebuild
321 error You can get their info via:
321 error npm owner ls msnodesql
321 error There is likely additional logging output above.
322 error System Windows_NT 6.1.7601
323 error command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "msnodesql"
324 error cwd C:\Users\Kevin
325 error node -v v0.8.14
326 error npm -v 1.1.65
327 error code ELIFECYCLE
328 verbose exit [ 1, true ]

@jkint
Collaborator

Yes, currently our driver requires a C++ compiler and node-gyp to be installed. We are working on solutions that do not require a C++ compiler. In the meantime, Visual C++ 2010 Express works.

Thanks.

@KevinBurton

I have VS 2012. Do I have to install VS 2010 also? node-gyp is installed. What else do I need?

C:\Users\Kevin>npm list
C:\Users\Kevin
├─┬ cassandra@0.1.0
│ └── thrift@0.7.0
├─┬ couchdb@0.3.8
│ ├── promised-io@0.2.3
│ └── request@2.2.9
├─┬ mongodb@1.1.11
│ └── bson@0.1.5
├─┬ neo4j@0.2.19
│ ├── coffee-script@1.3.3
│ ├── http-status@0.1.1
│ ├── request@2.9.203
│ └── streamline@0.4.5
├─┬ node-gyp@0.8.0
│ ├─┬ fstream@0.1.19
│ │ └── inherits@1.0.0
│ ├─┬ glob@3.1.14
│ │ └── inherits@1.0.0
│ ├── graceful-fs@1.1.14
│ ├─┬ minimatch@0.2.9
│ │ ├── lru-cache@2.0.4
│ │ └── sigmund@1.0.0
│ ├── mkdirp@0.3.4
│ ├─┬ nopt@2.0.0
│ │ └── abbrev@1.0.3
│ ├─┬ npmlog@0.0.2
│ │ └── ansi@0.1.2
│ ├── osenv@0.0.3
│ ├── request@2.9.203
│ ├── rimraf@2.0.2
│ ├── semver@1.1.0
│ ├─┬ tar@0.1.13
│ │ ├── block-stream@0.0.6
│ │ └── inherits@1.0.0
│ └── which@1.0.5
├── redis@0.8.2
└─┬ riak@1.0.3
└── poolee@0.3.0

@jkint
Collaborator

Unfortunately I believe so, because node-gyp (well, gyp which node-gyp uses) doesn't yet support VS 2012. However, before installing VS 2010, we can try to use 2012 in case I am incorrect.

The easiest thing is to clone the repository in a directory (probably node_modules, but any directory should suffice) and then attempt the build using node-gyp in the directory:

git clone http://github.com/WindowsAzure/node-sqlserver
cd node-sqlserver
node-gyp rebuild
@KevinBurton

The problem is with node-gyp rebuild. I get the error:

C:\Users\Kevin>cd node-sqlserver

C:\Users\Kevin\node-sqlserver>node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using node-gyp@0.8.0
gyp info using node@0.8.14 | win32 | x64
gyp ERR! configure error
gyp ERR! stack Error: Command failed: File "", line 1
gyp ERR! stack import platform; print platform.python_version();
gyp ERR! stack ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:540:15)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack at maybeClose (child_process.js:638:16)
gyp ERR! stack at Process._handle.onexit (child_process.js:680:5)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\Users\Kevin\AppData\Roaming\npm\node_modules\
node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Kevin\node-sqlserver
gyp ERR! node -v v0.8.14
gyp ERR! node-gyp -v v0.8.0
gyp ERR! not ok

Thank you for the step by step. This is relatively new to me.

@jguerin

Please install Visual C++ Express 2010 and let us know if that helps the configure step.

Thanks,

Jonathan

@KevinBurton

Still no luck:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install',
1 verbose cli 'msnodesql' ]
2 info using npm@1.1.65
3 info using node@v0.8.14
4 verbose node symlink C:\Program Files\nodejs\node.exe
5 verbose read json C:\Users\Kevin\package.json
6 verbose read json C:\Users\Kevin\node_modules\cassandra\package.json
7 verbose read json C:\Users\Kevin\node_modules\couchdb\package.json
8 verbose read json C:\Users\Kevin\node_modules\mongodb\package.json
9 verbose read json C:\Users\Kevin\node_modules\neo4j\package.json
10 verbose read json C:\Users\Kevin\node_modules\node-gyp\package.json
11 verbose read json C:\Users\Kevin\node_modules\redis\package.json
12 verbose read json C:\Users\Kevin\node_modules\riak\package.json
13 verbose read json C:\Users\Kevin\package.json
14 verbose cache add [ 'msnodesql', null ]
15 silly cache add name=undefined spec="msnodesql" args=["msnodesql",null]
16 verbose parsed url { pathname: 'msnodesql', path: 'msnodesql', href: 'msnodesql' }
17 silly lockFile 36f1ebb8-msnodesql msnodesql
18 verbose lock msnodesql C:\Users\Kevin\AppData\Roaming\npm-cache\36f1ebb8-msnodesql.lock
19 silly lockFile 36f1ebb8-msnodesql msnodesql
20 verbose addNamed [ 'msnodesql', '' ]
21 verbose addNamed [ null, '' ]
22 silly lockFile 0cd57691-msnodesql msnodesql@
23 verbose lock msnodesql@ C:\Users\Kevin\AppData\Roaming\npm-cache\0cd57691-msnodesql.lock
24 silly addNameRange { name: 'msnodesql', range: '', hasData: false }
25 verbose url raw msnodesql
26 verbose url resolving [ 'https://registry.npmjs.org/', './msnodesql' ]
27 verbose url resolved https://registry.npmjs.org/msnodesql
28 info trying registry request attempt 1 at 14:08:43
29 verbose etag "B7RBD1B3P3QCKHTZQO2XA7YKM"
30 http GET https://registry.npmjs.org/msnodesql
31 http 304 https://registry.npmjs.org/msnodesql
32 silly registry.get cb [ 304,
32 silly registry.get { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
32 silly registry.get etag: '"B7RBD1B3P3QCKHTZQO2XA7YKM"',
32 silly registry.get date: 'Wed, 21 Nov 2012 20:08:17 GMT',
32 silly registry.get 'content-length': '0' } ]
33 verbose etag msnodesql from cache
34 silly addNameRange number 2 { name: 'msnodesql', range: '', hasData: true }
35 silly addNameRange versions [ 'msnodesql', [ '0.1.0', '0.2.0' ] ]
36 verbose addNamed [ 'msnodesql', '0.2.0' ]
37 verbose addNamed [ '0.2.0', '0.2.0' ]
38 silly lockFile 5c09b1cc-msnodesql-0-2-0 msnodesql@0.2.0
39 verbose lock msnodesql@0.2.0 C:\Users\Kevin\AppData\Roaming\npm-cache\5c09b1cc-msnodesql-0-2-0.lock
40 verbose read json C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package\package.json
41 silly lockFile 5c09b1cc-msnodesql-0-2-0 msnodesql@0.2.0
42 silly lockFile 0cd57691-msnodesql msnodesql@
43 silly resolved [ { name: 'msnodesql',
43 silly resolved description: 'Microsoft Driver for Node.js for SQL Server',
43 silly resolved author: { name: 'Microsoft Corp.' },
43 silly resolved contributors: [ [Object], [Object], [Object], [Object], [Object] ],
43 silly resolved version: '0.2.0',
43 silly resolved keywords:
43 silly resolved [ 'sql',
43 silly resolved 'database',
43 silly resolved 'mssql',
43 silly resolved 'azure',
43 silly resolved 'sqlserver',
43 silly resolved 'tds',
43 silly resolved 'microsoft',
43 silly resolved 'msnodesql',
43 silly resolved 'node-sqlserver' ],
43 silly resolved homepage: 'https://github.com/WindowsAzure/node-sqlserver',
43 silly resolved bugs: 'https://github.com/WindowsAzure/node-sqlserver/issues',
43 silly resolved licenses: [ [Object] ],
43 silly resolved main: './lib/sql.js',
43 silly resolved repository:
43 silly resolved { type: 'git',
43 silly resolved url: 'git://github.com/WindowsAzure/node-sqlserver.git' },
43 silly resolved engines: { node: '>=0.6' },
43 silly resolved devDependencies: { mocha: '0.14.x', async: '0.1.x' },
43 silly resolved os: [ 'win32' ],
43 silly resolved scripts: { install: 'node-gyp rebuild' },
43 silly resolved gypfile: true,
43 silly resolved readme: '# Microsoft Driver for Node.js for SQL Server\r\n\r\nThe Microsoft Driver for Node.js for SQL Server allows Node.js applications on\r\nMicrosoft Windows and Microsoft Windows Azure to access Microsoft SQL Server \r\nand Microsoft Windows Azure SQL Database.\r\n\r\nThis is an initial preview release, and is not production ready. We welcome any\r\nfeedback, fixes and contributions from the community at this very early stage.\r\n\r\n## Prerequisites\r\n\r\nThe following prerequisites are necessary prior to using the driver:\r\n\r\n* Node.js - use the latest version if possible, but it has been tested on node\r\n0.6.10 and later\r\n\r\n* node-gyp - latest version installed globally (npm install -g node-gyp)\r\n\r\n* python 2.7.x - for node-gyp (make sure it is in the path)\r\n\r\n* Visual C++ 2010 - the Express edition is freely available from \r\n[Microsoft][visualstudio]\r\n\r\n* SQL Server Native Client 11.0 - available as Microsoft SQL Server 2012 \r\nNative Client found in the [SQL Server 2012 Feature Pack][sqlncli]\r\n\r\n## Build\r\n\r\nTo build the driver, first node-gyp must configure the appropriate build files.\r\n\r\n node-gyp configure\r\n\r\nUse node-gyp to build the driver:\r\n\r\n node-gyp build\r\n\r\nOr to build the debug version:\r\n\r\n node-gyp build --debug\r\n\r\nThen copy the sqlserver.node file from the build\\(Release|Debug) directory to\r\nthe lib directory. If you would like to use Visual C++ to debug the driver,\r\nalso copy the sqlserver.pdb file from the same directory.\r\n\r\n## Test\r\n\r\nIncluded are a few unit tests. They require mocha, async, and assert to be \r\ninstalled via npm. Also, set the variables in test-config.js, then run the \r\ntests as follows:\r\n\r\n cd test\r\n node runtests.js\r\n\r\n## Known Issues\r\n\r\nWe are aware that many features are still not implemented, and are working to\r\nupdate these. Please visit the [project on Github][project] to view \r\noutstanding [issues][issues].\r\n\r\n## Usage\r\n\r\nFor now, please see the unit tests for usage examples.\r\n\r\n## Contribute Code\r\n\r\nIf you would like to become an active contributor to this project please follow the instructions provided in [the Contribution Guidelines][contribute].\r\n\r\n## License\r\n\r\nThe Microsoft Driver for Node.js for SQL Server is licensed under the Apache\r\n2.0 license. See the LICENSE file for more details.\r\n\r\n[visualstudio]: http://www.microsoft.com/visualstudio/\r\n\r\n[sqlncli]: http://www.microsoft.com/en-us/download/details.aspx?id=29065\r\n\r\n[project]: https://github.com/windowsazure/node-sqlserver\r\n\r\n[issues]: https://github.com/windowsazure/node-sqlserver/issues\r\n\r\n[contribute]: https://github.com/WindowsAzure/node-sqlserver/blob/master/CONTRIBUTING.md\r\n\r\n\r\n\r\n',
43 silly resolved readmeFilename: 'README.md',
43 silly resolved _id: 'msnodesql@0.2.0',
43 silly resolved _from: 'msnodesql' } ]
44 info install msnodesql@0.2.0 into C:\Users\Kevin
45 info installOne msnodesql@0.2.0
46 verbose from cache C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package\package.json
47 info C:\Users\Kevin\node_modules\msnodesql unbuild
48 verbose read json C:\Users\Kevin\node_modules\msnodesql\package.json
49 verbose tar unpack C:\Users\Kevin\AppData\Roaming\npm-cache\msnodesql\0.2.0\package.tgz
50 silly lockFile 7386ce56-ers-Kevin-node-modules-msnodesql C:\Users\Kevin\node_modules\msnodesql
51 verbose lock C:\Users\Kevin\node_modules\msnodesql C:\Users\Kevin\AppData\Roaming\npm-cache\7386ce56-ers-Kevin-node-modules-msnodesql.lock
52 silly gunzTarPerm modes [ '755', '644' ]
53 silly gunzTarPerm extractEntry package.json
54 silly gunzTarPerm modified mode [ 'package.json', 438, 420 ]
55 silly gunzTarPerm extractEntry .npmignore
56 silly gunzTarPerm modified mode [ '.npmignore', 438, 420 ]
57 silly gunzTarPerm extractEntry README.md
58 silly gunzTarPerm modified mode [ 'README.md', 438, 420 ]
59 silly gunzTarPerm extractEntry LICENSE
60 silly gunzTarPerm modified mode [ 'LICENSE', 438, 420 ]
61 silly gunzTarPerm extractEntry binding.gyp
62 silly gunzTarPerm modified mode [ 'binding.gyp', 438, 420 ]
63 silly gunzTarPerm extractEntry CONTRIBUTING.md
64 silly gunzTarPerm modified mode [ 'CONTRIBUTING.md', 438, 420 ]
65 silly gunzTarPerm extractEntry CONTRIBUTORS
66 silly gunzTarPerm modified mode [ 'CONTRIBUTORS', 438, 420 ]
67 silly gunzTarPerm extractEntry lib/sql.js
68 silly gunzTarPerm modified mode [ 'lib/sql.js', 438, 420 ]
69 silly gunzTarPerm extractEntry lib/sqlserver.native.js
70 silly gunzTarPerm modified mode [ 'lib/sqlserver.native.js', 438, 420 ]
71 silly gunzTarPerm extractEntry src/OdbcHandle.h
72 silly gunzTarPerm modified mode [ 'src/OdbcHandle.h', 438, 420 ]
73 silly gunzTarPerm extractEntry src/Column.cpp
74 silly gunzTarPerm modified mode [ 'src/Column.cpp', 438, 420 ]
75 silly gunzTarPerm extractEntry src/Connection.cpp
76 silly gunzTarPerm modified mode [ 'src/Connection.cpp', 438, 420 ]
77 silly gunzTarPerm extractEntry src/Connection.h
78 silly gunzTarPerm modified mode [ 'src/Connection.h', 438, 420 ]
79 silly gunzTarPerm extractEntry src/CriticalSection.h
80 silly gunzTarPerm modified mode [ 'src/CriticalSection.h', 438, 420 ]
81 silly gunzTarPerm extractEntry src/OdbcConnection.cpp
82 silly gunzTarPerm modified mode [ 'src/OdbcConnection.cpp', 438, 420 ]
83 silly gunzTarPerm extractEntry src/OdbcConnection.h
84 silly gunzTarPerm modified mode [ 'src/OdbcConnection.h', 438, 420 ]
85 silly gunzTarPerm extractEntry src/OdbcConnectionBridge.h
86 silly gunzTarPerm modified mode [ 'src/OdbcConnectionBridge.h', 438, 420 ]
87 silly gunzTarPerm extractEntry src/OdbcError.cpp
88 silly gunzTarPerm modified mode [ 'src/OdbcError.cpp', 438, 420 ]
89 silly gunzTarPerm extractEntry src/OdbcError.h
90 silly gunzTarPerm modified mode [ 'src/OdbcError.h', 438, 420 ]
91 silly gunzTarPerm extractEntry src/Column.h
92 silly gunzTarPerm modified mode [ 'src/Column.h', 438, 420 ]
93 silly gunzTarPerm extractEntry src/OdbcOperation.cpp
94 silly gunzTarPerm modified mode [ 'src/OdbcOperation.cpp', 438, 420 ]
95 silly gunzTarPerm extractEntry src/OdbcOperation.h
96 silly gunzTarPerm modified mode [ 'src/OdbcOperation.h', 438, 420 ]
97 silly gunzTarPerm extractEntry src/Operation.h
98 silly gunzTarPerm modified mode [ 'src/Operation.h', 438, 420 ]
99 silly gunzTarPerm extractEntry src/ResultSet.cpp
100 silly gunzTarPerm modified mode [ 'src/ResultSet.cpp', 438, 420 ]
101 silly gunzTarPerm extractEntry src/ResultSet.h
102 silly gunzTarPerm modified mode [ 'src/ResultSet.h', 438, 420 ]
103 silly gunzTarPerm extractEntry src/sqlncli.h
104 silly gunzTarPerm modified mode [ 'src/sqlncli.h', 438, 420 ]
105 silly gunzTarPerm extractEntry src/stdafx.cpp
106 silly gunzTarPerm modified mode [ 'src/stdafx.cpp', 438, 420 ]
107 silly gunzTarPerm extractEntry src/stdafx.h
108 silly gunzTarPerm modified mode [ 'src/stdafx.h', 438, 420 ]
109 silly gunzTarPerm extractEntry src/Utility.cpp
110 silly gunzTarPerm modified mode [ 'src/Utility.cpp', 438, 420 ]
111 silly gunzTarPerm extractEntry src/Utility.h
112 silly gunzTarPerm modified mode [ 'src/Utility.h', 438, 420 ]
113 silly gunzTarPerm extractEntry test/CommonTestFunctions.js
114 silly gunzTarPerm modified mode [ 'test/CommonTestFunctions.js', 438, 420 ]
115 silly gunzTarPerm extractEntry test/connect.js
116 silly gunzTarPerm modified mode [ 'test/connect.js', 438, 420 ]
117 silly gunzTarPerm extractEntry test/datatypes.js
118 silly gunzTarPerm modified mode [ 'test/datatypes.js', 438, 420 ]
119 silly gunzTarPerm extractEntry test/dates.js
120 silly gunzTarPerm modified mode [ 'test/dates.js', 438, 420 ]
121 silly gunzTarPerm extractEntry test/compoundqueries.js
122 silly gunzTarPerm modified mode [ 'test/compoundqueries.js', 438, 420 ]
123 silly gunzTarPerm extractEntry test/query.js
124 silly gunzTarPerm modified mode [ 'test/query.js', 438, 420 ]
125 silly gunzTarPerm extractEntry test/runtests.js
126 silly gunzTarPerm modified mode [ 'test/runtests.js', 438, 420 ]
127 silly gunzTarPerm extractEntry test/test-config.js
128 silly gunzTarPerm modified mode [ 'test/test-config.js', 438, 420 ]
129 silly gunzTarPerm extractEntry test/txn.js
130 silly gunzTarPerm modified mode [ 'test/txn.js', 438, 420 ]
131 silly gunzTarPerm extractEntry test/params.js
132 silly gunzTarPerm modified mode [ 'test/params.js', 438, 420 ]
133 silly gunzTarPerm extractEntry test/testlist.txt
134 silly gunzTarPerm modified mode [ 'test/testlist.txt', 438, 420 ]
135 verbose read json C:\Users\Kevin\node_modules\msnodesql\package.json
136 silly lockFile 7386ce56-ers-Kevin-node-modules-msnodesql C:\Users\Kevin\node_modules\msnodesql
137 info preinstall msnodesql@0.2.0
138 verbose from cache C:\Users\Kevin\node_modules\msnodesql\package.json
139 verbose readDependencies using package.json deps
140 verbose from cache C:\Users\Kevin\node_modules\msnodesql\package.json
141 verbose readDependencies using package.json deps
142 silly resolved []
143 verbose about to build C:\Users\Kevin\node_modules\msnodesql
144 info build C:\Users\Kevin\node_modules\msnodesql
145 verbose from cache C:\Users\Kevin\node_modules\msnodesql\package.json
146 verbose linkStuff [ false, false, false, 'C:\Users\Kevin\node_modules' ]
147 info linkStuff msnodesql@0.2.0
148 verbose linkBins msnodesql@0.2.0
149 verbose linkMans msnodesql@0.2.0
150 verbose rebuildBundles msnodesql@0.2.0
151 info install msnodesql@0.2.0
152 verbose unsafe-perm in lifecycle true
153 silly exec cmd "/c" "node-gyp rebuild"
154 silly cmd,/c,node-gyp rebuild,C:\Users\Kevin\node_modules\msnodesql spawning
155 info msnodesql@0.2.0 Failed to exec install script
156 info C:\Users\Kevin\node_modules\msnodesql unbuild
157 verbose from cache C:\Users\Kevin\node_modules\msnodesql\package.json
158 info preuninstall msnodesql@0.2.0
159 info uninstall msnodesql@0.2.0
160 verbose true,C:\Users\Kevin\node_modules,C:\Users\Kevin\node_modules unbuild msnodesql@0.2.0
161 info postuninstall msnodesql@0.2.0
162 error msnodesql@0.2.0 install: node-gyp rebuild
162 error cmd "/c" "node-gyp rebuild" failed with 1
163 error Failed at the msnodesql@0.2.0 install script.
163 error This is most likely a problem with the msnodesql package,
163 error not with npm itself.
163 error Tell the author that this fails on your system:
163 error node-gyp rebuild
163 error You can get their info via:
163 error npm owner ls msnodesql
163 error There is likely additional logging output above.
164 error System Windows_NT 6.1.7601
165 error command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "msnodesql"
166 error cwd C:\Users\Kevin
167 error node -v v0.8.14
168 error npm -v 1.1.65
169 error code ELIFECYCLE
170 verbose exit [ 1, true ]

@jguerin

Are you executing this using the Visual Studio Developer prompt?

Thanks,

Jonathan

@KevinBurton

No just a command prompt. Bu I tried from a "developer command window" and I basically received the same error:

C:\Users\Kevin\node_modules\msnodesql>node "C:\Program Files\nodejs\node_modules
\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: Command failed: File "", line 1
gyp ERR! stack import platform; print platform.python_version();
gyp ERR! stack ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:540:15)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack at maybeClose (child_process.js:638:16)
gyp ERR! stack at Process._handle.onexit (child_process.js:680:5)
gyp ERR! System Windows_NT 6.1.7601
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:\Users\Kevin\node_modules\msnodesql
gyp ERR! node -v v0.8.14
gyp ERR! node-gyp -v v0.7.1
gyp ERR! not ok
npm ERR! msnodesql@0.2.0 install: node-gyp rebuild
npm ERR! cmd "/c" "node-gyp rebuild" failed with 1
npm ERR!
npm ERR! Failed at the msnodesql@0.2.0 install script.
npm ERR! This is most likely a problem with the msnodesql package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls msnodesql
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "install" "msnodesql"
npm ERR! cwd C:\Users\Kevin
npm ERR! node -v v0.8.14
npm ERR! npm -v 1.1.65
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\Kevin\npm-debug.log
npm ERR! not ok code 0

C:\Users\Kevin>

@jguerin

Can you try the following guide, but run it from the Visual Studio Command Prompt? You'll find it in your Start Menu/Screen.

http://dailyjs.com/2012/05/17/windows-and-node-3/
@jguerin

Ok, worked it out. By default, Node.js provides you with the 64-bit Node.js MSI installer. From the node-gyp documentation here are the requirements:

On Windows:
Python (v2.7.2 recommended, v3.x.x not yet supported)
Microsoft Visual C++ (Express version works well)
For 64-bit builds of node and native modules you will also need the Windows 7 64-bit SDK

If you don't want to have to also install the Windows 7 64-bit SDK, you will need to make sure you choose the 32-bit MSI installer from the Node.js download page.

@KevinBurton

I did have Python v3.x.x installed. I uninstalled it and install v2.7.3. I also 'repaired' the Windows 7 64-bit SDK. I had it installed already. I get a different error now:

C:\Users\Kevin\node_modules\msnodesql>node "C:\Program Files\nodejs\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.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.InvalidPlatform
.Targets(23,7): error MSB8007: The Platform for project 'sqlserver.vcxproj' is
invalid. Platform='x64'. You may be seeing this message because you are trying
to build a project without a solution file, and have specified a non-default P
latform that doesn't exist for this project. [C:\Users\Kevin\node_modules\msnod
esql\build\sqlserver.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: msbuild failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\
npm\node_modules\node-gyp\lib\build.js:236:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Windows_NT 6.1.7601
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:\Users\Kevin\node_modules\msnodesql
gyp ERR! node -v v0.8.14
gyp ERR! node-gyp -v v0.7.1
gyp ERR! not ok
npm ERR! msnodesql@0.2.0 install: node-gyp rebuild
npm ERR! cmd "/c" "node-gyp rebuild" failed with 1
npm ERR!
npm ERR! Failed at the msnodesql@0.2.0 install script.
npm ERR! This is most likely a problem with the msnodesql package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls msnodesql
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "install" "msnodesql"
npm ERR! cwd C:\Users\Kevin
npm ERR! node -v v0.8.14
npm ERR! npm -v 1.1.65
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\Kevin\npm-debug.log
npm ERR! not ok code 0

@jguerin

Make sure you've got the following things installed correctly:

  • Visual C++ Express 2010 installed
  • Node.js 0.8.0 32-bit
  • Python 2.7.3

Make sure you're doing the following things correctly:

  • Using the 'Visual Studio Command Prompt (2010)'
  • Adding Python and Node to your path:
set PATH=%PATH%;C:\Python27;C:\Program Files (x86)\nodejs
  • Install node-gyp globally:
npm install -g node-gyp
  • Try to rebuild again:
node-gyp rebuild

The following error message you've got leads me to suspect you're trying to build x86 from a 64-bit command prompt:

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.InvalidPlatform
.Targets(23,7): error MSB8007: The Platform for project 'sqlserver.vcxproj' is
invalid. Platform='x64'. You may be seeing this message because you are trying
to build a project without a solution file, and have specified a non-default P
latform that doesn't exist for this project. [C:\Users\Kevin\node_modules\msnod
esql\build\sqlserver.vcxproj]
@KevinBurton

Python33 was in my path even though I uninstalled it. What is worse Pythonxxx doesn't show up in the environment variables so it is getting set somewhere else that I don't know. It is set at the middle of the PATH environment. But that is a separate issue. I get to the step 'node-gyp rebuild' and I get

C:\Users\Kevin>node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using node-gyp@0.8.0
gyp info using node@0.8.14 | win32 | x64
gyp info spawn python
gyp info spawn args [ 'C:\Users\Kevin\.node-gyp\0.8.14\tools\gyp\gyp',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'msvs',
gyp info spawn args '-G',
gyp info spawn args 'msvs_version=auto',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\Kevin\build\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\Kevin\AppData\Roaming\npm\node_modules\no
de-gyp\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\Kevin\.node-gyp\0.8.14\common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=C:\Users\Kevin\.node-gyp\0.8.14',
gyp info spawn args '-Dmodule_root_dir=C:\Users\Kevin',
gyp info spawn args '--depth=.',
gyp info spawn args '--generator-output',
gyp info spawn args 'C:\Users\Kevin\build',
gyp info spawn args '-Goutput_dir=.' ]
Traceback (most recent call last):
File "C:\Users\Kevin.node-gyp\0.8.14\tools\gyp\gyp", line 18, in
sys.exit(gyp.main(sys.argv[1:]))
File "C:\Users\Kevin.node-gyp\0.8.14\tools\gyp\pylib\gyp__init__.py", line 5
11, in main
return gyp_main(args)
File "C:\Users\Kevin.node-gyp\0.8.14\tools\gyp\pylib\gyp__init__.py", line 4
94, in gyp_main
options.circular_check)
File "C:\Users\Kevin.node-gyp\0.8.14\tools\gyp\pylib\gyp__init__.py", line 1
33, in Load
depth, generator_input_info, check, circular_check)
File "C:\Users\Kevin.node-gyp\0.8.14\tools\gyp\pylib\gyp\input.py", line 2378
, in Load
depth, check)
File "C:\Users\Kevin.node-gyp\0.8.14\tools\gyp\pylib\gyp\input.py", line 358,
in LoadTargetBuildFile
includes, True, check)
File "C:\Users\Kevin.node-gyp\0.8.14\tools\gyp\pylib\gyp\input.py", line 208,
in LoadOneBuildFile
raise Exception("%s not found (cwd: %s)" % (build_file_path, os.getcwd()))
Exception: binding.gyp not found (cwd: C:\Users\Kevin) while trying to load bind
ing.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (C:\Users\Kevin\AppData\Roaming\npm\
node_modules\node-gyp\lib\configure.js:420:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\Users\Kevin\AppData\Roaming\npm\node_modules\
node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Kevin
gyp ERR! node -v v0.8.14
gyp ERR! node-gyp -v v0.8.0
gyp ERR! not ok

@jguerin

Hi,

You are not executing node-gyp from the module's directory!

Also, make sure you run python -V to see if you have python 2.7 installed.

Finally, this line is still making me think you're doing something with 64-bit somewhere:

gyp info using node@0.8.14 | win32 | x64

Notice on mine, how it says win32 | ia32?

>node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using node-gyp@0.8.0
gyp info using node@0.8.14 | win32 | ia32
@KevinBurton

Same error:

C:\Users\Kevin\node-sqlserver>node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using node-gyp@0.8.0
gyp info using node@0.8.14 | win32 | x64
gyp info spawn python
gyp info spawn args [ 'C:\Users\Kevin\.node-gyp\0.8.14\tools\gyp\gyp',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'msvs',
gyp info spawn args '-G',
gyp info spawn args 'msvs_version=auto',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\Kevin\node-sqlserver\build\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\Kevin\AppData\Roaming\npm\node_modules\no
de-gyp\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\Kevin\.node-gyp\0.8.14\common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=C:\Users\Kevin\.node-gyp\0.8.14',
gyp info spawn args '-Dmodule_root_dir=C:\Users\Kevin\node-sqlserver',
gyp info spawn args '--depth=.',
gyp info spawn args '--generator-output',
gyp info spawn args 'C:\Users\Kevin\node-sqlserver\build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info spawn msbuild
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. To enable parallel build,
please add the "/m" switch.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.InvalidPlatform
.Targets(23,7): error MSB8007: The Platform for project 'sqlserver.vcxproj' is
invalid. Platform='x64'. You may be seeing this message because you are trying
to build a project without a solution file, and have specified a non-default P
latform that doesn't exist for this project. [C:\Users\Kevin\node-sqlserver\bui
ld\sqlserver.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: msbuild failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\Kevin\AppData\Roaming\npm\no
de_modules\node-gyp\lib\build.js:232:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\Users\Kevin\AppData\Roaming\npm\node_modules\
node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Kevin\node-sqlserver
gyp ERR! node -v v0.8.14
gyp ERR! node-gyp -v v0.8.0
gyp ERR! not ok

I have python 2.7.3

C:\Users\Kevin\node-sqlserver>python -V
Python 2.7.3

If I am trying to build x86 where is that specified?

@jguerin

Kevin,

Where is your nodejs directory (the runtime itself) located right now?

Thanks,

@jkint
Collaborator

You should be able to find it with the where command:

where node.exe

The first one in the list is the one its using.

If you're using the 32 bit version of node.js, it should be in the C:\Program Files (x86)\node.js directory.

From the error message, it sounds like you're using the 64 bit version of node.js.

The other solution would be to install the Windows 7 x64 SDK, as per the node-gyp instruction page.

@KevinBurton

This is what I get:

C:\Users\Kevin>where node.exe
C:\Program Files\nodejs\node.exe

This would be the 64 bit version. I have installed the 64 bit version of the SDK.

@jguerin

Kevin,

This means that you are executing node-gyp from a 32-bit command prompt. You will need to run the Windows SDK 64-bit command prompt instead of the Visual Studio one.

Cheers,

Jonathan

@KevinBurton

Thanks for sticking with me. Now 'npm install msnodesql' gets this far:

C:\Users\Kevin>npm install msnodesql
npm http GET https://registry.npmjs.org/msnodesql
npm http 304 https://registry.npmjs.org/msnodesql

msnodesql@0.2.0 install C:\Users\Kevin\node_modules\msnodesql
node-gyp rebuild

and hangs. It has been running this all night. I finally killed it this morning.The same thing happens with I go to the source and issue 'node-gyp configure'.

C:\Users\Kevin\node-sqlserver>node-gyp configure
gyp info it worked if it ends with ok
gyp info using node-gyp@0.8.0
gyp info using node@0.8.14 | win32 | x64

It just hangs there on the last line.The same thing happens with 'node-gyp rebuild' since it looks like it calls 'configure' internally.

@jguerin

Kevin,

It looks like you are still trying to build from a 64-bit command prompt.

Please make sure you install Node.js 32-bit, Visual Studio C++ Express and use the Visual Studio command prompt.

Cheers,

Jonathan

@KevinBurton

I thought this was a solution:

 "The other solution would be to install the Windows 7 x64 SDK, as per the node-gyp instruction page"

My nodel.js installation is for 64 bit that is what my OS is. Does msnodesql not support 64-bit?

@jguerin

Hi Kevin,

Without being able to see how you've configured your computer, I am trying to come back to a common ground we can work from. If you could please follow my instructions, then it would greatly assist me in assisting you :)

You can run 32-bit Node.js on a 64-bit Windows OS.

Cheers,

Jonathan

@KevinBurton

I have installed 64-bit Node.js. Do I need to uninstall this and install a 32-bit version just for msnodesql? My SQL Server is 64-bit, SSMS is 64-bit, Visual Studio is 64-bit. It is hard for me to uninstall node.js as it already has a number of dependencies. Given that I have 64-bit Node.js is there a way to install msnodesql?

@jguerin

Node.js has absolutely no dependency on SQL Server's architecture type. You will be communicating to SQL Server via TDS, which also has no dependency on the architecture type.

The reason I'm trying to get you to install the 32-bit version is that it is the simplest way to get node-gyp working. Yes, please uninstall Node.js 64-bit and replace it with the 32-bit version. It will not affect your existing 64-bit installations, nor will it preclude you from connecting to a 64-bit SQL Server instance.

@KevinBurton

I uninstalled the 64-bit node.js (when it was installed the question wasn't asked whether to install 32 or 64 bit there is just an 'install' button on nodejs.org). I went to download and installed the 32-bit version. msnodesql installs just fine now. Thank you me. You should put a note somewhere that 64-bit is not supported.

@jguerin

Hi Kevin,

msnodesql actually builds fine in 64-bit if you use the right compiler and node.js version. :) I got you to build it in 32-bit because we weren't getting very far trying to fix the environment issues in your case. You can try again if you want to build in 64-bit...?

For now, you've fixed your issue and I'm closing this.

Cheers,

Jonathan

@jguerin jguerin closed this
@KevinBurton
@jguerin jguerin reopened this
@jguerin

Do you have the Windows 64-bit SDK installed?

Note this is a requirement from node-gyp.

You can also read up more info about using Node.js in 64-bit mode here.

@KevinBurton

I have the SDK installed it was from that prompt that the installation of msnodesql "hung". Any more "hints"?

@jguerin

Can you please provide the log of the output? Also what happens when you simply run node-gyp rebuild?

@KevinBurton

Same as before. This was from the Node.js command window:

Your environment has been set up for using Node.js 0.8.15 (x64) and NPM

C:\Users\Kevin>npm install msnodesql
npm http GET https://registry.npmjs.org/msnodesql
npm http 304 https://registry.npmjs.org/msnodesql

msnodesql@0.2.0 install C:\Users\Kevin\node_modules\msnodesql
node-gyp rebuild

C:\Users\Kevin\node_modules\msnodesql>node "C:\Program Files\nodejs\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.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.InvalidPlatform
.Targets(23,7): error MSB8007: The Platform for project 'sqlserver.vcxproj' is
invalid. Platform='x64'. You may be seeing this message because you are trying
to build a project without a solution file, and have specified a non-default P
latform that doesn't exist for this project. [C:\Users\Kevin\node_modules\msnod
esql\build\sqlserver.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\
npm\node_modules\node-gyp\lib\build.js:236:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Windows_NT 6.1.7601
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:\Users\Kevin\node_modules\msnodesql
gyp ERR! node -v v0.8.15
gyp ERR! node-gyp -v v0.7.1
gyp ERR! not ok
npm ERR! msnodesql@0.2.0 install: node-gyp rebuild
npm ERR! cmd "/c" "node-gyp rebuild" failed with 1
npm ERR!
npm ERR! Failed at the msnodesql@0.2.0 install script.
npm ERR! This is most likely a problem with the msnodesql package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls msnodesql
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "install" "msnodesql"
npm ERR! cwd C:\Users\Kevin
npm ERR! node -v v0.8.15
npm ERR! npm -v 1.1.66
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\Kevin\npm-debug.log
npm ERR! not ok code 0

C:\Users\Kevin>

@jkint
Collaborator

I'm not sure what is happening. Let me share my environment with you and see if this helps.

First, there are the compilers and SDKs. They must be installed in this order:

You should have two command prompts entitled:

  • Visual Studio 2010 Command Prompt - use this to build 32 bit msnodesql
  • Windows 7.1 SDK Command Prompt - use this to build 64 bit msnodesql

Install the following if not already installed

  • node.js (will install npm, -v for me says 0.8.8 so anything later than that should work)
  • node-gyp (-v says 0.8.1 for me)

node-gyp will try and build the platform version dependent on the version of node that it is using; if node-gyp is being run by a 64 bit version of node, it will try and build a 64 bit version of msnodesql.

Use 'node -v' to determine the version of node. An easy to way to determine which platform node is built for, I use "where node.exe". If it's in "C:\Program Files\..." then it's x64. If it's in "C:\Program Files (x86)\..." then it's x86. You can also use 'process.arch' at the node.js REPL to determine which platform node.js is.

I hope this helps. Let me know what your results are.

@KevinBurton

This is on a Windows 8 machine (I don't know if it makes any difference). But when I try to install the SDK I get many errors like (in the log file):

11/30/12 09:26:27 DDSet_Status: LANGID: 1033
11/30/12 09:26:27 DDSet_Entry: ImmediateDispatch: DDSE_CA_Uninstall_InstallExecuteSequenceStarts entry
11/30/12 09:26:27 DDSet_Error: Patch Hooks: Missing required property 'ProductFamily': Setup cannot continue.
11/30/12 09:26:27 DDSet_Warning: Setup failed while calling 'getDLLName'. System error: Cannot create a file when that file already exists.

I don't see a 7.1 SDK installed so I can't uninstall it.

@KevinBurton

I managed to get node-gyp to work using --msvs_version=2012 but now the build fails:

C:\Users\kevinb>npm install msnodesql --msvs_version=2012

msnodesql@0.2.0 install C:\Users\kevinb\node_modules\msnodesql
node-gyp rebuild

C:\Users\kevinb\node_modules\msnodesql>node "C:\Program Files\nodejs\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.
stdafx.cpp
Connection.cpp
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xlocale(336): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xlocale(336): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\src\stdafx.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(90): error C2143: syntax error : missing ';' before '<' (..\src\stdafx.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(120) : see reference to class template instantiation 'mssql::OdbcHandle' being compiled
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(90): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\stdafx.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(91): error C2334: unexpected token(s) preceding '{'; skipping apparent function body (..\src\stdafx.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\stdafx.h(42): warning C4005: 'interface' : macro redefinition (..\src\stdafx.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
C:\Program Files (x86)\Windows Kits\8.0\Include\um\combaseapi.h(204) : see previous definition of 'interface'
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(90): error C2143: syntax error : missing ';' before '<' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(120) : see reference to class template instantiation 'mssql::OdbcHandle' being compiled
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(90): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(91): error C2334: unexpected token(s) preceding '{'; skipping apparent function body (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\stdafx.h(42): warning C4005: 'interface' : macro redefinition (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
C:\Program Files (x86)\Windows Kits\8.0\Include\um\combaseapi.h(204) : see previous definition of 'interface'
c:\users\kevinb\node_modules\msnodesql\src\Column.h(39): error C2061: syntax error : identifier 'unique_ptr' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(56): error C2143: syntax error : missing ';' before '<' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(56): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(56): error C2238: unexpected token(s) preceding ';' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(42): error C2039: 'text' : is not a member of 'mssql::StringColumn' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(33) : see declaration of 'mssql::StringColumn'
c:\users\kevinb\node_modules\msnodesql\src\Column.h(42): error C2065: 'text' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(49): error C2065: 'text' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(49): error C2227: left of '->data' must point to class/struct/union/generic type (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
c:\users\kevinb\node_modules\msnodesql\src\Column.h(49): error C2227: left of '->size' must point to class/struct/union/generic type (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
c:\users\kevinb\node_modules\msnodesql\src\Column.h(72): warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
Column.cpp
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(62): error C2061: syntax error : identifier 'shared_ptr' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(67): error C2143: syntax error : missing ';' before '<' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(67): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(68): error C2334: unexpected token(s) preceding '{'; skipping apparent function body (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(87): error C2143: syntax error : missing ';' before '<' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(87): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(87): error C2238: unexpected token(s) preceding ';' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(47): error C2065: 'column' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(47): error C2228: left of '.reset' must have class/struct/union (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(57): warning C4267: 'return' : conversion from 'size_t' to 'int', possible loss of data (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(64): error C2039: 'column' : is not a member of 'mssql::ResultSet' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(29) : see declaration of 'mssql::ResultSet'
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(64): error C2065: 'column' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(38): error C2143: syntax error : missing ';' before '<' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(38): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(38): error C2238: unexpected token(s) preceding ';' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(44): error C2143: syntax error : missing ';' before '<' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(44): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(44): error C2238: unexpected token(s) preceding ';' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(48): error C2061: syntax error : identifier 'shared_ptr' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(48): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(53): error C2614: 'mssql::OdbcOperation' : illegal member initialization: 'failure' is not a base or member (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(53): error C2614: 'mssql::OdbcOperation' : illegal member initialization: 'connection' is not a base or member (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(75): error C2061: syntax error : identifier 'shared_ptr' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(75): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(143): error C2061: syntax error : identifier 'shared_ptr' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(162): error C2061: syntax error : identifier 'shared_ptr' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(162): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(180): error C2061: syntax error : identifier 'shared_ptr' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(180): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(194): error C2061: syntax error : identifier 'shared_ptr' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(194): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(207): error C2061: syntax error : identifier 'shared_ptr' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(207): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(220): error C2061: syntax error : identifier 'shared_ptr' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(220): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(236): error C2061: syntax error : identifier 'shared_ptr' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(236): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(253): error C2061: syntax error : identifier 'shared_ptr' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(253): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(42): error C2143: syntax error : missing ';' before '<' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(42): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(42): error C2238: unexpected token(s) preceding ';' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(61): error C2143: syntax error : missing ';' before '<' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(61): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(61): error C2238: unexpected token(s) preceding ';' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(112): error C2143: syntax error : missing ';' before '<' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(112): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(113): error C2334: unexpected token(s) preceding '{'; skipping apparent function body (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(68): error C2614: 'mssql::OdbcConnection' : illegal member initialization: 'error' is not a base or member (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(87): error C2065: 'resultset' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(87): error C2227: left of '->MetaToValue' must point to class/struct/union/generic type (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(99): error C2065: 'resultset' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(99): error C2227: left of '->EndOfRows' must point to class/struct/union/generic type (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(106): error C2065: 'shared_ptr' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(106): error C2275: 'mssql::Column' : illegal use of this type as an expression (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(27) : see declaration of 'mssql::Column'
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(106): error C2065: 'resultset' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(106): error C2227: left of '->GetColumn' must point to class/struct/union/generic type (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(107): error C2227: left of '->ToValue' must point to class/struct/union/generic type (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is 'int'
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(108): error C2227: left of '->More' must point to class/struct/union/generic type (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is 'int'
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(154): error C2143: syntax error : missing ';' before '<' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(154): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(154): error C2238: unexpected token(s) preceding ';' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(37): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(37): error C2065: 'make_shared' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(37): error C2275: 'mssql::OdbcConnection' : illegal use of this type as an expression (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(31) : see declaration of 'mssql::OdbcConnection'
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(37): error C2059: syntax error : ')' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(44): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(52): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(60): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(70): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(80): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(90): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(106): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(116): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(117): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(117): error C2227: left of '->resultset' must point to class/struct/union/generic type (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(119): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(119): error C2227: left of '->resultset' must point to class/struct/union/generic type (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(119): error C2227: left of '->RowCount' must point to class/struct/union/generic type (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(126): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(136): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnectionBridge.h(146): error C2065: 'connection' : undeclared identifier (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Connection.h(34): error C2143: syntax error : missing ';' before '<' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Connection.h(34): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Connection.h(34): error C2238: unexpected token(s) preceding ';' (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Connection.h(39): error C2614: 'mssql::Connection' : illegal member initialization: 'innerConnection' is not a base or member (..\src\Connection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\Connection.cpp(63): error C2065: 'innerConnection' : undeclared identifier [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\Connection.cpp(63): error C2227: left of '->Collect' must point to class/struct/union/generic type [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
..\src\Connection.cpp(74): error C2039: 'innerConnection' : is not a member of 'mssql::Connection' [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Connection.h(29) : see declaration of 'mssql::Connection'
..\src\Connection.cpp(74): error C2227: left of '->Close' must point to class/struct/union/generic type [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\Connection.cpp(85): error C2039: 'innerConnection' : is not a member of 'mssql::Connection' [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Connection.h(29) : see declaration of 'mssql::Connection'
..\src\Connection.cpp(85): error C2227: left of '->BeginTransaction' must point to class/struct/union/generic type [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\Connection.cpp(96): error C2039: 'innerConnection' : is not a member of 'mssql::Connection' [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Connection.h(29) : see declaration of 'mssql::Connection'
..\src\Connection.cpp(96): error C2227: left of '->Commit' must point to class/struct/union/generic type [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\Connection.cpp(107): error C2039: 'innerConnection' : is not a member of 'mssql::Connection' [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Connection.h(29) : see declaration of 'mssql::Connection'
..\src\Connection.cpp(107): error C2227: left of '->Rollback' must point to class/struct/union/generic type [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\Connection.cpp(135): error C2039: 'innerConnection' : is not a member of 'mssql::Connection' [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Connection.h(29) : see declaration of 'mssql::Connection'
..\src\Connection.cpp(135): error C2227: left of '->Query' must point to class/struct/union/generic type [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\Connection.cpp(146): error C2039: 'innerConnection' : is not a member of 'mssql::Connection' [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Connection.h(29) : see declaration of 'mssql::Connection'
..\src\Connection.cpp(146): error C2227: left of '->ReadRow' must point to class/struct/union/generic type [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\Connection.cpp(158): error C2039: 'innerConnection' : is not a member of 'mssql::Connection' [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Connection.h(29) : see declaration of 'mssql::Connection'
..\src\Connection.cpp(158): fatal error C1003: error count exceeds 100; stopping compilation [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
OdbcError.cpp
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xlocale(336): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\src\Column.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xlocale(336): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\src\OdbcError.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(90): error C2143: syntax error : missing ';' before '<' (..\src\Column.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(120) : see reference to class template instantiation 'mssql::OdbcHandle' being compiled
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(90): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\Column.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(91): error C2334: unexpected token(s) preceding '{'; skipping apparent function body (..\src\Column.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\stdafx.h(42): warning C4005: 'interface' : macro redefinition (..\src\Column.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
C:\Program Files (x86)\Windows Kits\8.0\Include\um\combaseapi.h(204) : see previous definition of 'interface'
c:\users\kevinb\node_modules\msnodesql\src\Column.h(39): error C2061: syntax error : identifier 'unique_ptr' (..\src\Column.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(56): error C2143: syntax error : missing ';' before '<' (..\src\Column.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(56): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\Column.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(56): error C2238: unexpected token(s) preceding ';' (..\src\Column.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(42): error C2039: 'text' : is not a member of 'mssql::StringColumn' (..\src\Column.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(33) : see declaration of 'mssql::StringColumn'
c:\users\kevinb\node_modules\msnodesql\src\Column.h(42): error C2065: 'text' : undeclared identifier (..\src\Column.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(49): error C2065: 'text' : undeclared identifier (..\src\Column.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(49): error C2227: left of '->data' must point to class/struct/union/generic type (..\src\Column.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
c:\users\kevinb\node_modules\msnodesql\src\Column.h(49): error C2227: left of '->size' must point to class/struct/union/generic type (..\src\Column.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
c:\users\kevinb\node_modules\msnodesql\src\Column.h(72): warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data (..\src\Column.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\Column.cpp(162): warning C4244: '=' : conversion from 'const int64_t' to 'SQLUSMALLINT', possible loss of data [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\Column.cpp(163): warning C4244: '=' : conversion from 'const int64_t' to 'SQLUSMALLINT', possible loss of data [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
Utility.cpp
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(90): error C2143: syntax error : missing ';' before '<' (..\src\OdbcError.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(120) : see reference to class template instantiation 'mssql::OdbcHandle' being compiled
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(90): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\OdbcError.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(91): error C2334: unexpected token(s) preceding '{'; skipping apparent function body (..\src\OdbcError.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\stdafx.h(42): warning C4005: 'interface' : macro redefinition (..\src\OdbcError.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
C:\Program Files (x86)\Windows Kits\8.0\Include\um\combaseapi.h(204) : see previous definition of 'interface'
ResultSet.cpp
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xlocale(336): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\src\Utility.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xlocale(336): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(90): error C2143: syntax error : missing ';' before '<' (..\src\Utility.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(120) : see reference to class template instantiation 'mssql::OdbcHandle' being compiled
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(90): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\Utility.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(91): error C2334: unexpected token(s) preceding '{'; skipping apparent function body (..\src\Utility.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\stdafx.h(42): warning C4005: 'interface' : macro redefinition (..\src\Utility.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
C:\Program Files (x86)\Windows Kits\8.0\Include\um\combaseapi.h(204) : see previous definition of 'interface'
..\src\Utility.cpp(55): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
OdbcOperation.cpp
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(90): error C2143: syntax error : missing ';' before '<' (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(120) : see reference to class template instantiation 'mssql::OdbcHandle' being compiled
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(90): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(91): error C2334: unexpected token(s) preceding '{'; skipping apparent function body (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\stdafx.h(42): warning C4005: 'interface' : macro redefinition (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
C:\Program Files (x86)\Windows Kits\8.0\Include\um\combaseapi.h(204) : see previous definition of 'interface'
c:\users\kevinb\node_modules\msnodesql\src\Column.h(39): error C2061: syntax error : identifier 'unique_ptr' (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(56): error C2143: syntax error : missing ';' before '<' (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(56): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(56): error C2238: unexpected token(s) preceding ';' (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(42): error C2039: 'text' : is not a member of 'mssql::StringColumn' (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(33) : see declaration of 'mssql::StringColumn'
c:\users\kevinb\node_modules\msnodesql\src\Column.h(42): error C2065: 'text' : undeclared identifier (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(49): error C2065: 'text' : undeclared identifier (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(49): error C2227: left of '->data' must point to class/struct/union/generic type (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
c:\users\kevinb\node_modules\msnodesql\src\Column.h(49): error C2227: left of '->size' must point to class/struct/union/generic type (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
c:\users\kevinb\node_modules\msnodesql\src\Column.h(72): warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(62): error C2061: syntax error : identifier 'shared_ptr' (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(67): error C2143: syntax error : missing ';' before '<' (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(67): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(68): error C2334: unexpected token(s) preceding '{'; skipping apparent function body (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(87): error C2143: syntax error : missing ';' before '<' (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(87): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(87): error C2238: unexpected token(s) preceding ';' (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(47): error C2065: 'column' : undeclared identifier (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(47): error C2228: left of '.reset' must have class/struct/union (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(57): warning C4267: 'return' : conversion from 'size_t' to 'int', possible loss of data (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(64): error C2039: 'column' : is not a member of 'mssql::ResultSet' (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(29) : see declaration of 'mssql::ResultSet'
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(64): error C2065: 'column' : undeclared identifier (..\src\ResultSet.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\ResultSet.cpp(81): warning C4244: 'argument' : conversion from 'const SQLULEN' to 'int32_t', possible loss of data [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
OdbcConnection.cpp
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xlocale(336): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xlocale(336): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\src\OdbcConnection.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(90): error C2143: syntax error : missing ';' before '<' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(120) : see reference to class template instantiation 'mssql::OdbcHandle' being compiled
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(90): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcHandle.h(91): error C2334: unexpected token(s) preceding '{'; skipping apparent function body (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\stdafx.h(42): warning C4005: 'interface' : macro redefinition (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
C:\Program Files (x86)\Windows Kits\8.0\Include\um\combaseapi.h(204) : see previous definition of 'interface'
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(38): error C2143: syntax error : missing ';' before '<' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(38): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(38): error C2238: unexpected token(s) preceding ';' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(44): error C2143: syntax error : missing ';' before '<' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(44): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(44): error C2238: unexpected token(s) preceding ';' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(48): error C2061: syntax error : identifier 'shared_ptr' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(48): error C2065: 'connection' : undeclared identifier (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(53): error C2614: 'mssql::OdbcOperation' : illegal member initialization: 'failure' is not a base or member (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(53): error C2614: 'mssql::OdbcOperation' : illegal member initialization: 'connection' is not a base or member (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(75): error C2061: syntax error : identifier 'shared_ptr' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(75): error C2065: 'connection' : undeclared identifier (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(143): error C2061: syntax error : identifier 'shared_ptr' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(162): error C2061: syntax error : identifier 'shared_ptr' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(162): error C2065: 'connection' : undeclared identifier (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(180): error C2061: syntax error : identifier 'shared_ptr' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(180): error C2065: 'connection' : undeclared identifier (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(194): error C2061: syntax error : identifier 'shared_ptr' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(194): error C2065: 'connection' : undeclared identifier (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(207): error C2061: syntax error : identifier 'shared_ptr' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(207): error C2065: 'connection' : undeclared identifier (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(220): error C2061: syntax error : identifier 'shared_ptr' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(220): error C2065: 'connection' : undeclared identifier (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(236): error C2061: syntax error : identifier 'shared_ptr' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(236): error C2065: 'connection' : undeclared identifier (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(253): error C2061: syntax error : identifier 'shared_ptr' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(253): error C2065: 'connection' : undeclared identifier (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(39): error C2061: syntax error : identifier 'unique_ptr' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(56): error C2143: syntax error : missing ';' before '<' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(56): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(56): error C2238: unexpected token(s) preceding ';' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(42): error C2039: 'text' : is not a member of 'mssql::StringColumn' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(33) : see declaration of 'mssql::StringColumn'
c:\users\kevinb\node_modules\msnodesql\src\Column.h(42): error C2065: 'text' : undeclared identifier (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(49): error C2065: 'text' : undeclared identifier (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(49): error C2227: left of '->data' must point to class/struct/union/generic type (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
c:\users\kevinb\node_modules\msnodesql\src\Column.h(49): error C2227: left of '->size' must point to class/struct/union/generic type (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
c:\users\kevinb\node_modules\msnodesql\src\Column.h(72): warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(62): error C2061: syntax error : identifier 'shared_ptr' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(67): error C2143: syntax error : missing ';' before '<' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(67): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(68): error C2334: unexpected token(s) preceding '{'; skipping apparent function body (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(87): error C2143: syntax error : missing ';' before '<' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(87): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(87): error C2238: unexpected token(s) preceding ';' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(47): error C2065: 'column' : undeclared identifier (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(47): error C2228: left of '.reset' must have class/struct/union (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(57): warning C4267: 'return' : conversion from 'size_t' to 'int', possible loss of data (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(64): error C2039: 'column' : is not a member of 'mssql::ResultSet' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(29) : see declaration of 'mssql::ResultSet'
c:\users\kevinb\node_modules\msnodesql\src\ResultSet.h(64): error C2065: 'column' : undeclared identifier (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(42): error C2143: syntax error : missing ';' before '<' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(42): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(42): error C2238: unexpected token(s) preceding ';' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(61): error C2143: syntax error : missing ';' before '<' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(61): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(61): error C2238: unexpected token(s) preceding ';' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(112): error C2143: syntax error : missing ';' before '<' (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(112): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(113): error C2334: unexpected token(s) preceding '{'; skipping apparent function body (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(68): error C2614: 'mssql::OdbcConnection' : illegal member initialization: 'error' is not a base or member (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(87): error C2065: 'resultset' : undeclared identifier (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(87): error C2227: left of '->MetaToValue' must point to class/struct/union/generic type (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(99): error C2065: 'resultset' : undeclared identifier (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(99): error C2227: left of '->EndOfRows' must point to class/struct/union/generic type (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(106): error C2065: 'shared_ptr' : undeclared identifier (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(106): error C2275: 'mssql::Column' : illegal use of this type as an expression (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\Column.h(27) : see declaration of 'mssql::Column'
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(106): error C2065: 'resultset' : undeclared identifier (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(106): error C2227: left of '->GetColumn' must point to class/struct/union/generic type (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(107): error C2227: left of '->ToValue' must point to class/struct/union/generic type (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is 'int'
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(108): error C2227: left of '->More' must point to class/struct/union/generic type (..\src\OdbcOperation.cpp) [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is 'int'
..\src\OdbcOperation.cpp(44): error C2065: 'failure' : undeclared identifier [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\OdbcOperation.cpp(44): error C2065: 'connection' : undeclared identifier [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\OdbcOperation.cpp(44): error C2227: left of '->LastError' must point to class/struct/union/generic type [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
..\src\OdbcOperation.cpp(58): error C2065: 'failure' : undeclared identifier [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\OdbcOperation.cpp(58): error C2227: left of '->Message' must point to class/struct/union/generic type [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
..\src\OdbcOperation.cpp(59): error C2065: 'failure' : undeclared identifier [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\OdbcOperation.cpp(59): error C2227: left of '->SqlState' must point to class/struct/union/generic type [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
..\src\OdbcOperation.cpp(60): error C2065: 'failure' : undeclared identifier [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\OdbcOperation.cpp(60): error C2227: left of '->Code' must point to class/struct/union/generic type [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
..\src\OdbcOperation.cpp(77): error C2065: 'connection' : undeclared identifier [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\OdbcOperation.cpp(77): error C2227: left of '->TryOpen' must point to class/struct/union/generic type [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
type is ''unknown-type''
..\src\OdbcOperation.cpp(87): error C2065: 'shared_ptr' : undeclared identifier [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\OdbcOperation.cpp(87): error C2275: 'mssql::OdbcConnection' : illegal use of this type as an expression [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcConnection.h(31) : see declaration of 'mssql::OdbcConnection'
..\src\OdbcOperation.cpp(87): error C2065: 'connection' : undeclared identifier [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\OdbcOperation.cpp(87): error C2059: syntax error : 'const' [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\OdbcOperation.cpp(88): error C2143: syntax error : missing ')' before ',' [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\OdbcOperation.cpp(88): error C2259: 'mssql::OdbcOperation' : cannot instantiate abstract class [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
due to following members:
'bool mssql::OdbcOperation::TryInvokeOdbc(void)' : is abstract
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(61) : see declaration of 'mssql::OdbcOperation::TryInvokeOdbc'
'v8::Handle mssql::OdbcOperation::CreateCompletionArg(void)' : is abstract
with
[
T=v8::Value
]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(62) : see declaration of 'mssql::OdbcOperation::CreateCompletionArg'
..\src\OdbcOperation.cpp(88): error C2059: syntax error : ')' [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\OdbcOperation.cpp(89): error C2065: 'query' : undeclared identifier [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\OdbcOperation.cpp(90): error C2448: 'query' : function-style initializer appears to be a function definition [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
..\src\OdbcOperation.cpp(255): error C2819: type 'mssql::OdbcOperation' does not have an overloaded member 'operator ->' [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(33) : see declaration of 'mssql::OdbcOperation'
did you intend to use '.' instead?
..\src\OdbcOperation.cpp(255): error C2039: 'TryExecute' : is not a member of 'mssql::OdbcOperation' [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(33) : see declaration of 'mssql::OdbcOperation'
..\src\OdbcOperation.cpp(261): error C2819: type 'mssql::OdbcOperation' does not have an overloaded member 'operator ->' [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(33) : see declaration of 'mssql::OdbcOperation'
did you intend to use '.' instead?
..\src\OdbcOperation.cpp(261): error C2039: 'GetMetaValue' : is not a member of 'mssql::OdbcOperation' [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(33) : see declaration of 'mssql::OdbcOperation'
..\src\OdbcOperation.cpp(266): error C2819: type 'mssql::OdbcOperation' does not have an overloaded member 'operator ->' [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(33) : see declaration of 'mssql::OdbcOperation'
did you intend to use '.' instead?
..\src\OdbcOperation.cpp(266): error C2039: 'TryReadRow' : is not a member of 'mssql::OdbcOperation' [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msnodesql\src\OdbcOperation.h(33) : see declaration of 'mssql::OdbcOperation'
..\src\OdbcOperation.cpp(272): error C2819: type 'mssql::OdbcOperation' does not have an overloaded member 'operator ->' [C:\Users\kevinb\node_modules\msnodesql\build\sqlserver.vcxproj]
c:\users\kevinb\node_modules\msn

@jguerin

@KevinBurton

You mentioned previously that you were building for 64-bit Node.js. The output log of your compilation shows that you are using an x86 compiler. Can you please verify that you are building for 32-bit Node.js?

Thanks,

Jonathan

@KevinBurton

I have VS 2012 in the 64-bit node.js command window.

@jguerin

What do you mean in the 64-bit node.js command window? You need to be running in the Visual Studio C++ window...

@KevinBurton

When I install node.js it installs a command window. I tried the VS command window (all of them) and still get the same error. With some help it was suggested that I add --msvs_version=2012 to use the VS 2012 tools with node-gyp but it didn't install due to all othe compile errors that I listed earlier in this thread.

@Felix-N

Deploying from GIT gives us the following error log (azure web site):

Running NPM.

SetConsoleTitleW: The operation completed successfully.

npm ERR! msnodesql@0.2.0 install: node-gyp rebuild
npm ERR! cmd "/c" "node-gyp rebuild" failed with 1
npm ERR!
npm ERR! Failed at the msnodesql@0.2.0 install script.
npm ERR! This is most likely a problem with the msnodesql package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls msnodesql
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "D:\Program Files (x86)\nodejs\\node.exe" "D:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "--production"
npm ERR! cwd C:\DWASFiles\Sites\tester-dev\VirtualDirectory0\site\wwwroot
npm ERR! node -v v0.6.20
npm ERR! npm -v 1.1.37
npm ERR! code ELIFECYCLE
npm ERR! message msnodesql@0.2.0 install: node-gyp rebuild
npm ERR! message cmd "/c" "node-gyp rebuild" failed with 1
npmSetConsoleTitleW: The operation completed successfully.

@jkint
Collaborator

@Felix-N Currently our repo requires that the MSVS C++ compiler and node-gyp be installed with node.js. See the above comment for a list of requirements for installing our driver.

We are aware of the inconvenience of requiring a C++ compiler and have plans to remedy this requirement.

Thanks.

@Felix-N

@jkint thanks for the quick reply. having the driver running (seamlessly) on windows azure would be quite handy for us. in any case - we're glad you're providing it!

@yozik04
@jkint
Collaborator

@yozik04 I wish it were so easy. Not all problems are technical. :)

@KevinBurton

This is a 64-bit system. I don't have any precompiled 32-bit binaries. At least I don't know where to get them.

@Felix-N

@yozik04 good point - sometimes the forrest is hard to see with all those trees..

thanks

@yozik04
@KevinBurton

That is why I started this thread. I know I can get the 32-bit version to work and it has been claimed that msnodesql will work with a 64-bit version of node.js but no one has shown me how to 'npm install msnodesql' when node.js is 64-bit. So I have to assume that msnodesql will not work on a 64-bit installation of node.js.

@yozik04
@KevinBurton

I have not run it on Azure yet. I have not be able to get it to install locally with a 64-bit node.js.

@jguerin

We're about to fix this in an update coming in the new year, so hold tight!

@jguerin jguerin closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.