Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSAL node cannot be used in node 20 #6167

Closed
SalvatorePreviti opened this issue Jun 27, 2023 · 5 comments
Closed

MSAL node cannot be used in node 20 #6167

SalvatorePreviti opened this issue Jun 27, 2023 · 5 comments
Assignees
Labels
answered Question has received "first qualified response" msal-node Related to msal-node package no-issue-activity Issue author has not responded in 5 days public-client Issues regarding PublicClientApplications question Customer is asking for a clarification, use case or information.

Comments

@SalvatorePreviti
Copy link

Core Library

MSAL Node (@azure/msal-node)

Core Library Version

1.17.3

Wrapper Library

Not Applicable

Wrapper Library Version

N/A

Public or Confidential Client?

Public

Description

The package cannot be installed when using node 20, npm i fails because in package.json the list of supported engines does not include node 20.

"engines": { "node": "10 || 12 || 14 || 16 || 18" }

Please, add node 20 as well to the list of supported engines.

Error Message

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@azure/msal-node@1.17.3',
npm WARN EBADENGINE required: { node: '10 || 12 || 14 || 16 || 18' },
npm WARN EBADENGINE current: { node: 'v20.3.1', npm: '9.6.7' }
npm WARN EBADENGINE }

Msal Logs

N/A

MSAL Configuration

N/A

Relevant Code Snippets

N/A

Reproduction Steps

N/A

Expected Behavior

N/A

Identity Provider

Azure AD / MSA

Browsers Affected (Select all that apply)

None (Server)

Regression

No response

Source

External (Customer)

@SalvatorePreviti SalvatorePreviti added bug-unconfirmed A reported bug that needs to be investigated and confirmed question Customer is asking for a clarification, use case or information. labels Jun 27, 2023
@ghost ghost added the Needs: Attention 👋 Awaiting response from the MSAL.js team label Jun 27, 2023
@github-actions github-actions bot added msal-node Related to msal-node package public-client Issues regarding PublicClientApplications labels Jun 27, 2023
@ghost ghost assigned jo-arroyo Jun 27, 2023
@jo-arroyo
Copy link
Collaborator

@SalvatorePreviti Support for Node 20 will be added to msal-node v2, which is currently in pre-release. Please give @azure/msal-node@2.0.0-beta.0 and let us know if you have any issues.

@ghost ghost added answered Question has received "first qualified response" Needs: Author Feedback Awaiting response from issue author and removed Needs: Attention 👋 Awaiting response from the MSAL.js team labels Jun 27, 2023
@hectormmg hectormmg removed the bug-unconfirmed A reported bug that needs to be investigated and confirmed label Jun 28, 2023
@ghost
Copy link

ghost commented Jul 4, 2023

@SalvatorePreviti This issue has been automatically marked as stale because it is marked as requiring author feedback but has not had any activity for 5 days. If your issue has been resolved please let us know by closing the issue. If your issue has not been resolved please leave a comment to keep this open. It will be closed automatically in 7 days if it remains stale.

@ghost ghost added the no-issue-activity Issue author has not responded in 5 days label Jul 4, 2023
@jo-arroyo
Copy link
Collaborator

Closing as question answered. Please open a new issue with the MSAL Node version used if there are further questions.

@asdf23
Copy link

asdf23 commented Oct 17, 2023

me too

@maheshgondugade
Copy link

Facing same issue with Node 20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered Question has received "first qualified response" msal-node Related to msal-node package no-issue-activity Issue author has not responded in 5 days public-client Issues regarding PublicClientApplications question Customer is asking for a clarification, use case or information.
Projects
None yet
Development

No branches or pull requests

5 participants