StephenGrider / ReduxSimpleStarter

Starter pack for an awesome Udemy course
MIT License
3.56k stars 4.63k forks source link

npm start is not working #190

Open ladygarnet00 opened 6 years ago

ladygarnet00 commented 6 years ago

npm ERR! Darwin 17.2.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" npm ERR! node v6.11.2 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! redux-simple-starter@1.0.0 start: node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the redux-simple-starter@1.0.0 start script 'node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the redux-simple-starter package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs redux-simple-starter npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls redux-simple-starter npm ERR! There is likely additional logging output above.

Hi! im Udemy Student (btw thanks for the course, its been great), and i need install your react boilerplate. Plzz update the dependencies. Thanks for all !

maniinus commented 6 years ago

follow this incase your PORT is in use and you get this error Error: listen EADDRINUSE 127.0.0.1:8080 at Object.exports._errnoException (util.js:856:11) at exports._exceptionWithHostPort (util.js:879:20) at Server._listen2 (net.js:1236:14) at listen (net.js:1272:10) at net.js:1381:9 at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:63:16) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:82:10)

https://github.com/StephenGrider/ReduxSimpleStarter/issues/23

Benikens commented 6 years ago

I have the same issue as you and it seems a couple other posters here to, has anyone found a way to get this to work?

alarez commented 6 years ago

Here is a possible solution to that https://github.com/StephenGrider/ReduxSimpleStarter/issues/168

Benikens commented 6 years ago

I tried changing the port number I'm still having the same problem

Benikens commented 6 years ago

Hey if anyone is stuck on this Stephen sorted me out. What was happening was apparently node wasn't installed right, so he got me to download it from here https://nodejs.org/en/download/ when I extracted it and tried to run not from the files it prompted me to: sudo apt-get install nodejs-legacy after which I could start my the project fine.

Teskin commented 6 years ago

Benikens, what does it even mean?

Do you have a Mac and you installed it through command line? And what about Windows' owners?

Please, add some clarifications.

Thank you.

Benikens commented 6 years ago

I use Ubuntu. I installed from command line originally then downloaded the install-able files for node.js manually from that link. I tried to install from those files and it prompted me to type the above command in cli, which is install nodejs-legacy and then after that it worked right. Does that make sense?

FajneFarita commented 6 years ago

i have this particular error:

ERROR in ./src/index.js Module not found: Error: Cannot resolve 'file' or 'directory' ./components/search_bar in /mnt/c/Users/Fajne/Desktop/ReduxSimpleStarter-master/src @ ./src/index.js 11:18-52

Node .js seem to be ok - the latest version installed, and the installation suggested by Benikens just haven't started.

What's the problem with the directories? Before I updated my index.js with components, npm start worked just fine.

vinay72 commented 6 years ago

You must try installing the latest version of npm and node.js installed in your terminal.