Skip to content
Advertisement

NPM Run Watch is Not Working For React Project

Hello Im trying to use NPM Run Watch so I can see localhost:3000 for my React Project but I’m getting a weird error so I don’t even know where to begin.

JavaScript

enter image description here

Not sure if anyone is familiar with this guy but I’m using codingphase starter package and before I did npm run watch I installed gulp I had some errors but I fixed using commands from stack over flow so Im worried maybe I did something to cause this on accident. I hope this makes sense.

Advertisement

Answer

Ok I figured out what was causing the issue. The main folder I put the react project in had spaces in it. For Example I had it called Calendar web app and should have called it calendar-web-app. Yeah i know this was a rookie mistake but figure ill let everyone know in case it happens to anyone else. Thanks to everyone who took the time to help out.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement