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

Library distribution missing exports property in package.json, resulting in incorrect bundle selection for Node resolution (such as Vitest) #150

Open
alisaduncan opened this issue Nov 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@alisaduncan
Copy link

Describe the bug

Okta Angular doesn't resolve correctly when running instances of the library in Vitest. See
https://devforum.okta.com/t/cannot-read-properties-of-undefined-reading-operators/30148

JIRA created
https://oktainc.atlassian.net/browse/OKTA-826555

Reproduction Steps?

Run any unit test using Vitest as the runner. You can use the sample repo created with this setup here
https://github.com/alisaduncan/okta-angular-vitest-example

SDK Versions

okta-angular 6.4.0

Additional Information

vitest-dev/vitest#4233 (comment)

@alisaduncan alisaduncan added the bug Something isn't working label Nov 5, 2024
@alisaduncan
Copy link
Author

Adding @DuncanFaulkner for awareness

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant