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

The interact button is not working locally. #179

Open
LeLe-SouthCity opened this issue Oct 27, 2023 · 4 comments
Open

The interact button is not working locally. #179

LeLe-SouthCity opened this issue Oct 27, 2023 · 4 comments

Comments

@LeLe-SouthCity
Copy link

LeLe-SouthCity commented Oct 27, 2023

After deploying the project locally, I noticed that the "contact" button redirects back to the original interface after clicking it. Additionally, I observed that the code in the local project differs from the Live Demo.

企业微信截图_16983885797088
@LeLe-SouthCity LeLe-SouthCity changed the title The interact Button Can't Working, The interact Button Can't Working in locally Oct 27, 2023
@LeLe-SouthCity LeLe-SouthCity changed the title The interact Button Can't Working in locally The interact button is not working locally. Oct 27, 2023
@LeLe-SouthCity
Copy link
Author

I think I've found a solution https://github.com/a16z-infra/ai-town/issues/178

@ianmacartney
Copy link
Collaborator

Do you still have issues? It should be a matter of configuring Convex locally. Or you can try to apply my branch that snips clerk for local testing. I have a branch that does session-based auth, but it's WIP rn

@mac6894
Copy link

mac6894 commented Jan 6, 2024

Hi bro, I still have a problem with the interact button after local deployment. It does not do anything. Do you know how we can solve it? The solution https://github.com/a16z-infra/ai-town/issues/178 does not seem to say how to solve it. Thanks.

@ianmacartney
Copy link
Collaborator

Things to check:

  • is convex/auth.config.js configured with clerk?
  • have you set the process.env.CLERK_ISSUER_URL in your env variables for the dev / prod deployment?
  • What are the values of clerk & convex authentication on the page?

Workaround:

  • Check out the testing/interact-without-clerk branch for a version that doesn't use clerk and lets you interact (single player only)

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

3 participants