Unsupported engine

I noticed something: after executing npm update , I will have tedious@16.7.1

C:\Users\Administrator\.node-red>node -v
v20.14.0

C:\Users\Administrator\.node-red>npm list @azure/msal-node
node-red-project@0.0.1 C:\Users\Administrator\.node-red
`-- node-red-contrib-mssql-plus@0.12.2
  `-- mssql@10.0.4
    `-- tedious@16.7.1
      `-- @azure/identity@3.4.2
        `-- @azure/msal-node@2.9

But, at this moment, the latest version of tedious is 18.2.1, and some additional information appears:

  • from version tedious 17, there is a breaking change: Node.js 16.x and 19.x are no longer supported by tedious
  • from version 18 tedious now includes TypeScript definition files.

In this case, npm update works, but without 'forcing' the update from tedious 16 to 18, even if I installed NodeJS 20

npm update will only update within the requirements of installed packages. The fact that tedious@17 was not installed implies that the package.json file that comes with mssql@10.0.4 says it requires a version <17.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.