
npm err code enoent react | How to fix npm start not working error in React JS
npm err code enoent react | How to fix npm start not working error in React JS
How to solve npm err code enoent error syscall open no such file or directory , npm start not working in react js is shown
Content
0 -> hey hello everyone in this video i will be showing
you how to solve npm err code enoent and also it
7.28 -> has like no such file or directory so the solution
to this problem is really really simple okay first
12.8 -> just minimize all the expanded folders okay just
minimize it so as you can see here currently
17.84 -> i am having the main parent folder as react
practice okay so it is c reactpro react practice
24.48 -> and i am typing npm start present in this react
practice folder so if i just now type npm start
30.4 -> i'll be again getting this error okay the fact is
that this practice okay this practice is the main
36.4 -> folder within which the node modules public source
and all my dot js files are present for react
42.56 -> project okay so in order to be more clear i'll
just go to the folder structure itself so as you
46.8 -> can see here this is the react practice folder and
inside this react practice i am having my practice
51.44 -> folder within which i am having all the necessary
stuff for my react project so the solution is
56.08 -> really simple just come to here the terminal and
type cd and the folder name within which you have
62.24 -> your react files okay so in my case it is practice
okay under react practice it is practice okay and
69.04 -> just come here and type practice so you need to be
like really really careful with the spelling okay
76.8 -> just hit enter and now i am present in
reactpro react practice in practice and now
81.84 -> if i just type npm start i won't be getting any
error and my project will be starting to run
91.52 -> so as you can see here it's just beginning to run
and even if you get this error after doing this
95.84 -> you need to i guess install node modules okay you
would have to install modules so maybe like you
100.88 -> can just try running npm install and after that
just try npm start and i hope this will probably
106.4 -> work hundred percent okay so that's it for this
video mine is a programming channel I have done
110.08 -> tutorials in c c++ many programming languages so
do check them subscribe me thanks for watching
Source: https://www.youtube.com/watch?v=uH_0nsvh7zs