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' #6324

Closed
AmielFabreguettes opened this issue Aug 10, 2023 · 2 comments
Closed

Cannot find module '@azure/msal-angular' #6324

AmielFabreguettes opened this issue Aug 10, 2023 · 2 comments
Assignees
Labels
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

@AmielFabreguettes
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

Hello !
I downloaded msal-angular and it appears in node_modules/@Azure. But when i try to import it in app.module.ts it says:
"Cannot find module '@azure/msal-angular' or its corresponding type declarations".
I already tried to reinstall it to clear the cache but it doesn't work.

MSAL Configuration

No response

Relevant Code Snippets

import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { IPublicClientApplication } from '@azure/msal-browser';
import { MsalModule } from '@azure/msal-angular';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    MsalModule,
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Identity Provider

Azure AD / MSA

Source

External (Customer)

@AmielFabreguettes AmielFabreguettes added the question Customer is asking for a clarification, use case or information. label 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
@AmielFabreguettes
Copy link
Author

I would add that it's probably not a path issue, as msal-browser imports successfully.

@jo-arroyo
Copy link
Collaborator

@AmielFabreguettes There was an error with our msal-angular release process, and we are currently working on a fix. Please see #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
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

2 participants