Skip to content

Unable to run lit-pkp-auth-demo app #634

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

Open
gallirohik opened this issue Sep 13, 2024 · 2 comments
Open

Unable to run lit-pkp-auth-demo app #634

gallirohik opened this issue Sep 13, 2024 · 2 comments

Comments

@gallirohik
Copy link

Description of the issue

Originally posted here,

LIT-Protocol/lit-pkp-auth-demo#16

Hi Team,

I'm encountering issues while trying to run the example project lit-pkp-auth-demo app. I've tested both the latest versions of the required libraries as well as the exact versions specified in the example. However, the problem persists in both cases.

Here are the versions I used:

"@lit-protocol/auth-helpers": "^6.3.0",
"@lit-protocol/constants": "^6.3.0",
"@lit-protocol/lit-auth-client": "^6.3.0",
"@lit-protocol/lit-node-client": "^6.3.0",
"@lit-protocol/types": "^6.3.0",

Could you please suggest any potential workarounds or solutions?

Thank you!
Screenshot 2024-09-13 at 2 16 21 PM
Screenshot 2024-09-13 at 2 16 36 PM

Additional context

No response

@joshLong145
Copy link

Hey @gallirohik
if you run yarn add @simplewebauthn/browser in the lit-pkp-auth-demo it will install the dependency.

@gallirohik
Copy link
Author

gallirohik commented Sep 13, 2024

Hey @joshLong145 Thanks for your response. Yeah , I had explicitly installed the following packages along with @simplewebauthn/browser:

  • @walletconnect/modal
  • bs58

Correct me if I'm wrong, but ideally, these should be part of the peer dependencies, right?

By the way, I encountered an unhandled rejection error: Error: with [email protected] when using it with next@14. I found a thread discussing this issue. Let us know if there's a workaround for it. I was able to run the setup despite the error, but I'm curious if it's something that needs fixing.

Screenshot 2024-09-13 at 10 49 51 PM

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

2 participants