ahmed-tahoon / Social-Networking-Mern

Built a project with MERN stack, This is social media platform where you can share posts, react to posts, follow users, and chat with users in real time
44 stars 15 forks source link

App giving error #1

Open mrkhan-20 opened 1 year ago

mrkhan-20 commented 1 year ago

I cloned your Social-networking-mern repository but after installing all the dependencies and running it is giving error. Please help me because i want to show it as my college project . Any reply will be appreceated. Thank you

ahmed-tahoon commented 1 year ago

Make sure MongoDB is running on your system or online. include MongoDB database link in .env file.

what is the type of error ? .. give me information about this error

mrkhan-20 commented 1 year ago

Module not found: Error: Can't resolve './ChatProvider' in 'D:\Web Dev\Project\New folder\Social-Networking-Mern\frontend\src\component' ERROR in ./src/component/App.jsx 19:0-42 Module not found: Error: Can't resolve './ChatProvider' in 'D:\Web Dev\Project\New folder\Social-Networking-Mern\frontend\src\component'

ERROR in ./src/component/Join.jsx 40:0-38 Module not found: Error: Can't resolve './Dropsearch' in 'D:\Web Dev\Project\New folder\Social-Networking-Mern\frontend\src\component'

ERROR in ./src/component/NavBar.jsx 8:0-43 Module not found: Error: Can't resolve './ChatProvider' in 'D:\Web Dev\Project\New folder\Social-Networking-Mern\frontend\src\component'

ERROR in ./src/component/NavBar.jsx 40:0-38 Module not found: Error: Can't resolve './Dropsearch' in 'D:\Web Dev\Project\New folder\Social-Networking-Mern\frontend\src\component'

ERROR in [eslint] Plugin "react" was conflicted between "package.json » eslint-config-react-app » D:\Web Dev\Project\New folder\Social-Networking-Mern\frontend\node_modules\eslint-config-react-app\base.js" and "BaseConfig » D:\Web Dev\Project\New folder\Social-Networking-Mern\FrontEnd\node_modules\eslint-config-react-app\base.js".

mrkhan-20 commented 1 year ago

these files are not present in components that are used in App.js

mrkhan-20 commented 1 year ago

Can we connect on meet so that you can help me resolving the error?

mrkhan-20 commented 1 year ago

taha65641@gmail.com this is my mail id pin me please so that we can do meet

ahmed-tahoon commented 1 year ago

i FIX ALL ERROR YOU CAN TRY NOW