warning messages after: npm install @azure/msal-node and npm install @microsoft/microsoft-graph-client

Youkeoke 21 Reputation points
2021-05-09T21:21:31.87+00:00

Please, see the warnigs on cmd prompt after these two commands:

C:\Users\Jxxx\WebstormProjects\ixxxxxxx>npm audit
found 0 vulnerabilities

C:\Users\Juha\WebstormProjects\iyoukeoke>npm install @azure/msal-node
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@azure/msal-node@1.0.3',
npm WARN EBADENGINE required: { node: '10 || 12 || 14' },
npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.12.0' }
npm WARN EBADENGINE }

added 19 packages, and audited 246 packages in 2s

12 packages are looking for funding
run npm fund for details

found 0 vulnerabilities

C:\Users\Jxxx\WebstormProjects\ixxxxxx>npm install @microsoft/microsoft-graph-client
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@azure/msal-node@1.0.3',
npm WARN EBADENGINE required: { node: '10 || 12 || 14' },
npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.12.0' }
npm WARN EBADENGINE }

added 5 packages, and audited 251 packages in 2s

12 packages are looking for funding
run npm fund for details

found 0 vulnerabilities

C:\Users\Jxxx\WebstormProjects\ixxxxxx>

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,544 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,670 questions
0 comments No comments
{count} votes

Accepted answer
  1. Danstan Onyango 3,741 Reputation points Microsoft Employee
    2021-05-11T07:16:07.3+00:00

    You are using a non LTS version of Nodejs. See the Node Version Support section of the docs for details of the support matrix. This just means its not well tested or supported on the non LTS versions hence the warning. You can ignore the warning if you are just developing/prototyping but for production you want to use one of these LTS versions.


1 additional answer

Sort by: Most helpful
  1. Youkeoke 21 Reputation points
    2021-05-15T20:00:13.757+00:00

    however, on page:

    https://www.npmjs.com/package/@azure/msal-node
    claims that:

    Supported Node versions: 10, 12, 14, 16
    Will support stable (even-numbered) Maintenance LTS, Active LTS, and Current versions of Node

    0 comments No comments