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

🐛 Bug Report: Development and Build errors trying to run website locally #1499

Open
2 tasks done
ChiragAgg5k opened this issue Nov 19, 2024 · 2 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@ChiragAgg5k
Copy link

👟 Reproduction steps

  1. Clone the repo.
  2. As instructed, run pnpm install
  3. run pnpm dev

👍 Expected behavior

Should run the development server with no issues

👎 Actual Behavior

Leads to a lot of errors, probably because of undefined environment variables:

Image
(during dev)

Image
(during build)

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

MacOS

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@ChiragAgg5k ChiragAgg5k added the bug Something isn't working label Nov 19, 2024
@ItzNotABug
Copy link
Member

Look for the .env.example file in the root of the project, rename it to .env. Restart the dev server and it should work fine.

@ChiragAgg5k
Copy link
Author

yeah i get that, but i just expected the docs in CONTRIBUTING.md to mention this. currently its not mentioned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants