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

Cannot find module '@azure/msal-angular' or its corresponding type declarations. Angular 16 #6323

Closed
theviveik1 opened this issue Aug 10, 2023 · 4 comments
Assignees
Labels
bug-unconfirmed A reported bug that needs to be investigated and confirmed msal-angular Related to @azure/msal-angular package msal-browser Related to msal-browser package public-client Issues regarding PublicClientApplications question Customer is asking for a clarification, use case or information.

Comments

@theviveik1
Copy link

Core Library

MSAL.js (@azure/msal-browser)

Core Library Version

3.0.0

Wrapper Library

MSAL Angular (@azure/msal-angular)

Wrapper Library Version

3.0.0

Public or Confidential Client?

Public

Description

Cannot find module '@azure/msal-angular' or its corresponding type declarations.

The module '@azure/msal-angular' or its corresponding type declarations could not be located. Despite having installed @azure/[email protected], I'm encountering difficulties in utilizing the library. Refer to the image below for more context. It's important to note that I'm utilizing the library with Angular 16, having previously used version 3.0.0-beta.1, which functioned as anticipated.

image

Error Message

No response

Msal Logs

No response

MSAL Configuration

import {
  MsalBroadcastService,
  MsalGuard,
  MsalInterceptor,
  MsalModule,
  MsalRedirectComponent,
  MsalService,
  MSAL_GUARD_CONFIG,
  MSAL_INSTANCE,
  MSAL_INTERCEPTOR_CONFIG
} from '@azure/msal-angular';

Relevant Code Snippets

import { MsalGuard } from '@azure/msal-angular';

Reproduction Steps

  1. download any angular 16 project
  2. configured whatever is required for msal
  3. then run npm install @azure/[email protected] @azure/[email protected]
  4. npm start

Expected Behavior

Application should run.. but receiving below error

image

Identity Provider

Azure AD / MSA

Browsers Affected (Select all that apply)

Chrome, Internet Explorer

Regression

@azure/[email protected] @azure/[email protected]

Source

External (Customer)

@theviveik1 theviveik1 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 Aug 10, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Attention 👋 Awaiting response from the MSAL.js team label Aug 10, 2023
@github-actions github-actions bot added msal-angular Related to @azure/msal-angular package msal-browser Related to msal-browser package public-client Issues regarding PublicClientApplications labels Aug 10, 2023
@solita-markuspulkkinen
Copy link

content of node_modules/@azure/msal-angular seems to have just src and no dist || other build results

@hansakaRightS
Copy link

we are having the same issue.check here #6310

@theviveik1
Copy link
Author

Please link this bug with #6310, so that i can follow the same whatever the status change would notified me.

@jo-arroyo
Copy link
Collaborator

@theviveik1 As others have stated above, there has been an error in our release process for msal-angular, and we are currently working on a fix. Please follow #6310, where the issue was first raised, and where updates will be posted.

Closing as duplicate of #6310.

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs: Attention 👋 Awaiting response from the MSAL.js team label Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-unconfirmed A reported bug that needs to be investigated and confirmed msal-angular Related to @azure/msal-angular package msal-browser Related to msal-browser package 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

4 participants