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

AuthProvider Not Found Error When Using oidc-react with Node.js 20.3.0 #1089

Open
jobyjames1 opened this issue Jan 14, 2025 · 0 comments
Open

Comments

@jobyjames1
Copy link

I am encountering an issue when using the oidc-react library with Node.js 20.3.0 in a published package. The error occurs during runtime with the following message:

SyntaxError: The requested module '/node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/oidc-react/build/src/index.js?v=a216d472' does not provide an export named 'AuthProvider'

Key Observations:

  1. Node.js 20.0.0:
    • No issues when running locally with npm link.
    • Issues after publishing the package and installing it locally.
  2. Node.js 20.3.0:
    • The error consistently occurs when using the published package.
    • The issue can also be reproduced locally after upgrading to Node.js 20.3.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant