You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I currently cannot import the package in our nx based project because of Error [ERR_REQUIRE_ESM]: require() of ES Module not supported. I wanted to use a dynamic import to load the package but it looks like it does not work neither.
const { verify } = import('azure-ad-verify-token');
console.log(verify) -> { default: {} }
Todo
Expected behavior
dynamic import loads the package correctly
Todo
Steps to Reproduce
npm install azure-ad-verify-token
const { verify } = import('azure-ad-verify-token');
verify() -> verify is not a function
n/a
Other Information
n/a
The text was updated successfully, but these errors were encountered:
Describe the Issue
As I currently cannot import the package in our nx based project because of
Error [ERR_REQUIRE_ESM]: require() of ES Module not supported.
I wanted to use a dynamic import to load the package but it looks like it does not work neither.const { verify } = import('azure-ad-verify-token');
console.log(verify) -> { default: {} }
Todo
Expected behavior
dynamic import loads the package correctly
Todo
Steps to Reproduce
npm install azure-ad-verify-token
const { verify } = import('azure-ad-verify-token');
verify() -> verify is not a function
n/a
Other Information
n/a
The text was updated successfully, but these errors were encountered: