NebulousLabs / skynet-workshop

11 stars 10 forks source link

ERROR in Entry module not found: Error: Can't resolve './src' #6

Closed DaWe35 closed 4 years ago

DaWe35 commented 4 years ago

I followed the tutorial step by step, but on Windows 10 I got this error for npx webpack command:

ERROR in Entry module not found: Error: Can't resolve './src' in 'C:\path\to\Intro'

DaWe35 commented 4 years ago

Sorry, this is invalid, I reinstalled evetything and named the src/main.js to src/index.js, and it worked. As a newbie webpack user, it's a bit confusing that I need name my input file as index.js while the output is main.js.