node-sqlserver-unofficial icon indicating copy to clipboard operation
node-sqlserver-unofficial copied to clipboard

`require` statement in test/server.js is breaking Azure deployment

Open jorgeazevedo opened this issue 11 years ago • 1 comments

Of course it is. Look

var sql = require('..');

it should be var sql = require('node-sqlserver-unofficial').

Except that it doesn't work locally without an npm install. Hm.

jorgeazevedo avatar Mar 11 '14 22:03 jorgeazevedo

There's a way to have require('node-sqlserver-unofficial') work in all situations, which is to have the repository cloned inside a dir called node_modules.

jorgeazevedo avatar Mar 23 '14 09:03 jorgeazevedo