Error by installing MSSQL-Plus (Error: package: '@azure/msal-node@1.18.0)


During trying to change my MSSQL packages from "node-red-contrib-mssql" to node-red-contrib-mssql-plus there always appear errors like below:

xxxxx@xxxmqtt:~/.node-red$ npm install node-red-contrib-mssql-plus
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@azure/msal-node@1.18.0',
npm WARN EBADENGINE required: { node: '10 || 12 || 14 || 16 || 18' },
npm WARN EBADENGINE current: { node: 'v20.3.0', npm: '9.8.0' }

I've no idea what to do. After checking the npm version it results 9.8.0

What goes wrong there?

Hi @kappo73

The error message is saying it requires node.js versions 10, 12, 14, 16 or 18, but the version of node it finds itself running on is 20.

So if you want to use that module, you need to use Node 18 at the latest.

Hi @knolleary

Thank you for the quick answer.
What do you think? Does it makes sens to downgrade or should I keep version 20.

Instead of a necessary downgrade- how does it works?



OK, reply by myself - I did it and made a downgrade to V18. Now it works

Thank you

Should we be submitting issues against nodes that have problems with nodejs 20?

Should we be submitting issues against nodes that have problems with nodejs 20

That's up to you.

In this instance, the module that is complaining does say in its readme that they intend to support all Active and Current Node versions (as defined by the Node.js project). Given Node 20 is the Current node version, it would appear to be in need of an update.

Issue submitted: Does not install with nodejs 20 (@azure/msal-node issue) · Issue #77 · bestlong/node-red-contrib-mssql-plus · GitHub

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