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

Module '"http"' has no default export. #7459

Open
2 tasks
boaz-yaari-arad opened this issue Dec 11, 2024 · 0 comments
Open
2 tasks

Module '"http"' has no default export. #7459

boaz-yaari-arad opened this issue Dec 11, 2024 · 0 comments
Labels
b2c Related to Azure B2C library-specific issues bug-unconfirmed A reported bug that needs to be investigated and confirmed msal-angular Related to @azure/msal-angular package msal-node Related to msal-node package Needs: Attention 👋 Awaiting response from the MSAL.js team public-client Issues regarding PublicClientApplications question Customer is asking for a clarification, use case or information.

Comments

@boaz-yaari-arad
Copy link

Core Library

MSAL Node (@azure/msal-node)

Core Library Version

2.16.2

Wrapper Library

MSAL Angular (@azure/msal-angular)

Wrapper Library Version

@azure/msal-node": "^2.16.2"

Public or Confidential Client?

Public

Description

I'm using electron with angular, trying to implement a login flow with Azure b2c.
I'm getting this error when importing the lib.

Error Message

app/node_modules/@azure/msal-node/dist/config/Configuration.d.ts:4:8 - error TS1192: Module '"http"' has no default export.
4 import http from "http";
~~~~
app/node_modules/@azure/msal-node/dist/config/Configuration.d.ts:5:8 - error TS1192: Module '"https"' has no default export.

MSAL Logs

No response

Network Trace (Preferrably Fiddler)

  • Sent
  • Pending

MSAL Configuration

{}

Relevant Code Snippets

Its when i import it

Reproduction Steps

Just importing the lib

Expected Behavior

no errors

Identity Provider

Azure B2C Custom Policy

Browsers Affected (Select all that apply)

Chrome

Regression

@azure/msal-node": "^2.16.2"

@boaz-yaari-arad boaz-yaari-arad 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 Dec 11, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Attention 👋 Awaiting response from the MSAL.js team label Dec 11, 2024
@github-actions github-actions bot added b2c Related to Azure B2C library-specific issues msal-angular Related to @azure/msal-angular package msal-node Related to msal-node package public-client Issues regarding PublicClientApplications labels Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
b2c Related to Azure B2C library-specific issues bug-unconfirmed A reported bug that needs to be investigated and confirmed msal-angular Related to @azure/msal-angular package msal-node Related to msal-node package Needs: Attention 👋 Awaiting response from the MSAL.js team 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

1 participant