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

I can't run the project locally #216

Open
Danielecarn opened this issue Dec 7, 2023 · 5 comments
Open

I can't run the project locally #216

Danielecarn opened this issue Dec 7, 2023 · 5 comments

Comments

@Danielecarn
Copy link

Describe the bug
I'm trying to follow the README file to run the project but without success.

Is the README file ok?

To Reproduce

Mongodb is ok:

image

But when I write npm run dev, I has this error:

image

When the .env file was inside the server folder, another error was displayed during execution stating that the .env was not found. So I moved it to the root folder.

Could anyone tell me if the application ran in any commit? I would like to do automated tests on the application. Thanks

@Hitesh-code
Copy link

Hitesh-code commented Dec 8, 2023

command : npm i dotenv
this cmd will update your dotenv package
and you will be able to run localy

@saoodchoudhary
Copy link

Add .env file in your server folder.

@saoodchoudhary
Copy link

Add .env file in your server folder.

then --- $cd server
$npm install

@YumeLoL
Copy link

YumeLoL commented Feb 2, 2024

have you set up your MongoDB, need to change MONGO_URI to your own.

@pusty1830
Copy link

command: npm i dotenv and add npm install

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

5 participants