First of all, i know we should post complete and reproducible questions. However, i am doing a full stack Redux tutorial (http://teropa.info/blog/2015/09/10/full-stack-redux-tutorial.html), and i close to the end, which means i have a lot of files and logic already implemented. For this reason, I loaded my project to github, which is publicly available (https://github.com/rafaelmarques7/voting_app_tutorial). This way, it is simple to see the project structure and files, and even to clone the project and reproduce the error.
So here is the question when i run npm run dev, i get the following errors:
ERROR in multi main Module not found: Error: Cannot resolve 'file' or 'directory' ./src/index.js in C:\Users\Y\Desktop\sketches\voting_app\client_side
@ multi main
and relating to webpack
ERROR in (webpack)-dev-server Module not found: Error: Cannot resolve module 'sockjs-client' in
C:\Users\Y\Desktop\sketches\voting_app\client_side\node_modules\webpack-dev-server\client
@ (webpack)-dev-server
ERROR in (webpack)-dev-server/client? Module not found: Error: Cannot resolve 'file' or 'directory'
C:\Users\Y\Desktop\sketches\voting_app\client_side\node_modules\url\url.js in
C:\Users\Y\Desktop\sketches\voting_app\client_side\node_modules\webpack-dev-server\client
@ (webpack)-dev-server/client? 1:10-24
I actually tried extensively to solve this error, searching both stackoverflow, and github related issues, but none of the solutions presented was capable of solving my error.
Any suggestion? I really appreciate the help!