- Post By OTHMANE BAKHATAR
- 3 years ago
I'm working on React app and I found this error from a file called chokidar.js in lib folder:
./node_modules/watchpack/lib/chokidar.js
SyntaxError: C:\Users\lenovo\cabinet-medicale\node_modules\watchpack\lib\chokidar.js: 'return' outside of function. (4:1)
2 | try {
3 | module.exports = require("chokidar");
> 4 | return;
| ^
5 | } catch(e) {
6 | v3Err = e;
7 | }
Pleas...