tediousjs / node-mssql

Microsoft SQL Server client for Node.js
https://tediousjs.github.io/node-mssql
MIT License
2.23k stars 467 forks source link

Installation Problems #1446

Closed kid-yume closed 1 year ago

kid-yume commented 1 year ago

npm -v -9.0.1 node-mssql -v - 9.0.1 npm mssql -v - 9.0.1

Screen Shot 2022-11-25 at 1 29 31 PM

I have tried removing the folder and re-adding. I downgraded mmy npm to the working build version.

Hope all is well. I have tried every which way to install this module but when I go to run my node.js server It just gives me cannot find the module

It also appears in the node_module folder so I am confused as to why it does not like it

My code does not compile pass the require statement. However this is how I formulated it: const SQL = require('mssql')

dhensby commented 1 year ago

I'm afraid there's not enough information in this post to help.

Please use the issue template.

Code to reproduce the error would be helpful, but really I'd expect it is a problem with your development environment