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:
at Object. (D:\Projects\Web\New folder\React_tutorial_olx_clone\node_modules\watchpack\lib\chokidar.js:17:7)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (D:\Projects\Web\New folder\React_tutorial_olx_clone\node_modules\watchpack\lib\DirectoryWatcher.js:9:16)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)`
Steps followed:
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:
D:\Projects\Web\New folder\React_tutorial_olx_clone\node_modules\react-scripts\scripts\start.js
at Object. (D:\Projects\Web\New folder\React_tutorial_olx_clone\node_modules\watchpack\lib\chokidar.js:17:7)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (D:\Projects\Web\New folder\React_tutorial_olx_clone\node_modules\watchpack\lib\DirectoryWatcher.js:9:16)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)`