Description
Hi,
I found some strange issue to me:
Failed to compile.
./src/index.js
Module build failed: Error: Cannot find module 'eslint/lib/formatters/stylish'
What I did is just create app by using create-react-app myapp-name
and that worked fine.
After that I had to push the project to repository and erase my mac disk image in order to install fresh copy of macOS image (due to some OS problems). Now I have everything fresh and after cloning repo, running npm i
and then npm start
I get mentioned message.
Moreover I tested it on newly created project and build works - for my app that I work on - does not.
I tried to test some case and steps like following:
create-react-app myapp
cd myapp
rm -rf node_modules/
cd ..
mv myapp otherapp
cd otherapp/
npm i
npm start
are good example to reproduce described issue.
My node version is: 9.3.0
.
Trying it with 4.x
and nothing changed.
Do you have some quick tip how to resolve it ?
Thanks.