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

Unable to run locally #5031

Closed
1 task done
iPaulPro opened this issue Jun 30, 2024 · 3 comments
Closed
1 task done

Unable to run locally #5031

iPaulPro opened this issue Jun 30, 2024 · 3 comments

Comments

@iPaulPro
Copy link
Collaborator

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When I try to run the main dev script locally everything starts properly except the api app which throws:

@hey/api:dev: error: Error setting up routes API key is required

It's not clear which API key this refers to. Last time I ran I didn't have this issue, so I'm guessing it was something recently added.

Which environmental variables must be declared in the api .env?

Expected Behavior

Able to run the api app locally.

Steps To Reproduce

pnpm run dev

What platform(s) does this occur on?

Web

What browser(s) does this occur on?

Chrome

Anything else?

No response

@iPaulPro iPaulPro changed the title Unable to build locally Unable to run locally Jun 30, 2024
@bigint
Copy link
Member

bigint commented Jul 1, 2024

Ahh APIs are not dev friendly 🙈 you can point to prod or testnet in the meanwhile.

Or you can bring your own API keys which you can find in .env file

@bigint bigint closed this as not planned Won't fix, can't repro, duplicate, stale Jul 1, 2024
@iPaulPro
Copy link
Collaborator Author

iPaulPro commented Jul 1, 2024

I tried running testnet but still have the same issue. Do you know which key, specially, causes this? It used to run with my current .env but not anymore.

Copy link
Contributor

This issue has been locked since it has been closed for more than 10 days.

If you found a concrete bug or regression related to it, please open a new bug report.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants