Closed Danielecarn closed 2 weeks ago
command : npm i dotenv this cmd will update your dotenv package and you will be able to run localy
Add .env file in your server folder.
Add .env file in your server folder.
then --- $cd server $npm install
have you set up your MongoDB, need to change MONGO_URI to your own.
command: npm i dotenv and add npm install
@Danielecarn In the project root run npm install
and this should install both dependencies for both client and server. See package.json
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:
But when I write
npm run dev
, I has this error: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