Skip to content

got error message from MSAL common dist in catchmanager js #7436

Open
@ParinPatel45

Description

@ParinPatel45

Core Library

MSAL.js (@azure/msal-browser)

Core Library Version

1.5.13

Wrapper Library

MSAL React (@azure/msal-react)

Wrapper Library Version

none

Public or Confidential Client?

Public

Description

yesterday i deployed my react Application on Azure devops then I got error message from MSAL-common/dist & application not able to load in dev env

Error Message

Uncaught TypeError: Object(...) is not a function
image

MSAL Logs

Uncaught TypeError: Object(...) is not a function
image

Network Trace (Preferrably Fiddler)

  • Sent
  • Pending

MSAL Configuration

CacheManager.toObject = function (obj, json) {
    for (var propertyName in json) {
      obj[propertyName] = json[propertyName];
    }

    return obj;
  };

  return CacheManager;
}();

var DefaultStorageClass =
/** @class */
function (_super) {
  __extends(DefaultStorageClass, _super);

  function DefaultStorageClass() {
    return _super !== null && _super.apply(this, arguments) || this;
  }

Relevant Code Snippets

got error message from MSAL-common/dist in catchmanager.js
Uncaught TypeError: Object(...) is not a function

Reproduction Steps

got error message from MSAL-common/dist in catchmanager.js
Uncaught TypeError: Object(...) is not a function

Expected Behavior

working page as nornally for loading
got error message from MSAL-common/dist in catchmanager.js

Identity Provider

Azure B2C Basic Policy

Browsers Affected (Select all that apply)

Chrome

Regression

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Attention 👋Awaiting response from the MSAL.js teamb2cRelated to Azure B2C library-specific issuesbug-unconfirmedA reported bug that needs to be investigated and confirmedmsal-browserRelated to msal-browser packagemsal-reactRelated to @azure/msal-reactpublic-clientIssues regarding PublicClientApplicationsquestionCustomer is asking for a clarification, use case or information.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions