SQL Server Running on a Mac?!
David Neal
13719

Thanks for detailed instructions but where can be the problem when type “mssql -u sa -p …” command to connect. The error is in Node:

/usr/local/lib/node_modules/sql-cli/lib/cli.js:19

class SqlCli {

^^^^^

SyntaxError: Unexpected reserved word

at exports.runInThisContext (vm.js:73:16)

at Module._compile (module.js:443:25)

at Object.Module._extensions..js (module.js:478:10)

at Module.load (module.js:355:32)

at Function.Module._load (module.js:310:12)

at Module.require (module.js:365:17)

at require (module.js:384:17)

at Object.<anonymous> (/usr/local/lib/node_modules/sql-cli/bin/mssql.js:1:76)

at Module._compile (module.js:460:26)

at Object.Module._extensions..js (module.js:478:10)

Thanks in advance!

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.