tediousjs / node-mssql

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

Request for new publish--Version of @azure/msal-node package in MSSQL is causing compatibility issue in Node version v20 #1586

Closed lintinp closed 10 months ago

lintinp commented 10 months ago

Tedious has new version published As Tedious Team has published new version for the support for v20 node. Can you publish a new version with the latest update.

below is the latest release of Tedious: https://github.com/tediousjs/tedious/releases

Below is my issue statement:

I am trying to use the MSSQL node package for connecting to SQL server. Currently we are using the node version 20.6.1 which is causing failure when we build the solution as the "@azure/msal-node" seems to be not compatible with the latest node version. Below is the error message I am getting due to the version compatibility while building the package.

yarn yarn install v1.22.19 [1/4] Resolving packages... [2/4] Fetching packages... error @azure/msal-node@1.18.4: The engine "node" is incompatible with this module. Expected version "10 || 12 || 14 || 16 || 18". Got "20.6.1" error Found incompatible module. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command Software versions NodeJS: v20 node-mssql: 10.0.1 SQL Server: Build should be successful.

dhensby commented 10 months ago

duplicate of #1540, #1555 and #1581