My react js application was running fine till today, and suddenly a strange error started showing up when try to start my application.
Failed to compile.
./src/index.js
Module not found: Can't resolve 'modules/App' in 'F:\GitRepo\frontend\web\test\packages\employee\src'
followed by another error :
Error from chokidar (E:\): Error: EBUSY: resource busy or locked, lstat 'E:\pagefile.sys'
I went to './src/index.js' and changed the import statement from import App from 'modules/App';
to import App from './modules/App';
the error disappears, only to show up similar error in the next file. In fact this kind of import has been made in multiple files in the project and it was running perfectly. I dont know how suddenly this error is appearing.
Can any one point out what would have gone wrong. Thanks in advance.