Packapeer / React_tutorial_olx_clone

28 stars 93 forks source link

Not able to run the project, Module not found error #3

Open shoaibakthark opened 2 years ago

shoaibakthark commented 2 years ago

Steps followed:

  1. Project cloned
  2. Installed packages "npm install"
  3. Run "npm start"

Page loaded with "can't reach this page localhost refused to connect."

Then I got this error in console,

`D:\Projects\Web\New folder\React_tutorial_olx_clone\node_modules\watchpack\lib\chokidar.js:17 throw new Error( ^

Error: No version of chokidar is available. Tried chokidar@2 and chokidar@3. You could try to manually install any chokidar version. chokidar@3: Error: Cannot find module 'chokidar' Require stack:

jtr-code commented 2 years ago

npm i chokidar

RahulJobit commented 2 years ago

'npm audit fix --force' , Run this command after that 'npm start', the project will be run. I have this same issue. I fixed it this way.