1 00:00:00,630 --> 00:00:04,590 In the last section we finished a little bit of boilerplate set up inside of our application. 2 00:00:04,590 --> 00:00:08,940 But when we tried to run it from the command line we saw a little bit of an error message. 3 00:00:08,970 --> 00:00:15,240 So I'm currently inside my server directory and if I run NPM run Dev I will immediately start to see 4 00:00:15,240 --> 00:00:17,300 a little error message. 5 00:00:17,550 --> 00:00:21,010 Error messages being emitted by the client side of our application. 6 00:00:21,240 --> 00:00:23,160 The server is still successfully running. 7 00:00:23,160 --> 00:00:24,930 So the server might look A-OK. 8 00:00:25,030 --> 00:00:26,650 You know this is all the server logs right here. 9 00:00:26,790 --> 00:00:30,060 But you may see an error message around the client. 10 00:00:30,060 --> 00:00:35,100 Now this air that we're seeing is really related to the current release version of NPM. 11 00:00:35,190 --> 00:00:40,800 If you're using the same version as I which is 5.0 0.3 you're probably seeing an error message like 12 00:00:40,800 --> 00:00:41,360 this. 13 00:00:41,460 --> 00:00:45,990 But if you're using a new newer version you might not see an error message at all which is totally fine 14 00:00:46,110 --> 00:00:50,700 if you don't see is there a message just pause this video right now and go to the next one. 15 00:00:50,700 --> 00:00:53,910 Otherwise stick around and we're going to fix this thing up. 16 00:00:54,390 --> 00:00:57,080 So fixing that error message is pretty straightforward. 17 00:00:57,540 --> 00:01:00,720 I'm going to kill the running server. 18 00:01:00,720 --> 00:01:04,080 I'm going to change into the client directory. 19 00:01:04,230 --> 00:01:09,750 I'm going to list out all the files inside of here and then you'll find one file called package dash 20 00:01:09,820 --> 00:01:11,400 Lockart Jaison. 21 00:01:11,820 --> 00:01:13,680 I'm going to delete this file. 22 00:01:13,790 --> 00:01:19,860 And so you can either delete it by using your command line or by changing over to the your code editor 23 00:01:20,190 --> 00:01:25,670 and finding that package that Ashlock excuse me file inside of the client directory. 24 00:01:25,680 --> 00:01:27,450 So here's my client directory. 25 00:01:27,450 --> 00:01:30,060 Here's the package that is on file and side of it. 26 00:01:30,180 --> 00:01:33,590 I'm going to just delete that file like so. 27 00:01:34,440 --> 00:01:37,910 OK so now I'm back in the client directory. 28 00:01:37,920 --> 00:01:40,040 I'm still inside the client directory right now. 29 00:01:40,080 --> 00:01:42,930 I no longer have the package dash lock file. 30 00:01:43,000 --> 00:01:45,150 I'll do an NPM install. 31 00:01:45,150 --> 00:01:46,710 And that's pretty much it. 32 00:01:46,710 --> 00:01:52,530 So the NPM install at this point might take a couple of minutes or two if you see some type of warning 33 00:01:52,530 --> 00:01:55,300 message in here that says something like Oh relax. 34 00:01:55,500 --> 00:01:59,900 Peer dependency or was expecting some other version like blah blah or something like that. 35 00:01:59,970 --> 00:02:00,990 That's totally fine. 36 00:02:00,990 --> 00:02:02,960 You can completely ignore it. 37 00:02:03,060 --> 00:02:09,210 Again that error message that we just saw about cannot find scripts start or whatever 100 percent being 38 00:02:09,210 --> 00:02:11,340 Genner by and then right now. 39 00:02:11,340 --> 00:02:16,200 So at this point we're going to just let this thing run its course we'll continue in the next section. 40 00:02:16,230 --> 00:02:20,940 And we're just going to verify that our servers are still working correctly by attempting to run it 41 00:02:20,940 --> 00:02:21,510 again. 42 00:02:21,510 --> 00:02:25,470 So let's let the MPAA install finish and I'll catch you in the next video.