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
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.
Software versions
Build should be successful.