We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, when I try to use this library within a new Create React App project I get the following error :
/node_modules/openid-client/lib/client.js: Support for the experimental syntax 'classPrivateProperties' isn't currently enabled (163:3)
It seems that you are publishing experimental features on npm.
Is that intentional? Please consider reading this issue: Please don’t publish experimental syntax on npm.
Thanks.
npx create-react-app my-app cd my-app yarn add openid-client
Add the following code into src/App.js:
src/App.js
import { Issuer } from 'openid-client'; const googleIssuer = Issuer.discover('https://accounts.google.com'); console.log('Discovered issuer %s %O', googleIssuer.issuer, googleIssuer.metadata);
Run yarn start
yarn start
The text was updated successfully, but these errors were encountered:
There's nothing experimental and this is a Node.js only package.
Sorry, something went wrong.
No branches or pull requests
Hi, when I try to use this library within a new Create React App project I get the following error :
/node_modules/openid-client/lib/client.js: Support for the experimental syntax 'classPrivateProperties' isn't currently enabled (163:3)
It seems that you are publishing experimental features on npm.
Is that intentional? Please consider reading this issue: Please don’t publish experimental syntax on npm.
Thanks.
How to reproduce this issue:
Add the following code into
src/App.js
:Run
yarn start
The text was updated successfully, but these errors were encountered: