<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Responsive Navbars]]></title><description><![CDATA[Responsive Navbars]]></description><link>https://responsive-navbars.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Sep 2026 08:38:37 GMT</lastBuildDate><atom:link href="https://responsive-navbars.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Why your npm run dev failed to run after restarting vscode]]></title><description><![CDATA[If you have a react vite app or probably any javascript framework or library web app you are working on, you have worked on it for a while and then your system shuts down or maybe you close the visual]]></description><link>https://responsive-navbars.hashnode.dev/why-your-npm-run-dev-failed-to-run-after-restarting-vscode</link><guid isPermaLink="true">https://responsive-navbars.hashnode.dev/why-your-npm-run-dev-failed-to-run-after-restarting-vscode</guid><dc:creator><![CDATA[Josephine Jerome]]></dc:creator><pubDate>Sun, 30 Aug 2026 00:08:26 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/67fa5d68474c5d186f343ac5/3016d9d4-d7ac-450f-b566-73945594a71b.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>If you have a react vite app or probably any javascript framework or library web app you are working on, you have worked on it for a while and then your system shuts down or maybe you close the visual studio code tab you are working on, when you come back two things happens</p>
<p>Your code runs normally but your local host is down</p>
<img src="https://cdn.hashnode.com/uploads/covers/67fa5d68474c5d186f343ac5/9fcfc13a-d8bf-4b93-b3f9-498263967a3f.png" alt="" style="display:block;margin:0 auto" />

<p>The most normal thing to do is to open your terminal and run npm run dev to bring up local host again</p>
<p>npm run dev is a command line that brings out your very own local host on your desktop to locally run your code and get a live preview; it helps with when you are working and don't want to push your code for deployment just yet</p>
<p>and all of a sudden npm run dev throws an error</p>
<p>Not to panic because there's usually one solution to problems like this</p>
<p>you are most likely on the wrong command line</p>
<p>it is important to type in cd then the exact name</p>
<p>of your folder the vite app is inside</p>
<p>and then press on the enter key</p>
<p>if it's successful it runs a run circle just there and a message like this pops up</p>
<img src="https://cdn.hashnode.com/uploads/covers/67fa5d68474c5d186f343ac5/83e029ea-d691-4fe0-b9d4-6feab7c8fb3c.png" alt="" style="display:block;margin:0 auto" />

<p>5173 is the local host for vite react apps if you have more than one tabs for maybe different projects you get hit with 5174, 5175</p>
<p>If you have made it this far, happy coding and I hope you have learnt a thing or two about terminal command lines and javascript frameworks local hosting</p>
]]></content:encoded></item></channel></rss>