My React app fails to build whenever I try to use the node-mssql library. It\'s important that I do this on the client side, since I have to serve this app from an old IIS s
MSSQL server connection libraries are not client-side javascript libraries. There is absolutely no way you can make TCP SQL connections from a web browser, even if you wrote your own library.
For security reasons, you would never want to allow client-side access to the SQL Server. You need to spin up server-side environment (e.g. Node/Express) to expose an API to the client applications.