sujaltangde / JobLane

JobLane - Full Stack Job application portal built using MERN Stack
https://joblane.vercel.app/
57 stars 56 forks source link

🪲[Bug]: Nodemon Crashes due to mongoose url as can't fetch it. #195

Open shr3012 opened 1 month ago

shr3012 commented 1 month ago

There’s an error because Mongoose is expecting a MongoDB connection link, but it’s receiving "undefined." You’ll need to adjust the code in database.js and server.js to correctly pass the connection string.

github-actions[bot] commented 1 month ago

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

Slacky300 commented 1 month ago

There’s an error because Mongoose is expecting a MongoDB connection link, but it’s receiving "undefined." You’ll need to adjust the code in database.js and server.js to correctly pass the connection string.

@shr3012, have you created and updated the .env file in the server directory which is necessary to run the backend?

shr3012 commented 1 month ago

yes, their is an issue after modifying few lines of code it is running