# ERROR in visual studio code

**URL:** <https://forum.codewithmosh.com/t/error-in-visual-studio-code/23775>\
**Category:** Next.js\
**Created:** [November 21, 2023, 6:38am UTC](https://forum.codewithmosh.com/t/error-in-visual-studio-code/23775 "2023-11-21T06:38:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rizwan](https://avatars.discourse-cdn.com/v4/letter/r/bcef8e/32.png) [@Rizwan](https://forum.codewithmosh.com/u/Rizwan)\
**Post date:** [November 21, 2023, 6:38am UTC](https://forum.codewithmosh.com/t/error-in-visual-studio-code/23775/1 "2023-11-21T06:38:21Z")

</div>

npm run dev  
npm ERR! Missing script: “dev”  
npm ERR!  
npm ERR! To see a list of scripts, run:  
npm ERR! npm run

npm ERR! A complete log of this run can be found in  
{  
“name”: “issue-handeler”,  
“version”: “0.1.0”,  
“private”: true,  
“scripts”: {  
“dev”: “next dev”,  
“build”: “next build”,  
“start”: “next start”,  
“lint”: “next lint”  
},  
“dependencies”: {  
“@types/node”: “20.8.10”,  
“@types/react”: “18.2.35”,  
“@types/react-dom”: “18.2.14”,  
“autoprefixer”: “10.4.16”,  
“eslint”: “8.53.0”,  
“eslint-config-next”: “14.0.1”,  
“next”: “14.0.1”,  
“postcss”: “8.4.31”,  
“react”: “18.2.0”,  
“react-dom”: “18.2.0”,  
“tailwindcss”: “3.3.5”,  
“typescript”: “5.2.2”  
}  
}  
this is my json filke  
I don’t know why I keep getting this error can anyone please help me with this

---

<div class="post-metadata">

**Author:** ![gulshan212](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/gulshan212/32/6217_2.png) [@gulshan212](https://forum.codewithmosh.com/u/gulshan212)\
**Post date:** [November 21, 2023, 10:35am UTC](https://forum.codewithmosh.com/t/error-in-visual-studio-code/23775/2 "2023-11-21T10:35:00Z")

</div>

Can you add these scripts before your code:

“scripts”: {  
“dev”: “next dev”,  
“build”: “next build”,  
“start”: “next start”,  
“lint”: “next lint”  
},

I hope it will help you.  
Thanks
