0:00
uh hello guys uh welcome to this video
0:02
so in this video I will show you how to
0:04
fix this uh error message uh which comes
0:07
while you run your NodeJS applications
0:09
cannot find module so in my case you can
0:13
see I'm developing this express
0:15
application and I'm trying to run this
0:17
application without installing this
0:19
module so as soon as I do this you will
0:22
see node index.js if I type this you
0:26
will see I will get this error module
0:28
not found because we haven't installed
0:30
this module and we are actually want to
0:32
use it so what you need to do right here
0:35
to actually rectify this error simply
0:39
npm express so it will actually install
0:44
module and then you can easily run your
0:46
application so just wait for the command
0:48
to finish and then it will create this
0:51
node modules folder and after that just
0:57
index.js and now if you see your
1:00
application will be running smoothly app
1:02
is running on port 5000 so in this way
1:05
guys you can actually fix this error
1:07
message and in the future let's suppose
1:10
you use any kind of other third party
1:12
module let's suppose I use a module
1:17
malar and if I do this once again run
1:21
this you will see once again this error
1:24
so when you try to import any sort of
1:27
third party module inside your NodeJS
1:30
application you need to first of all
1:31
install it to actually prevent this
1:34
error from occurring so every time
1:36
whenever you are using a third party
1:38
package simply install this and then run
1:41
your application and then in the future
1:44
that error will not come you will see we
1:46
have easily rectified this error by
1:50
modules so in this way you can do this
1:53
please hit that like button subscribe
1:55
the channel also comment if your problem
1:58
has been solved also check out my
2:00
website freemediattools.com which
2:02
contains thousands of tools